Search:

Type: Posts; User: Jubba

Search: Search took 0.00 seconds.

  1. Thread: Pointer problem

    by Jubba
    Replies
    3
    Views
    879

    Pointer problem

    I have unsuccessfully been able to create a pointer for the following data structures



    char hpfpID[55][4][60];
    char hpopID[55][4][60];
    char lpfpID[55][4][60];
    char lpopID[55][4][60];
  2. Thread: Mouse Events

    by Jubba
    Replies
    1
    Views
    1,692

    Mouse Events

    First of all I am pretty much a novice when it comes to Windows programming so no laughing!!

    Here is the deal....

    I have created a MFC app with the main window being a dialog that has 5 ActiveX...
  3. Replies
    5
    Views
    1,429

    OpenGL and Windows XP

    Is it possible to develop and run OpenGL programs in Windows XP? I only ask since in the MSDN reference section under OpenGL they never mention XP, only 95/98, NT and 2000.

    Thanks in advance.
  4. Replies
    0
    Views
    1,127

    OpenGL and Windows XP

    Is it possible to develop and run OpenGL programs in Windows XP? I only ask since in the MSDN reference section under OpenGL they never mention XP, only 95/98, NT and 2000.

    Thanks in advance.
  5. Thanks for the info guys. Very helpful as usual...

    Thanks for the info guys. Very helpful as usual :)
  6. Newb Question: Petzolds "Programming Windows 5th edition" advice

    I recently obtained a copy of Petzolds "Programming Windows 5th edition" (wooohooo finally). He is teaching assuming VC++6.0 and Win98. I am running .NET on a XP machine. Since I don't know that...
  7. Replies
    1
    Views
    1,871

    Does Microsoft Visual C++ .NET come with C#?

    Does Microsoft Visual C++ .NET come with a C# compiler?

    If so, is it possible to integrate this into the IDE? What exactly are the differences between Microsoft Visual C++ .NET and Microsoft...
  8. Replies
    2
    Views
    1,550

    Hmmm ...Win32API, MFC, .NET..which one?

    I am looking for everyones opinions on the best vehicle to launch a C/C++ developer into the wide wonderful world of windows programming. MFC, Win32API, or Managed code using .NET ( if .NET, then...
  9. Replies
    12
    Views
    1,689

    I would do this... #include ...

    I would do this...




    #include <math.h>

    double d = 2.4;
    int i = (int)ceil(2.4);
    while((++i)%4); // i is now round to highest multiple of 4
  10. Replies
    6
    Views
    2,698

    I read the thread you suggested and still don't...

    I read the thread you suggested and still don't have a firm grasp on why the compiler thinks an empty struct will take up one byte of memory. Be patient with me I can be slow on the uptake :)

    The...
  11. Replies
    6
    Views
    2,698

    sizeof(empty struct) = 1 ?!?!?!? why??

    I was messing around the other day with the sizeof() function(or is it a macro??..shrug), testing the sizes of various types on my machine when I came across something I did not expect. I executed...
  12. Replies
    2
    Views
    1,063

    for(p=1; p

    for(p=1; p<=n-1; p++)
    for(q=0; q<p; q++)
    {
    temp = a[p][q];
    a[p][q] = a[q][p];
    a[q][p] = temp;
    };

    looks like the first line should read
  13. Thread: calloc vs malloc

    by Jubba
    Replies
    2
    Views
    3,469

    calloc vs malloc

    Hey guys, quick question.

    What exactly is the difference(benefit) of using calloc over malloc
    They seem dreadfully similar to me.

    int *p;
    int *q;

    p = (int *)calloc(5,sizeof(int)); //...
  14. Replies
    3
    Views
    1,448

    What exactly are you flattening? Looks to me...

    What exactly are you flattening?

    Looks to me like you are just referring to elements in the array with a 2nd pointer. Since the address and size of the array matrix is constant, then the array...
  15. Replies
    2
    Views
    806

    Need some help with Delete

    A quick question...

    How do you delete a dynamically created array composed of base class pointers, where each pointer is pointing to objects of the base class and various derived classes?
    ...
  16. Replies
    2
    Views
    2,191

    Copy Constructor Help

    I am looking for confirmation from all of you C++ gurus that my thinking is correct with regards to the copy constructor.

    Ok, basically the default copy is just a direct memberwise copy operation....
Results 1 to 16 of 16