Computer Science Canada

Still VC++6.0

Author:  apomb [ Thu Sep 08, 2005 1:56 pm ]
Post subject:  Still VC++6.0

wtd ... you are going to hate this, but at college, we use M$VC++ 6.0 Sad
and well, im happy because thats what i learned in highschool. Any advice on how to stay current while still learning in this course?

Author:  wtd [ Thu Sep 08, 2005 2:01 pm ]
Post subject: 

Use GCC at home.

There is no way to write standards-compliant C++ with VC++ 6.0. Or rather, since I don't know everything, there might be... but it would be more trouble than it's worth, and the hacks might well not be implemented on your instructors' computers anyway.

If you write code that compiles fine with GCC, but not with VC++ 6.0, point this out to your instructors and instruct them to research the myriad problems with their compiler of choice.

Author:  apomb [ Thu Sep 08, 2005 4:06 pm ]
Post subject: 

but how am i supposed to write GCC code if im learning VC++ at school? ... i know that standards compliant code, as you have said isnt possible on M$VC++ ... so how do i go about writing GCC code and testing it?

Author:  wtd [ Thu Sep 08, 2005 4:28 pm ]
Post subject: 

You write code, compile it, then run it. Smile

For the most part, unless you deal with the Win32 API, the code will be the same. VC+ 6.0's problems deal mostly with its implementation of the STL.

Author:  [Gandalf] [ Thu Sep 08, 2005 4:56 pm ]
Post subject: 

So, just make your Win32 API progs using VB6, and the rest try and keep with what will work on other compilers.


: