Search:

Type: Posts; User: Gaming

Search: Search took 0.01 seconds.

  1. Thread: Allegro

    by Gaming
    Replies
    2
    Views
    1,611

    Allegro

    I just found out about this C++ game programming library called Allegro. So I just downloaded it but now I can't find a decent tutorial on it. Has anyone had any success with Allegro? If so, please...
  2. Thread: C++ Telnet

    by Gaming
    Replies
    8
    Views
    10,609

    Thanks for the WinSock tutorial! EDIT: What...

    Thanks for the WinSock tutorial!

    EDIT: What language is it? C or C++?
  3. Thread: C++ Telnet

    by Gaming
    Replies
    8
    Views
    10,609

    So there are no ways to do a telnet command in...

    So there are no ways to do a telnet command in C++? are there any libraries for this? any at all?
  4. Thread: C++ Telnet

    by Gaming
    Replies
    8
    Views
    10,609

    C++ Telnet

    I found out how to execute dos commands in C++ and get output in the console window. I connected to a telnet server but I couldn't call telnet commands by doing system(telnetcommand.c_str()); , is...
  5. Replies
    6
    Views
    1,344

    Come on guys, be nice. Hey slimdime, cheer up....

    Come on guys, be nice. Hey slimdime, cheer up. Just try.
  6. Thread: Pointer error

    by Gaming
    Replies
    8
    Views
    1,806

    Thank you! Yeah, the program didn't work but...

    Thank you! Yeah, the program didn't work but atleast I learned something. It didn't exactly crash, I got a error message and it exited. Anyway, thanks!
  7. Thread: Pointer error

    by Gaming
    Replies
    8
    Views
    1,806

    I took away the delete. How do I cast it as a...

    I took away the delete. How do I cast it as a pointer to an integer? The example was hard to follow. Like, a longer example. Thanks!!
  8. Thread: Pointer error

    by Gaming
    Replies
    8
    Views
    1,806

    Pointer error

    #include <iostream>
    using namespace std;
    int main()
    {
    int * pointer = 0x100579C; //ERROR ZONE
    *pointer = 1;
    delete pointer;
    system("PAUSE");
    return 0;
    }
  9. Replies
    6
    Views
    1,362

    I prefer you use namespace std, so you don't have...

    I prefer you use namespace std, so you don't have to use the standard scope for basic I/O.
    do this after you declare your libraries:
    using namespace std;
    and now you don't have to do std:: anymore
  10. Replies
    10
    Views
    6,519

    I just finished my program. I changed values of...

    I just finished my program. I changed values of the game Minesweeper. I have the source but I don't feel like I should post it :P, PM me if you really want it (47 lines)
  11. Replies
    10
    Views
    6,519

    Heres what I found: ReadProcessMemory is to find...

    Heres what I found:
    ReadProcessMemory is to find what value is stored at a specific address. Aha! So this is how hex editors do it!
    WriteProcessMemory is changing a value at a address.

    now I...
  12. Replies
    10
    Views
    6,519

    I'm planning to do it while I'm running it. I...

    I'm planning to do it while I'm running it. I googled for a bit and found out about WriteProcessMemory. ReadProcessMemory and WriteProcessMemory should help when editing my value. It's a bit tricky...
  13. Replies
    10
    Views
    6,519

    I already know pointers and File I/O. Can you...

    I already know pointers and File I/O. Can you give some sample code? Windows library? Do you use a handle? How would I get started.
  14. Replies
    10
    Views
    6,519

    Yeah I know there are hex editors out, that...

    Yeah I know there are hex editors out, that completely defeats the purpose of writing your own program to change the value.

    Here are the circumstances:
    I know what I'm changing
    I know that the...
  15. Replies
    8
    Views
    36,447

    To get a string it would be getline(cin,...

    To get a string it would be getline(cin, yourstringnamehere);
    Do #include <string> first
    and declare a string: string randomstring
    strings are just a collection of characters, except they can...
  16. Replies
    10
    Views
    6,519

    Hex editing in C++

    Is it possible to change the values of another program? Like hook onto the application and change it somehow. Where would you start? Can you give me some sample code? I can work my way from there,...
  17. Replies
    4
    Views
    1,534

    Hm, thats what I was thinking. I was thinking...

    Hm, thats what I was thinking. I was thinking alphabetical substitution. Encrypting it into integers, and when printing it out, decrypts it back to characters. Thanks for reminding me!! I'll post my...
  18. Replies
    4
    Views
    1,799

    That could work..

    That could work..
  19. Replies
    4
    Views
    1,534

    Inserting contents of string into an array

    How do you take a string full of letters and spaces and put them all into an array? I'm thinking pointers, but I'm not sure.

    For example:
    string random = "hello everyone";
    int array[50];
    //how...
Results 1 to 19 of 19