CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    235

    how is visual studio .net different from c++

    At school theres a contest tomorow. The school has upgraded there software and the C++ compiler I'm used to is gone, instead there is visual studio .net. I have a contest to write tomorow, its eather this or turing.

    I want to use visual studio .net because turing has bugs in it with File I/O (They upgraded that too but I didn't have a chance to read bug fixes). Using visual studio .net I want to write code in c++ syntax, basicly I need to know how to do this

    file I/O
    functions
    classes
    structs
    unions

    How different is this than what I know of C++ (Turbo C++ compiler). e.g. is fopen, fread etc... the same. What differences should I consider? I heard people converting code from c++ to .net thats why I'm worried.

    Thank you!
    01101000011001010110110001101100011011110010000001110011011001010111100001111001

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: how is visual studio .net different from c++

    How different is this than what I know of C++ (Turbo C++ compiler).
    A lot, lot, lot different. The Turbo C++ compiler is a very old one, not compliant to the C++ standard. The .NET 2003 and .NET 2005 C++ compilers are both (almost entirely) compliant.

    My recommendation for you is not to use it for the first time during a contest. Though you can still write code with fopen and fread, and of course the C++ syntax is the same, the unfamiliarity with the development environment will get you into trouble.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

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

Featured