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 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?
Your bargaining posture is highly dubious.
Graphmaster Gerbil
Posts: 1116
Joined: Wed Dec 26, 2001 7:00 pm
Location: College Station, TX

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

Postposted on 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
Gerbilus Supremus
Silver subscriber
Posts: 11022
Joined: Fri Dec 27, 2002 8:51 pm
Location: Portugal (that's next to Spain)

Return to Developer's Den

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests