It specifies the number of bits used by the struct member (only possible within structs).
Example: (copied from MSDN help).
struct CELL // Declare CELL bit field
{
unsigned...
Type: Posts; User: epic
It specifies the number of bits used by the struct member (only possible within structs).
Example: (copied from MSDN help).
struct CELL // Declare CELL bit field
{
unsigned...
At first sight, use a static array instead of TList.
and, you have a memory leakage here (and on other places)
Look on msdn on win32 threads
MSDN
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/processes_and_threads.asp
cout<< prime();
I don't see why you want this. the function prime() is not returning anything, so this construction has no effect.
I tested your program, and I think I can explain your 403 -...
If datasize and speed don't matter, i should use the array version. DWORD bit..........ing is probably faster.
first suggestion :
in your "int ReadWaveHeader(char *FileName, WAVEHEADER &wave)" you read the WAVEHEADER struct member by member, why don't you just do
...
I think you should start with windows GDI, especially the bitmap blitting functions (blitting a memory bitmap to a window).
Then I would start with OpenGL, although it has less functionality than...
actually continue will not break out of the loop, but it will go to the next iteration of the for loop, thus skipping the "rt-=sys[g]*back;" part.
wrong,
&alphabet is not alphabet !!
alphabet is a pointer to the first character while &alphabet is a pointer to the variable alphabet.
alphabet is a char *
&alphabet is a char **