Search:

Type: Posts; User: mill1k

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    6,485

    After thinking about it at work I reliezed a...

    After thinking about it at work I reliezed a problem. The clients can't recieve unless they send..so it looks like i am going to need to find a threading tutorial so i can create a recieving thread.
  2. Replies
    13
    Views
    6,485

    I turns out that it does use a array to store the...

    I turns out that it does use a array to store the clients, so I tried a snippet of code that ran through the entire array looking for clients to send to.
    for (unsigned int i = 0; i <...
  3. Replies
    13
    Views
    6,485

    numbytes = recv(clientsocket,...

    numbytes = recv(clientsocket, (char*)&messagesize, sizeof(messagesize), 0);

    that snippet of code is used becasue the client and server can send messages of variable size. And i dont think that the...
  4. Replies
    13
    Views
    6,485

    Server - All Clients Send.

    Yeah...I know this has been talked about before, but the examples I saw used a diffrent method of storing connected clients, so I failed trying to convert their examples. But basicly I need to find a...
  5. Replies
    2
    Views
    1,248

    Thank you

    Thank you
  6. Replies
    2
    Views
    1,248

    Another cin.getline() thread

    Yeah, Hello. I know there alot of getline() post but tehy didnt help me in my problem.

    int Save()
    {
    ifstream fins1("Saves/save1.fss");
    ifstream fins2("Saves/save2.fss");
    ifstream...
  7. Problem in programming, no idea how to explain so please downlaod source and App.

    Hey guy, I'm having trouble and i cant explain the error, i can complie fine but if you try feeding your fish or applying for a new job or study/workingout, it wont allow you to quit at the main...
  8. Replies
    10
    Views
    1,348

    more like this: case 2: ofstream...

    more like this:


    case 2:
    ofstream fouts2("Saves/save2.txt");
    cout<<"\nEnter save name(Less then 10 charcters):";
    cin>>save2;
    fouts2<<save2<<"\n";
    ...
  9. Replies
    10
    Views
    1,348

    Well i keep geting this error: Jump to case...

    Well i keep geting this error:
    Jump to case labels
    and
    crosses initialization of `std::ofstream fouts1'
  10. Replies
    10
    Views
    1,348

    I have a new problem is it possible to put ...

    I have a new problem is it possible to put
    ofstream fouts2("Saves/save2.txt"); in a Switch statement
  11. Replies
    5
    Views
    2,380

    Yeah worked fine for me

    Yeah worked fine for me
  12. Replies
    10
    Views
    1,348

    That complied fine...whats with the std::cout...

    That complied fine...whats with the std::cout instead of just cout
    The complie seem to be looking in the right directories.
    But when i try adding #include <iostream> i get this error: 'cout'...
  13. Replies
    10
    Views
    1,348

    problems with include files in Dev-Cpp 4.9.8.0

    I jsut got Dev-Cpp 4.9.8.0 and i cant figure out what includes to put in the ones i were using in 4.9.4.1 dont work... I need teh include for cout and cin for ifstream and ofstream and any other...
  14. Replies
    5
    Views
    1,494

    Ahhh I was using the older version

    Ahhh I was using the older version
  15. Replies
    5
    Views
    1,494

    Im using Dev-C++ and when ever i open a file to...

    Im using Dev-C++ and when ever i open a file to write into or read from it creates it the Dev-C++ folder, I want the file to alwasy be in the folder of teh program even if i move it.
  16. Replies
    5
    Views
    1,494

    Save files move when folder moves

    I have a simple Simulation program that you can save your status but if a user moves the folder from its origanal location the saves wont follow. Is there a way to set it so the saves always save...
Results 1 to 16 of 16