Thread: ambigious symbols??

  1. #1
    Registered User
    Join Date
    Feb 2003

    ambigious symbols??

    wondering if anyone can help. i'm still trying to write a program where there are string variables. i have the following declerations
    #include <string>
    using namespace std;

    i understand this is all you have to do to use a string variable but for some reason when i make these declerations it says that cout, ifstream, and ofstream are all ambigious symbols, any idea what this means?

  2. #2
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    try including iostream
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

  3. #3
    Registered User
    Join Date
    Nov 2002
    and fstream

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux Putting my children to sleep with futex!?
    By Abs in forum Linux Programming
    Replies: 18
    Last Post: 02-12-2009, 06:43 PM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Trouble with Windows/DirectX programming
    By bobbelPoP in forum Windows Programming
    Replies: 16
    Last Post: 07-08-2008, 02:27 AM
  4. Strange error?
    By MrLucky in forum C++ Programming
    Replies: 5
    Last Post: 02-04-2006, 03:01 PM
  5. symbols, no symbols, symbols ...
    By pavmarc in forum Linux Programming
    Replies: 0
    Last Post: 08-23-2005, 12:36 PM