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...
Type: Posts; User: Gaming
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...
Thanks for the WinSock tutorial!
EDIT: What language is it? C or C++?
So there are no ways to do a telnet command in C++? are there any libraries for this? any at all?
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...
Come on guys, be nice. Hey slimdime, cheer up. Just try.
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!
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!!
#include <iostream>
using namespace std;
int main()
{
int * pointer = 0x100579C; //ERROR ZONE
*pointer = 1;
delete pointer;
system("PAUSE");
return 0;
}
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
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)
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...
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...
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.
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...
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...
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,...
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...
That could work..
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...