different versions of c?

This is a discussion on different versions of c? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; update: found the culprit. VC2005 sets the compiler to use unicode by default. Turn that to "not set" in the ...

  1. #16
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    update: found the culprit. VC2005 sets the compiler to use unicode by default. Turn that to "not set" in the compiler options and it will use regular 8 bit characters (as are used pretty much in every book and piece of code I've ever seen).

  2. #17

    Join Date
    May 2005
    Posts
    1,041
    But if you ever intend to write programs for Windows, then you're in for an eye-opener.
    I've actually done quite a lot with pure win32 API and MFC on this compiler, works great...


    EDIT:
    to be fair, you have piqued my interest, I'm reading around (this one is just why you should upgrade from visual studio 6 to .NET 2003, which is already old, plus I'm downloading Visual C++ 2005 express)

    http://msdn.microsoft.com/visualc/pr...ten/upgrade60/
    Last edited by BobMcGee123; 03-04-2006 at 10:28 AM.
    I'm not immature, I'm refined in the opposite direction.

  3. #18
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Quote Originally Posted by BobMcGee123
    I've actually done quite a lot with pure win32 API and MFC on this compiler, works great...
    Sarcasm lost. It was more in reference to the possibility of 'sticking to' Turbo C. See, with that you can't write for Win32 because it didn't exist back then.
    Quote Originally Posted by BobMcGee123
    to be fair, you have piqued my interest, I'm reading around (this one is just why you should upgrade from visual studio 6 to .NET 2003, which is already old, plus I'm downloading Visual C++ 2005 express)
    When you get the more standards-compliant version(s) installed, see if any of your programs break. V6 will let you learn to do things the wrong way and be happy about it.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  4. #19

    Join Date
    May 2005
    Posts
    1,041
    Sarcasm lost. It was more in reference to the possibility of 'sticking to' Turbo C. See, with that you can't write for Win32 because it didn't exist back then.
    I thought we were talking about visual C++ 6


    When you get the more standards-compliant version(s) installed, see if any of your programs break. V6 will let you learn to do things the wrong way and be happy about it.
    Porting (game code) from visual studio 6.0 to .net 2003 worked fine, I had to perform only very few manual changes, otherwise the process was automatic. Any move to express 2005 has been catastrophic, but I guess I can't really expect more from something that was a free download.

    Ultimately, it seems the biggest reason for switching over is 'compliance' with "real" language specifications. As you said, V6 let me do things the 'wrong' way, but it's only the 'wrong' way if I actually ever need to do things the 'right' way (i.e, if I was a professional). Those STL problems you outlined were the things I was most concerned with, and sooner or later the newest versions will be eventually be found to be wrought with problems anyway. Right now I'm just programming a simple computer game.
    Last edited by BobMcGee123; 03-04-2006 at 12:27 PM.
    I'm not immature, I'm refined in the opposite direction.

  5. #20
    Cat Lover
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    109
    And I see that the game your making will be open source, so what happens when people with their standards compliant compilers want to compile your program themselves?
    Last edited by Dweia; 03-05-2006 at 03:18 AM.

  6. #21

    Join Date
    May 2005
    Posts
    1,041
    I mean this as nicely as possible, but what does that matter to me? Why should I care if somebody else wants to compile my code? I already said I'm not in a professional development position...the answer is that it doesn't matter if you can't compile it

    It's open source as in people will be able to see that I actually wrote it...it wont' be like firefox where I'd invite people to try to improve upon it by writing new build versions.
    Last edited by BobMcGee123; 03-05-2006 at 10:39 AM.
    I'm not immature, I'm refined in the opposite direction.

  7. #22
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,855
    >>Visual C++ 6 and TurboC are also museum pieces.

    Hey! I'm using MSVC v6 at the moment to write online share trading software for one of Australia's largest online share trading company.

    Just because we turn-over more than Au$100 million per year is no reason for the company to buy an IDE made this century...

    As I only contract for apps targetting MS OS'es, I use MSVC 2003 at home.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  8. #23
    chococoder
    Join Date
    Nov 2004
    Posts
    515
    Museum pieces can still work...
    But I'd not recommend any new project to make itself dependent on them.

    Of course at some point you're going to face the problem of not being able to find people who've ever used that museum piece and there being no more education available to train people to use it (if you can find anyone willing and capable).

  9. #24

    Join Date
    May 2005
    Posts
    1,041
    You know, there's still something good to be said about people that have experience with older arcane software/hardware etc. It's not like getting up to date is particularly difficult either, especially when most of us posting are already proficient with at least one language.
    I'm not immature, I'm refined in the opposite direction.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Run time differences in Linux gcc versions
    By circuitbreaker in forum C++ Programming
    Replies: 7
    Last Post: 02-14-2008, 10:09 PM
  2. two different gcc versions found?
    By musikluvah in forum C Programming
    Replies: 2
    Last Post: 01-30-2006, 04:53 AM
  3. MSVC++ Versions
    By Vicious in forum C++ Programming
    Replies: 19
    Last Post: 09-17-2004, 07:56 AM
  4. Replies: 3
    Last Post: 05-07-2003, 05:16 PM
  5. Different Library Versions Help
    By jdkimble in forum C++ Programming
    Replies: 1
    Last Post: 06-28-2002, 07:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21