Microsoft Visual C++ Question

From Visual Basic to GNU C, this is the place to talk programming.

Moderators: SecretSquirrel, just brew it!

Microsoft Visual C++ Question

Postposted on Tue Jan 21, 2003 4: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.
Coldfirex
Graphmaster Gerbil
 
Posts: 1109
Joined: Wed Dec 26, 2001 6:00 pm
Location: College Station, TX

Postposted on Wed Jan 22, 2003 12: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.
Veritas
Gerbil First Class
 
Posts: 113
Joined: Wed Dec 26, 2001 6:00 pm
Location: Houston, TX

Postposted on Thu Jan 23, 2003 8: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
morphine
Gerbil Khan
Silver subscriber
 
 
Posts: 9860
Joined: Fri Dec 27, 2002 7:51 pm
Location: Portugal (that's next to Spain)


Return to Developer's Den

Who is online

Users browsing this forum: No registered users and 3 guests