visual studio

This is a discussion on visual studio within the C++ Programming forums, part of the General Programming Boards category; need help for when creating a C++ file. Ive done some programs before, but now i need to use the ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    28

    visual studio

    need help for when creating a C++ file. Ive done some programs before, but now i need to use the iostream and string #include's without the .h

    thing is, it doesnt accept it when I use
    #include <iostream> and instead gives me a bunch of errors :S

    any thoughts on what might be happening here? Ive tried changing some settings but no luck :/

    hope you help 8)


    btw Im using MS Visual C++ 6.0

  2. #2
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    Give this a shot:

    http://www.cprogramming.com/tutorial.html

    Lesson 10

    If you can't figure it out after you've read that (or don't understand part of it) post your code on here and your error....people can't try and find bugs in code they can't see heh.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Code:
    #include <iostream>
    
    using namespace std;
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    28
    thx
    the early bird gets the worm but the second mouse gets the cheese

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 09:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 09:57 AM

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