Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-18-2004, 06:34 AM   #1
Registered: Apr 2004
Location: Newcastle, UK
Distribution: Slackware 10.2
Posts: 134

Rep: Reputation: 15
start programing


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?

Old 07-18-2004, 10:58 AM   #2
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: (for working with kdevelop) (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, 11:31 AM   #3
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51

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


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

All times are GMT -5. The time now is 04:38 AM.

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