Results 1 to 8 of 8

Thread: Wanna write C++ in VS.NET

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235

    Wanna write C++ in VS.NET

    I admit it.

    I love C#, and am about to get VS.net, but I also want to be able to write plain c++. Not managed c++, just plain-ole, no .NET C++. Is it possible with VS.NET, or should I have VS 6 for this?

    Thanks,
    Carole

  2. #2
    Zaei
    Guest
    MS would be shot if they removed standard C++ from VS.NET =). In fact, the compiler is much closer to the standard then VC6, so I hear.

    Z.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    Originally posted by Zaei
    MS would be shot if they removed standard C++ from VS.NET =).
    Yeah, that's true... but then, MS has been accused of doing such things as well.

    Thanks for the info.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Zaei
    MS would be shot if they removed standard C++ from VS.NET =). In fact, the compiler is much closer to the standard then VC6, so I hear.

    Z.
    It is

    Wonderfully, I wrote up a load of code with GCC 3.0.1 under Linux, then transferred it to VC7 and there were only two problems:

    1. I'd used strcasecmp which is only on POSIX (equivalent of stricmp).

    2. I'd missed some iterators where I should have had const_iterators (VC7 picked up on them where GCC didn't )
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2002
    Posts
    235
    Hey wow! MS got something right!! Did they even get something "righter" than gnu???

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Just that one they did

    Although GCC whomps it for all sorts of template trickery which only a mother (or Kedaman) could love
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    parksie, have you got the thing to link and work in windows?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    No

    I tried getting it working under Cygwin but it was having trouble installing. It compiled ok, and I could actually run the compiler on something, but it was completely lost for all its paths, and went extremely strange
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width