Search:

Type: Posts; User: epic

Search: Search took 0.01 seconds.

  1. Thread: Variables deluxe.

    by epic
    Replies
    2
    Views
    863

    It specifies the number of bits used by the...

    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...
  2. Replies
    3
    Views
    1,680

    At first sight, use a static array instead of...

    At first sight, use a static array instead of TList.


    and, you have a memory leakage here (and on other places)
  3. Replies
    3
    Views
    1,613

    Look on msdn on win32 threads MSDN...

    Look on msdn on win32 threads

    MSDN

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/processes_and_threads.asp
  4. Thread: prime numbers?

    by epic
    Replies
    7
    Views
    1,650

    cout

    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 -...
  5. Thread: DWORD or bool*

    by epic
    Replies
    5
    Views
    1,747

    If datasize and speed don't matter, i should use...

    If datasize and speed don't matter, i should use the array version. DWORD bit..........ing is probably faster.
  6. Replies
    6
    Views
    3,548

    first suggestion : in your "int ...

    first suggestion :

    in your "int ReadWaveHeader(char *FileName, WAVEHEADER &wave)" you read the WAVEHEADER struct member by member, why don't you just do
    ...
  7. Replies
    4
    Views
    1,402

    I think you should start with windows GDI,...

    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...
  8. Replies
    9
    Views
    2,290

    actually continue will not break out of the loop,...

    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.
  9. Thread: address of array

    by epic
    Replies
    4
    Views
    1,377

    wrong, &alphabet is not alphabet !! ...

    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 **
Results 1 to 9 of 9