Sign in to follow this  
Shewolf

Question about seperate files

Recommended Posts

Shewolf    122
I made a header file named Globals.h to put all my global variables in and declare my functions. Well when I compile it useing bloodshed it gives me: Globals.h no such file and then says my variables arent being declaired.
// MAIN

#include <iostream>
#include "Globals.h"
using namespace std;

int playercharacter();
int PName();  
int Gender(); 
int Race();
int Profession();
int Human();
int Elf();
int Dwarf();
int Warrior();
int Wizard();
int Cleric();


int main()
{
    bool charactersetup = false;
    if(charactersetup == false)
    {
        cout << " Welcome to Kesmere\n\n\n ";
        PName();
        Gender();
        Race();
        Profession();
        charactersetup = true;
    }    
    else
    {
    }    

    system("pause");

    return 0;
}

int PName()
{
    char name[50];

    cout << " Enter your name\n\n";
    cin >> name;
    cout << " You have chosen to be known as " << name << ".\n\n";
}  

int Gender()
{
    int gender;
    string gendername;
    cout << " Please choose your gender\n";
    cout << "1. Male" << endl;
    cout << "2. Female\n\n";  
    cin >> gender;
    if(gender == 1)
    {
        gendername = "male";
        cout << "You have chosen to play as a " << gendername << endl;
        
        
    }
    else
    {
        gendername = "female";
        cout << "You have chosen to play as a " << gendername << "\n\n";
    }       
    
}    

int Race()
{
    int rchoice;
    
    cout << " Please chose:\n";
    cout << " 1. human " << endl;
    cout << " 2. elf " << endl;
    cout << " 3. dwarf " << endl;
    cin >> rchoice;
    
    switch(rchoice)
    {
        case 1:
            Human(); 
            break;
        case 2:
            Elf(); 
            break;
        case 3:
            Dwarf(); 
            break;    
    }    
    
}    

int Profession()
{
    int pchoice;
    
    cout << " Please chose:\n";
    cout << " 1. warrior " << endl;
    cout << " 2. wizard " << endl;
    cout << " 3. cleric " << endl;
    cin >> pchoice;
    
    switch(pchoice)
    {
        case 1:
            Warrior(); 
            break;
        case 2:
            Wizard(); 
            break;
        case 3:
            Cleric(); 
            break;    
    }    
    
}    



int Human()
{
    string race = " human ";
    hp = 10;
    dex = 8;
    mana = 6;
    
    cout << "You have chosen to play as a" << race << "." << "\n\n";
    cout << " You now have:" << endl;
    cout << " Hit Points: " << hp << endl;
    cout << " Dexterity: " << dex << endl;
    cout << " Mana: " << mana << "\n\n";
}    

int Elf()
{
    string race = " elf ";
    hp = 9;
    dex = 7;
    mana = 10;
    cout << "You have chosen to play as a" << race << "." << "\n\n";
    cout << " You now have:" << endl;
    cout << " Hit Points: " << hp << endl;
    cout << " Dexterity: " << dex << endl;
    cout << " Mana: " << mana << "\n\n";
} 

int Dwarf()
{
    string race = " dwarf ";
    hp = 12;
    dex = 9;
    mana = 5;
    cout << "You have chosen to play as a" << race << "." << "\n\n";
    cout << " You now have:" << endl;
    cout << " Hit Points: " << hp << endl;
    cout << " Dexterity: " << dex << endl;
    cout << " Mana: " << mana << "\n\n";
} 

int Warrior()
{
    string profession = " warrior ";
    cout << "You have chosen to play as a" << profession << "\n\n";
}    

int Wizard()
{
    string profession = " wizard ";
    cout << "You have chosen to play as a" << profession << "\n\n";
}

int Cleric()
{
    string profession = " cleric ";
    cout << "You have chosen to play as a" << profession << "\n\n";
}        

and here is my global.h code
#include <iostream>
using namespace std;

int hp;
int dex;
int mana;

Share this post


