Search:

Type: Posts; User: Vacuus

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    5,622

    Yup, something like: using namespace std;...

    Yup, something like:

    using namespace std;
    fstream f("Myfile", ios::in);
    string theFile="";
    char buff[1024]
    while(!f.eof())
    {
    f.get(buff, 1023);
    theFile += buff;
  2. Replies
    10
    Views
    5,622

    What library are you using for Sockets, Berkley?...

    What library are you using for Sockets, Berkley?
    You may want to try this library. Should be possible, if not, I suppose fstream could just read the entire file into a string, and send it that way.
  3. Thread: Pairing Woes...

    by Vacuus
    Replies
    3
    Views
    1,308

    Ergh, Sorry... That Copy & Paste was from an...

    Ergh, Sorry... That Copy & Paste was from an older file saved on my Harddrive. Turns out I am using the syntax you suggested above, queerest thing is, I still get the error....
  4. Thread: Pairing Woes...

    by Vacuus
    Replies
    3
    Views
    1,308

    Pairing Woes...

    Hey all,

    I've been writing a nice & simple scripting system, and so far have been doing pretty well, except for the multitude of complilation errors (just simple mistakes ;))..

    My main issue is...
Results 1 to 4 of 4