Results 1 to 9 of 9
I am teaching myself C++ and right now I am using Visual Studio. I know VB .net and would like to expand my programming knowledge. I have 2 computers one ...
- 09-22-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
Cross platform C++ IDE
I am teaching myself C++ and right now I am using Visual Studio. I know VB.net and would like to expand my programming knowledge. I have 2 computers one is vista and the runs ubuntu 9.04. I have tried eclipse, monodevelopment, anjuti(something like that.) and codeblocks and i don't like them i couldn't figure out how to get a prgrom to run in a few and for eclipse i liked it but when i used the cin command there was no place to input anything. Can anyone recommend me a good one htat is very easy to use and runs on vista nd linux.
If i write it in linux will it run in vista and vice versa? If not is there anyway i can make it to do that?
- 09-22-2009 #2
Myself I always used GEdit or BlueFish. I think both are available for windows...and yes they are easy to use..
Make mine Arch Linux
- 09-22-2009 #3
- 09-23-2009 #4Just Joined!
- Join Date
- Sep 2009
- Posts
- 23
How do i know what is standard C++ and what isn't? Sorry I am new to C++ and its slow going lol.
- 09-23-2009 #5
- 09-23-2009 #6
I gather since you're used to VStudio you want more than just a text editor. There are quite a few, some available for Windows too.
Code::Blocks
Eclipse for C++
Anjuta
And for just Windows, a good standards-compliant C++ IDE is Bloodshed Dev.Registered Linux user #270181
TechieMoe's Tech Rants
- 09-24-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Eclipse does run on both Windows and Linux (and just about every other OS out there), so if you are comfortable with it, go with it. Myself, I prefer to use a good programmer's editor (nedit in my case) and make. I find that most IDE's just get in my way, with the possible exception of source-level debugging when I absolutely need it. FWIW, I have been programming in C and C++ for over 25 years on many different operating systems, including WIndows (since DOS 1.0), Unix (many, many variants), QNX (real-time posix OS), and Linux. The code I have developed ranges from real-time device drivers to enterprise manufacturing execution systems. All the mainstream applications I have developed have been multi-platform (Unix and Windows).
Anyway, to write code that runs on Linux and Windows both, you need to use primarily the POSIX api's since they are supported on both systems. Windows-specific code doesn't port well to the Linux environment, though most Linux code will compile on Windows if you include the correct headers. In some cases, you might need to include some #ifdef...#endif blocks to conditionally include the right ones. Also remember that Windows will handle Unix/Linux style path separators (forward slashes), but Linux doesn't handle Windows style ones (back slashes) because a backslash in a string on Linux is an escape character. IE, a "\n" will result in the compiler inserting a newline and not the literal "\n". This is true for #include directives as well, and the cause of much gnashing of teeth when porting code from Windows to Linux/Unix.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-24-2009 #8
I just looked up nedit...its pretty harsh...give me GEdit
Make mine Arch Linux
- 09-24-2009 #9Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
QT Framework (+ any-IDE-you-want) is a very nice option for crossplatform develpment (in my opinion, the most powerfull). There are GUI designers for all platforms and a good set of tools for deployment.
EOF


Reply With Quote
