Search:

Type: Posts; User: CPP-Null

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,772

    Win32 API Questions

    Can I use the Win32 to write strings to an already existing application and print them?

    Example:
    I want to write in a chat client when a friend enters:
    "Hello - (person) Welcome to My Chat"....
  2. Replies
    5
    Views
    1,482

    I removed getline(), but the text being stored in...

    I removed getline(), but the text being stored in the string thats read from the buffer isn't being printed to the string. All I get is the System ("PAUSE") message, not the text stored in the text...
  3. Replies
    5
    Views
    1,482

    Im running into a problem - its not printing the...

    Im running into a problem - its not printing the string filecontent. =( - I tried cout << filecontent; didn't seem to print.



    using namespace std;
    int main(){
    ifstream file1("c:\test.txt");...
  4. Replies
    5
    Views
    1,482

    Where can I learn more about this topic? -...

    Where can I learn more about this topic? - Exspecially on the StringStream class? - also is it possible to divide the contents up in a file and store it at different variables? Like say I declare a =...
  5. Replies
    16
    Views
    4,130

    I'd say that was quite funny, well you also have...

    I'd say that was quite funny, well you also have to take into account im a 15 year old o.O. - I thought it was a great joke - at the moment =P. I'll be sure to share that with a couple of other...
  6. Replies
    5
    Views
    1,482

    FStream Question

    After I create a random text file called text.txt with


    std::fstream fin, fout;
    fout.open("c:\text.txt", std:ios::out); //ignore the smily its an ':'':'o';
    if(!fout.is_open()) return 0;

    //I...
  7. Replies
    2
    Views
    1,318

    Oaf! Bad looking on me - I forgot to pass it in,...

    Oaf! Bad looking on me - I forgot to pass it in, your right ^^

    ::EDIT:: - running into some compiler errors. Aparently #define NETWORK_ERROR -1, and #define NETWORK_OK 0 are both out of scope...
  8. Replies
    2
    Views
    1,199

    Nice Winsock tutorial here:...

    Nice Winsock tutorial here: http://www.hal-pc.org/~johnnie2/winsock.html - I'm using it right now :)
  9. Replies
    2
    Views
    1,318

    WinSock Defined Function Error

    Im having an error when returning an integer variable to a defined function that seems to be specified to return void. This is in the winsock.h header file for version 1.1. This problem lies in the...
  10. Replies
    5
    Views
    979

    Wow! ~ amazing thread - no idea why I haven't...

    Wow! ~ amazing thread - no idea why I haven't looked at the STL since I started C++ programming, never crossed my mind LOL.
  11. Replies
    8
    Views
    1,612

    Thats the idea =D

    Thats the idea =D
  12. Replies
    8
    Views
    1,612

    Alright than I suppose working with the WinAPI...

    Alright than I suppose working with the WinAPI would be the best route so this wayI don't have to decipher what each game packet is and what information is to send it. - The packet thing was just a...
  13. Replies
    8
    Views
    1,612

    Thank you for the explanation but no I am just...

    Thank you for the explanation but no I am just looking to see how some people have come to manipulate in game movements while playing on a server, I.E. - moving your character to point A and use...
  14. Replies
    8
    Views
    1,612

    Thank you very much Lamien - but now this sparks...

    Thank you very much Lamien - but now this sparks some interest how does a packet sniffer work? - Just saves and prints what the listening socket finds?
  15. Replies
    8
    Views
    1,612

    WinSock // Existing Games

    Hi - i'm a relative begginer to C/C++ but have a firm foundation of classes, functions and the sort. My question is, is it possible to use the WinSock class & functions to connect to an existing...
Results 1 to 15 of 15