111 Posted Topics
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? | |
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 … | |
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 … | |
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(); … | |
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? | |
Re: 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; … | |
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 … | |
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 … | |
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 … ![]() | |
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, … | |
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 … |
The End.