LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2003, 11:25 PM   #1
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
shell programming,c/cpp in linux


hi,
i am a newbie to linux programming..i have just been introduced to shell programming....i wanna ask u people...
is shell program an object oriented one or a procedural oriented one?
to what extent can we write the shell program...i mean,can we write games and all with quite a good graphics display using shell scripts??
please mention some good sites that can halp me in this regard....
and my doubt abt c/cpp in linux is...
gcc and g++ are ansi c compilers...so will all the keywords and headerfiles
present in tc and borland c will be present in c/cpp in linux??
if that is true,then i tried to do programmin in gvim editor,but on compilation,i got the error message that conio.h and graphics.h are not defined....
what about IDE s....i think c/cpp programming using ides like kdevelop and gtk are different from tc/borland c/cpp ......
and last but not the least,what is posix and kylix?

kindly explain my doubts.....and do specify some usefull websites were i can find more on these.....
arun
 
Old 05-16-2003, 05:22 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Shell scripts are procedural, and very limited. They can be useful sometimes however.

For real programming, you want gcc. You should learn standard C, it is not hard. There are plenty of tutorials around on the net. For games, look at SDL (google for it).

You may prefer a higher level language like Python or C# however. There isn't as much reason to use C/C++ these days as there used to be.
 
Old 05-16-2003, 05:34 AM   #3
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Kylix is Borland's Delphi ported to Linux. It allows code you write in Linux to be very easy to port to windows and vice versa. Its a Rapid Application Development suite and therefore has the form generation bits there (drag and drop componants) as well as the language and the IDE.

In the latest versions it also has a c++ version tagged on as well which allows the same style development but with the c++ language instead of delphi. One thing to note about the c++ version is that the documentation is no way as good as the delphi documentation. But there are a number of sites on the net so.

Try looking on about.com for loads of programming help sites.

Posix is entirely different thing. Look here http://www.everything2.com/index.pl?node_id=36633 for some good explanations.

HTH

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux shell programming structure s.santhoshkumar Programming 4 04-05-2005 10:38 PM
accessing shell utils from Cpp irfanhab Programming 2 04-24-2004 01:17 PM
books of linux shell programming 286 Linux - Newbie 2 11-11-2003 11:13 AM
Linux Shell programming question ducka Programming 4 09-01-2003 10:24 AM
need a shell program cpp file GoboFraggle Programming 1 04-02-2003 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration