LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-18-2004, 07:34 AM   #1
munkie_poo
Member
 
Registered: Apr 2004
Location: Newcastle, UK
Distribution: Slackware 10.2
Posts: 134

Rep: Reputation: 15
start programing


Hi,

I while back I went on a course learning c++, Ive probably forgot most of it now.

The place I studied at used Borland turbo (I think) the lovely blue dos environment..urghh
I learn pretty much the basics and wrote programs that ran under dos, no win GUI's or anything.

Is it much different programming in linux? and could anyone point me in the direction of good sites to vist, to again fill the old grey matter full of pains.

I unsterstand the syntax will be pretty much exact, but are the functions and whathaveyou the same?

thanks
 
Old 07-18-2004, 11:58 AM   #2
Error1312
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Rep: Reputation: 15
Linux programming is not that different. Instead of running your programs in a DOS window, it would run in a terminal (looks the same as DOS, but is much more powerful). If you want a nice looking programming environment for C and C++ you should install KDevelop (mostly standard installed). The syntax is, like you said, not that different for most (simple) programs. The famous 'Hello world' example ran very smooth for me without changing the code.

Here are some good sites: www.kdevelop.org (for working with kdevelop)
www.techtutorials.info/liprog.html (The linux programmers guide)

The C or C++ code from most tutorial sites should probably work quite smooth on Linux without having to change to much. And I think KDevelop has some programming tutorials build in too.

Good luck and a lot of fun while programming.
 
Old 07-18-2004, 12:31 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
http://www.delorie.com/gnu/docs/glibc/libc_toc.html

for info on glibc (the standard c lib in most linux distros, has support for most popular UNIX specifications

don't forget the other libs, ncurses for all your text based GUI needs (unless you want something a bit more powerful, then use glibc's termios.h and learn up on file descriptors (as thats how you talk to the terminal)

theres just soo many libs, better search around for one if you plan to do a complicated project (that way you can let the lib do the more complicated stuff, like speech recognition
 
  


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
Programing Forum bertlef LQ Suggestions & Feedback 2 01-07-2005 02:11 PM
flash programing hellbound201 Linux - Software 2 11-22-2004 08:16 PM
Script programing agallant Programming 6 12-01-2003 11:12 PM
C++ GUI programing calble Programming 6 10-10-2003 01:25 PM
Kernal Programing FBD Programming 3 02-02-2002 01:40 AM


All times are GMT -5. The time now is 07:59 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