Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

sstream

Options
  • 05-11-2003 1:12pm
    #1
    Closed Accounts Posts: 59 ✭✭


    hey
    could someone tell me why I keep getting this error;
    sstream.h : no such file or directory.
    these are the libraries I have included;
    # include <iostream>
    # include <iomanip.h>
    # include <fstream.h>
    # include <stdlib.h>
    # include <string>
    # include <sstream>
    Do I need to include something else??
    I'm using g++ compiler - is sstream not standard i/o??

    Ta...
    Fi**


Comments

  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    AFAIK:
    [php]#include <iostream> // Standard C++ IO Library
    using namespace std; // Use the standard namespace ( std:: )[/php]
    Is all you need.

    I really have no idea though :)


  • Closed Accounts Posts: 59 ✭✭Fi_C**


    thanks,
    I tried that too - but it gave the same error using the g++ compiler - turns out that it's just a problem with the version of the compiler - I compiled it in VC++ no problem ; ), I dunno - stuff like that really wrecks my head!!
    see ya,
    Fi**


Advertisement