111 Posted Topics

Member Avatar for TheBeast32

Hi, i need to make a [B]very[/B] large char array (char array[10000000]). How would I do this without getting a stack overflow error?

Member Avatar for bugmenot
0
71
Member Avatar for TheBeast32

Hi i have been making two programs: one that sends a file's filebuf made into a char*, and another that receives that and writes it to a file. They're like exe sending programs. I can send the char* and write it onto the console using cout.write(), but when I try …

Member Avatar for TheBeast32
0
241
Member Avatar for TheBeast32

Hi, I have a question: What is the mysterious beep on a console program? I made a program that reads a *.exe file then displays it on the screen. I got a massive amount of beeps! Another example of a mysterious beep is: Open Command Prompt, Press Ctrl+G, then hit …

Member Avatar for TheBeast32
0
68
Member Avatar for TheBeast32

Hi, I made a simple program that copies files. I tried to copy an exe file, but after I tried to run the copied version, it doesn't work properly. Please help:?: Here's the code for the test file to copy: [code=C++] #include <iostream> int main() { std::cout << "Hello!"; std::cin.get(); …

Member Avatar for TheBeast32
0
177
Member Avatar for TheBeast32

Hello, I have been wondering how to keep a value even after a program ends. An example could be a countdown of days on a trial of a product. It must be able to not be changed by the user. How would I do this?

Member Avatar for TheBeast32
0
142
Member Avatar for dark7angelx07

I have made someyhing like this before. Here it is: [Code=C++] bool CheckPrime(unsigned long num) { unsigned long long int x = 2; bool prime; if (num < 4) { switch (num) { case 1: prime = false; break; case 2: prime = true; break; case 3: prime = true; …

Member Avatar for DavidB
0
1K
Member Avatar for TheBeast32

Hi, I have been making a program that searches in another process's memory for a value from the user. It works, but it's [B]very[/B] slow. I have used other searchers like TSearch that are really fast. If anyone has a way to make it faster, please help.:-/ Here's my code …

Member Avatar for TheBeast32
0
321
Member Avatar for TheBeast32

Hi, i have been making a server for a client I made to connect to. I don't have a static IP, so I need a way for someone on another computer to connect to me without me telling the user what it is every time. I have tried to just …

Member Avatar for TheBeast32
0
99
Member Avatar for TheBeast32

Hi again, i'm making a macro building pogram. I have got mouse movement down, but now i have no idea how to do mouse clicks or keyboard input. Please help! I'm also using dev-c++ 4.9.9.2. Here's my complete code for the program. [code=c++] POINT MousePoint; int X = 0; int …

Member Avatar for iamthwee
0
190
Member Avatar for TheBeast32

I have been making a prime number generator. It works, but it's considerably slow if a user enters a high number. If anyone has any suggestions on how to make it faster, please post it. Here's the genrator code: [code] unsigned long int theNumber; unsigned long int Factor1 = 1, …

Member Avatar for TheBeast32
0
108
Member Avatar for TheBeast32

Hi, i have been making a program that tests a computer owner's firewall. It gets input from the client i made, and does a system() with it. Is there any way to make the firewall not block the program right when i make a scocket? Oh, im using Dev-C++ 4.9.9.2 …

Member Avatar for WolfPack
0
352

The End.