Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

sstream

  • 05-11-2003 01: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, Registered Users 2 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