: fatal error C1083: Cannot open include file: 'isotream': No such file or directory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phillis2013
    New Member
    • Jan 2012
    • 14

    : fatal error C1083: Cannot open include file: 'isotream': No such file or directory

    how do i fix this error i have no precompiled headers and everything i have tried has not worked
    here is all my code

    #include "Cardgame.h "
    #include<isotre am>
    using namespace std;

    Cardgame::Cardg ame(int p)
    {
    players = p;
    totalparticipan ts += p;
    cout << " players have started a new game. there are now" << totalparticipan ts >> " players in total." << endl;
    }


    Cardgame::~Card game(void)
    {
    }
    _______________ _______________ _______________ ______________
    #pragma once
    class Cardgame
    {
    int players;
    static int totalparticipan ts;
    public:
    Cardgame(int p);
    ~Cardgame(void) ;
    };

    _______________ _______________ _______________ _______________ ________
    #include "Cardgame.h "
    int Cardgame::total participants = 0;
    int main()
    {
    Cardgame *bridge = 0;
    Cardgame *blackjack = 0;
    Cardgame *solitaire = 0;
    Cardgame *poker = 0;

    bridge= new Cardgame(4);
    blackjack= new Cardgame(8);
    solitaire= new Cardgame(1);
    delete blackjack;
    delete bridge;
    poker= new Cardgame(5);
    delete solitaire;
    delete poker;

    return 0;
    }
    _______________ _______________ _______________ ______________
    and i keep getting this error

    1>------ Build started: Project: game2, Configuration: Debug Win32 ------
    1> Cardgame.cpp
    1>c:\documents and settings\wigund lach\my documents\visua l studio 2010\projects\g ame2\game2\card game.cpp(2): fatal error C1083: Cannot open include file: 'isotream': No such file or directory
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    please help
  • Mariostg
    Contributor
    • Sep 2010
    • 332

    #2
    What about #include<iostre am>. Read again what you wrote.

    Phillis, there is no reason to double posts. You will not get more answers.
    Last edited by Mariostg; Jan 30 '12, 04:05 PM. Reason: Added para 2.

    Comment

    • Phillis2013
      New Member
      • Jan 2012
      • 14

      #3
      Sorry for the double post didn't know how to edit last one and wanted to put the code in it but was on my iPad and I don't know what to do about the include isotream it keeps on saying the same thing and If I take it out it has errors with undefined identifiers

      Comment

      • Mariostg
        Contributor
        • Sep 2010
        • 332

        #4
        Phillis, isotream is not the same as iostream... :). You want iostream.

        Comment

        • Phillis2013
          New Member
          • Jan 2012
          • 14

          #5
          Ok thanks it looks like isotream on the totourial I was using but that is probably the problem thank

          Comment

          Working...