-
July 16th, 2002, 11:57 PM
#1
Junior Member
help
I am using visual c++, and I wanted to know how I could make prog.'s for linux.
Thanx for the help in advance.
-
July 17th, 2002, 12:04 AM
#2
You can write it, of course, and just compile the source in Linux. You understand how C++ works, right, and what source is and whatnot?
-
July 17th, 2002, 12:05 AM
#3
Junior Member
Humm, visual C++ and Linux ?
I think you mean "C" not Visual C++, the visual program languages are for windowz.
-
July 17th, 2002, 12:11 AM
#4
As Jehnx said, you can write and test your program within the Visual C++ environment, but you'll have to compile it in Linux to make sure it works. Also, make sure that you don't use proprietary Win32 applications. There are compiler-specific commands for C++ (especially within the MS Visual world), and if you use any of those, you will get errors within Linux. For compiling in any *nix environment, I have had the best results using g++. It seems to be more compatible with Visual C++ than other compilers I've tested.
AJ
-
July 18th, 2002, 04:03 AM
#5
Junior Member
Could you give me a good compiler in linux? I would appreciate it, thank you.
\"Cant sleep..... clown\'ll eat me..... cant sleep...... clown\'ll eat me.\"
-
July 18th, 2002, 04:17 AM
#6
gcc is the norm, and I would recommend it. Most (if not all) distros have it, and if you want, you can try KDevelop IDE which looks something to what you are used to.
KDevelop Home: http://www.kdevelop.org/
gcc Home: http://gcc.gnu.org/
Hope this helps
-
July 18th, 2002, 04:28 AM
#7
-
July 18th, 2002, 04:29 AM
#8
Junior Member
Thank you sooo much I am a newbie but still learning. I hope that I haven't annoyed you too
much.
Thank you all
\"Cant sleep..... clown\'ll eat me..... cant sleep...... clown\'ll eat me.\"
-
July 18th, 2002, 04:43 AM
#9
You are very welcome. Good luck.
-
July 18th, 2002, 04:59 AM
#10
Member
You can copy the most of same code (of course without Win functions) but you have to create a new GUI on Linux. With Glide3 or something like that. You must use QT or GTK+ API.
I think so .
Give man a fish and he will ask for more.
Teach man to fish and he will never ask again.
\"Chinese proverb\"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|