Personal computing discussed

Moderators: SecretSquirrel, just brew it!

 
Coldfirex
Graphmaster Gerbil
Topic Author
Posts: 1116
Joined: Wed Dec 26, 2001 7:00 pm
Location: College Station, TX
Contact:

Microsoft Visual C++ Question

Tue Jan 21, 2003 5:11 pm

How difficult, or easy, is it to go from MS VC++ 6/.NET to another platform like Kdevelop or GCC if I wanted to program on different operating systems?
Thanks
Your bargaining posture is highly dubious.
 
Veritas
Gerbil First Class
Posts: 113
Joined: Wed Dec 26, 2001 7:00 pm
Location: Houston, TX
Contact:

Wed Jan 22, 2003 1:36 am

It depends on the programs you write. Are you going to write console programs or windowed programs? If the former then it is pretty easy. With the latter you need to take steps to make a clear line between your Windows/X-Windows interface and the back end code that does all the processing.

I generally find that little or no changes were needed for console based programs I wrote for my college classes. But in the real world I now write Windows VC++ programs that I know would be a pain in the butt to port to Linux or any other OS.

There are a few exceptions. With glut (An OpenGL toolkit) I could write fully interactive OpenGL app that would compile on any platform with glut libraries. I know for a fact that my TA for CPSC 441 at Texas A&M (which is where I assume you are going considering your location) graded our assignments on linux and I wrote them using VC++ .NET.
 
morphine
Silver subscriber
Gerbilus Supremus
Posts: 11154
Joined: Fri Dec 27, 2002 8:51 pm
Location: Portugal (that's next to Spain)

Thu Jan 23, 2003 9:26 pm

To make a long answer short:

If your code doesn't use anything OS-specific (MFC and stuff like that) and is mostly ANSI-C/C++ standards compatible, then your switch won't be very painful. Otherwise, it'll be a helluva trouble

Who is online

Users browsing this forum: No registered users and 1 guest