• Help with primefinder.
    33 replies, posted
[code] std::fstream PrimeFile ("Primes.txt", std::ios_base::out); PrimeFile << n << std::endl; [/code]
More easily: [code] std::ofstream primeFile("primes.txt"); primeFile << n << std::endl; [/code]
I wanted to send my friend the .exe so I looked up in my projects file and found it but when he tries to open he gets this crap : This application has failed to start because the application configuration is incorrect.
If you're using Visual C++, he might need the runtimes. If you're using MinGW/GCC, I have no clue what the requirements are.
Sorry, you need to Log In to post a reply to this thread.