Link to post
Share on other sites
ToohrVyk    1595
The error message can only mean two things:
  • The file is not present in the same directory as the including file
  • The file is present, but cannot be read

    Therefore, I can only suggest that you check the existence of the two files, and the access rights for the header file.

    Share this post


    Link to post
    Share on other sites
    Shewolf    122
    Ok, I reads the article it was hepful, but I didnt understand a few things. unfortunatly I'm having the same problem. I tried useing ms visual and it worked fine, but it wont work on bloodshed. :/

    Share this post


    Link to post
    Share on other sites
    Chad Smith    1343
    Mmm...it won't work in Dev, but it will in Visual? That seems weird.


    Why don't you just use Visual then? IMO it is a lot better IDE, and it has a very nice Debugger.


    Chad.

    Share this post


    Link to post
    Share on other sites
    Shewolf    122
    Grr. I cant fix it. Now it doesnt work in visual either. visual gives me some errors about the cout << when theres nothing wrong with it. I dont get it. I just want to split my project up into smaller segments but when I do I get the errors. Please help

    Share this post


    Link to post
    Share on other sites
    templewulf    526
    Quote:
    Original post by Shewolf
    Grr. I cant fix it. Now it doesnt work in visual either. visual gives me some errors about the cout << when theres nothing wrong with it. I dont get it. I just want to split my project up into smaller segments but when I do I get the errors. Please help

    Stick with VC++2005 EE, it's worth it. Also, you didn't post any of your errors. Run it through VC again, and copy the errors into a post here.

    EDIT:
    Also, you declared your functions to return ints, but it doesn't look like you're returning anything in any of those functions. Are you learning out of a book or a website, or are you just winging it?

    Share this post


    Link to post
    Share on other sites
    Shewolf    122
    Thanks for taking the time to look. Here is the erros it gives me in visual. its a direct copy and paste from bloodshed


    ------ Build started: Project: KesmereRealms, Configuration: Debug Win32 ------
    Compiling...
    main.cpp
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(61) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(68) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(132) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(145) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(158) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(168) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(174) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\documents and settings\compaq_owner\my documents\visual studio 2005\projects\kesmererealms\kesmererealms\main.cpp(180) : error C2679: binary '&lt;&lt;' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
    c:\program files\microsoft visual studio 8\vc\include\ostream(650): could be 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(697): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(735): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(782): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(906): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const signed char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(913): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,signed char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(920): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,const unsigned char *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(927): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &,unsigned char)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(168): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(174): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(181): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &(__cdecl *)(std::ios_base &))'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(188): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(208): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(241): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(261): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(286): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned int)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(306): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(326): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__w64 unsigned long)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(347): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(367): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(388): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(408): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(428): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(448): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    c:\program files\microsoft visual studio 8\vc\include\ostream(468): or 'std::basic_ostream&lt;_Elem,_Traits&gt; &std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    while trying to match the argument list '(std::basic_ostream&lt;_Elem,_Traits&gt;, std::string)'
    with
    [
    _Elem=char,
    _Traits=std::char_traits&lt;char&gt;
    ]
    Build log was saved at "file://c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\KesmereRealms\KesmereRealms\Debug\BuildLog.htm"
    KesmereRealms - 8 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    [Edited by - Shewolf on August 18, 2006 4:53:32 PM]

    Share this post


    Link to post
    Share on other sites
    Shewolf    122
    I am learning from a book and some tutorials on the web. the book i am useing is C++ from the ground up 2nd edition by Herbert Schildt.
    Thanks

    Share this post


    Link to post
    Share on other sites
    GotenRulezU    100
    i dont know why your having that problem but please include
    [ source ]

    [ /source ](without space)
    before and after your code or errors otherwise things get MESSY!~
    besides that i think since you specified return type of int for all your methods you should return an integer value either that or change them to void.
    hope i helped a little,
    -Cory

    Share this post


    Link to post
    Share on other sites
    templewulf    526
    You didn't #include <string> anywhere that I can see. Try adding that and the return int; calls in your functions that I mentioned before, or changing them to void as suggested by Goten-something-or-other. (Don't want to scroll down to look.)

    Share this post


    Link to post
    Share on other sites
    Shewolf    122
    Well, that worked! thank you so much! Can you tell me what I was using that required <string>? i though <iostream> covered all the text input and stuff? I'm still a newbie teaching myself so sorry if I was being anoying LOL

    Share this post


    Link to post
    Share on other sites
    templewulf    526
    If you look at your error messages, you'll notice that it says ostream's (cout's) operator<< couldn't recognize std::string. Since you didn't #include <string>, it might as well not exist as far as the rest of your code cares.

    Also, you might want to edit your post with the errors and add those [ source ][ /source ] tags in case anyone wants to read your post later.

    Share this post


    Link to post
    Share on other sites
    GotenRulezU    100
    iostream is used to output text to the console
    it only handles char,int,float, (basic types)
    string is a complex type that can be output by iostream but in order to declare a string you have to #include<string>
    idk if i'm making sense or not but i tried. i'm not the smartest here i know
    -Cory

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    Sign in to follow this