You need to get info from Thread Information Block (TIB). See 'struct NT_TIB' in winnt.h Current thread ID has 0x24 offset. Get it as FS:[0x24]
In case you don't have wget installed or you need some more control over downloading the file, you should use system sockets and look into HTTP...
For Windows consider using CreateProcess(). For Linux - fork() and then execve(). They all are documented well, look msdn and man-pages.
Place this line double root=FindRoot (a, b, h); inside your PrintResults() function, or initialize 'root' variable inside main().
I guess it means 07:24:55. To convert your string into time: 1. take by 2 characters from the string: hours, minutes and seconds 2. convert...
There is a C++ Framework project introduced by Firmdev recently. It helps C++ developers make their applications faster and more convenient,...
Do you really sure what this line of code does? String* SubStr = "."; It seems you are assigning the random address to your...
A very simple way to include protection in your shareware: 1. During the installation of your application you may create the key in the Windows...
If you are looking for really good stuff of how to deal with sound, consider Microsoft DirectSound. Please get DirectX sdk (use google to find...
The code will be the same on Windows. You just need to install MySQL server on your machine in case you wanna test your code on it. Once you have...
There is no info about 'b' character in 2nd parameter of fopen() function. It's worh saying about it because it is very useful when dealing with...
Note also, that structures in C++ may have virtual and static functions just as classes: struct some_struct { void member_func(){} //member...
To understand how to use virtual functions you have to understand why to use them at all. Consider this example: #include <stdio.h> class...
Is this the whole code? Please use tags and . Also, could you please tell about the problem more precisely. What did you try to solve the...
Separate names with a comma.