Visual Studio 2005 - Cannot find C++

This is a discussion on Visual Studio 2005 - Cannot find C++ within the C++ Programming forums, part of the General Programming Boards category; Hi, real laughable problem here, but I'm using visual studio 2005 to practice making programs in. Well, seems I clicked ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Location
    U.K.
    Posts
    148

    Visual Studio 2005 - Cannot find C++

    Hi, real laughable problem here, but I'm using visual studio 2005 to practice making programs in.

    Well, seems I clicked Visual C++ instead of 'normal' C++, and now I cannot seem to find how to change it. When I go File>New>Project there is no option for 'normal' C++.

    Also gone Tools>Options>Startup and had no luck.

    Could someone tell me what I need to do or where it is, at this rate I'll be re-installing the whole thing just top change it.

    Many thanks for any help, it is appreciated!

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Visual C++ is the name of Microsoft's C++ suite. There is no "normal C++".
    What you likely need is New -> Project -> Win32 -> Win32 Console Application.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Aug 2007
    Location
    U.K.
    Posts
    148
    Yeah, I tried this but it has the line:-

    Code:
    int _tmain(int argc, _TCHAR* argv[])

    Normally (the one I want) is just the standard iostream, namespace std one.

    It's like I clicked visual c++ by accident and now MS and hidden my normal choice to force me into the visual C++

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    No, they have not hidden anything. There is nothing wrong with that line.
    But if you're picky, you can change it to:
    int main(int argc, char* argv[])

    But I'm thinking you used a Win32 project (not console).
    They can't "force" you into "Visual C++" because it doesn't exist.
    Visual C++ is the name of the program, nothing more.

    Follow the instructions and make a new project for console.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Aug 2007
    Location
    U.K.
    Posts
    148
    OK no worries.

    Thanks for your help Elysia.

    Appreciated

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    Sure, no problem. Good luck.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sorting the matrix question..
    By transgalactic2 in forum C Programming
    Replies: 47
    Last Post: 12-22-2008, 03:17 PM
  2. stdin in Visual Studio 2005 vs. 2003
    By Trev614 in forum C Programming
    Replies: 5
    Last Post: 06-23-2008, 03:44 PM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  4. Crazy errors caused by class, never seen before..
    By Shamino in forum C++ Programming
    Replies: 2
    Last Post: 06-10-2007, 12:54 PM
  5. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM

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