Jump to content
xisto Community
Sign in to follow this  
jjhou

A Question About C++ Programming Under Linux

Recommended Posts

Hello guys!i prepare to develop under linux using c++, but i don't know what tools i should use...some one tell me to use vim, but i think vim is so hard to use!can u recommend me some ide???thank u very much

Share this post


Link to post
Share on other sites

HI,Some tools for programming under linux:-> compile: gcc or g++->debug: gdb (i use debug using gdb but inside emacs, it is really easy to use)-> editors: vim, emacs, kateSome words about editors. In the emacs vs vim war i am vim partizan. However emacs is really powerfull editor. If you find both too complicated maybe you should try the graphical version (Gvim or xemacs). Kate comes with kde and it is more intuitive and easier for newbies. It is quite ok too. Good luck!

Share this post


Link to post
Share on other sites

Hello guys!

i prepare to develop under linux using c++, but i don't know what tools i should use...some one tell me to use vim, but i think vim is so hard to use!can u recommend me some ide???

thank u very much

<{POST_SNAPBACK}>


Try linus GUI itself... see under start->programming... u will find something there provided u chose those options while installing... else check your rpm CD's

Share this post


Link to post
Share on other sites

HI,

Sergio del Amo

Web site: http://forums.xisto.com/no_longer_exists/

email address: canredondo at hotmail dot net

 

"This mail is a natural product. The slight variations

in spelling and grammar enhance its individual character

and beauty and in no way are to be considered flaws or

defects"

 

<{POST_SNAPBACK}>


Hey, your warning must apply to your photo as well .. right out of a horror flick :-P

Share this post


Link to post
Share on other sites

Are you using X windows.If you are then Nedit is a small + fast editor.It has some good syntax highlighting for C, matches up bracket/braces and uses sensible keyboard shortcuts.If you're at a console then it's gonna be emacs, vim or pico.

Share this post


Link to post
Share on other sites

I seriously think you guys provided plenty of extra information
without the other basics.

Yes, gcc is the standard compiler for C/C++ on linux.
G++ is the actual C++ compiler.

Use make for your large projects and the simple text editors
for creating your .cpp's -basically nano with Gentoo Linux

This site should help you for gcc syntax:
http://forums.xisto.com/no_longer_exists/
-that's information to do it old skool ~by the console.

That's where I learned it to be honest :)

...and if you get sick of gcc [how?] you can always
declare mutiny and use the Intel Non-Commercial Linux Compiler
-and you can take your rebel self to http://www.thefreecountry.com/ to
get a copy of that.

Hope that helps.

Share this post


Link to post
Share on other sites

Nesting Of C++ Programs ?!

A Question About C++ Programming Under Linux

 

Hi all...

Is it possible to run a C++ Program within another Program... I know this sounds silly but I have a purpose for asking this question. My doubt is especially for Linux .. See I have developed a simple server and client (C programs) which are executed in the terminal by typing ./server port number in 1 comp , followed by ./client host_add port number in another.Now I wanna use this as a sub routine in my program where two computers communicate a string between each other and proceed with next step only if strings are the same .. So how can I integrate the passing of the strings (thru client chat) with the whole program ??

Are you getting my question??

Is it possible?

Thnx

 

-question by Addy

Share this post


Link to post
Share on other sites

I use gedit (in KDM it will be kwrite) to write the codes and save it as .cppI then open up terminal, CD to the .cpp folder and type gcc <filename>.cpp and ./a.out to see the result. If you want to use an IDE programming software that provide good GUI then i recommend kdevelop, anjuta or lazarus.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.