I am writing a multithreaded Windows application in C using Visual Studio.net. In certain situations, my application needs to shut down immediately, and I was thinking of calling the exit() function within the main thread. Will this have any adverse effects on the system it is running on? Are there any safer methods that I can use (remembering that it needs to shut down as quickly as possible)?
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection.
Once done, and if the …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.