Results 1 to 10 of 10
I'm a newbie to linux. I've been using it for 4 months but wasn't using it for programming. I used to use Windows for programming in C++ and PHP. I'm ...
- 03-21-2007 #1Just Joined!
- Join Date
- Dec 2006
- Location
- India
- Posts
- 10
How To Start Programming In Linux ?
I'm a newbie to linux. I've been using it for 4 months but wasn't using it for programming. I used to use Windows for programming in C++ and PHP. I'm moving completely to linux.
So, how can start programming in Linux ? I want to program in C++ and need to install server and PHP in linux. I'm using Ubuntu 6.10. So, can any expert tell me the easiest way to go about these things ?
P.S :- And, when programming in C++ in linux, are th header files different ? I mean, I use iostream and all.
- 03-21-2007 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
If you use the search menu for Start Programming, you will get more than 200 hits ... cheers, drlWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 03-21-2007 #3Just Joined!
- Join Date
- Dec 2006
- Location
- India
- Posts
- 10
Oh. Thanks for the "useful" reply, drl. >_<
- 03-21-2007 #4I'm not sure I understand what you're saying. If you know C++, you already know how to "start" programming in Linux. As long as the code you wrote in MS Windows was ANSI standard, you shouldn't have to change anything in the way you code.So, how can start programming in Linux ? I want to program in C++ and need to install server and PHP in linux. I'm using Ubuntu 6.10. So, can any expert tell me the easiest way to go about these things ?
Are you asking what types of code editors are available? What kind of GUI toolkits? Be more specific.
If you want to install a Linux server with PHP, I recommend you start a separate thread in the "Servers" section of the forum.
No. You use the same <iostream> headers and all that. The only likely difference is that if you were using any Microsoft-specific headers (things that dealt with COM or MS-DOS calls for instance) they will not exist in Linux.P.S :- And, when programming in C++ in linux, are th header files different ? I mean, I use iostream and all.
I don't appreciate your attitude. We here at LinuxForums are all volunteers, and we help hundreds of people every day. It's a given that a lot of those people will have the same questions, so why should we not direct you to several other threads of people in the same spot as you? If you're not willing to search around on your own you won't get very far as a programmer.
Originally Posted by astrojith Registered Linux user #270181
TechieMoe's Tech Rants
- 03-22-2007 #5
If you are looking for C++ with GUI there is QT Designer.
Originally Posted by astrojith - Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 03-22-2007 #6
I agree...
Originally Posted by techieMoe - Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 03-27-2007 #7Just Joined!
- Join Date
- Dec 2006
- Location
- India
- Posts
- 10
Well, guys, I feel guilty. I mean, I know I shouldn't have said that. And, I never do in forums. But, you know, what can I say, my funny bone was activated ? Anyway, I didn't mean to disrespect you guys. I was just being silly. Please forgive me.
And, about the question. Yeah, techieMoe, I was looking for a GUI to do programming like Bloodshed Dev C++ and all. And, I think Lakshmipati has some answers for that. Kudos, Lakshmi. And, I found one problem with programming in linux. I mean, in Windows, every compiled program runs in a DOS prompt. So, how would it run in linux ?
And, sorry for delaying the reply so long. I was out for sometime. Having some nice time with my cousins during the holidays. The only thing I did was blog and I kept away from forums. Sorry for everything.
- 03-27-2007 #8
at times we all do some silly stuff
Originally Posted by astrojith
....No problem...
in linux choose 'Terminal' - that's ur DOS prompt in linux.- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 03-27-2007 #9Just Joined!
- Join Date
- Dec 2006
- Location
- India
- Posts
- 10
Thanks, Lakshmipathi !! Thank you for forgiving me. It means a lot to me. And, so I'm looking for an IDE like Turbo C. Not one like Visual Basic.
- 03-27-2007 #10
You should realize that in Linux, the terminal is an extraordinarily powerful part of the OS. Command-line applications are still very alive and well in this world. Unlike DOS. So I recommend you familiarize yourself with the terminal even for other reasons than testing your apps.
As far as your questions:
Apache and PHP are both available for Linux. Install, and you have a running web server. There's probably a page on the Ubuntu wiki for these.
As far as GUI IDEs for C/++ development, there are a few options. KDevelop is a popular one for KDE, and Anjuta is popular for Gnome. There's also a plugin for Eclipse called CDT that allows such development in Eclipse.
Also, going back to the terminal thing, have you looked into maybe using vi or Emacs? I've personally never found a C/++ IDE that works as well for me as vi does.DISTRO=Arch
Registered Linux User #388732


Reply With Quote