Search:

Type: Posts; User: simguy

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    957

    Here's some code from Visual C++ 6.0 that works:...

    Here's some code from Visual C++ 6.0 that works:


    BOOL CFullScrDlgDlg::OnInitDialog()
    {
    CDialog::OnInitDialog();

    //...

    int cx, cy;
  2. Replies
    11
    Views
    1,357

    BTW, your statement of "buf[100] = 0;" will only...

    BTW, your statement of "buf[100] = 0;" will only set the 100th member of the array to zero. Look at the function "memset" to intialize an array.
  3. Thread: Syntax Error

    by simguy
    Replies
    3
    Views
    779

    Don't mention it --- we've all made mistakes that...

    Don't mention it --- we've all made mistakes that we can't see for the life of us. It's always good to have someone around that sees the trees in the forest in a different way.
  4. Replies
    6
    Views
    10,726

    if you have a copy of 'conio.h', try pasting it...

    if you have a copy of 'conio.h', try pasting it in a dircetory that has other include files, or just put it in any dircectory and reference it from the directory you place it.
  5. Thread: Syntax Error

    by simguy
    Replies
    3
    Views
    779

    your 'if' statement has the construct of a 'for'...

    your 'if' statement has the construct of a 'for' statement
  6. Thread: Hash Tables

    by simguy
    Replies
    2
    Views
    812

    Try this link --- I think it may be helpful to...

    Try this link --- I think it may be helpful to explain about hash tables:

    http://www.nist.gov/dads/HTML/hashtab.html
  7. Thread: Java to C

    by simguy
    Replies
    4
    Views
    1,186

    Google on "C tutorials" --- there are plenty on...

    Google on "C tutorials" --- there are plenty on the web. Since you are familiar with Java, most of it is very 'C-like' , and you should get up to speed pretty quick. Your biggest challenge will be...
  8. Replies
    3
    Views
    1,902

    Thanks --- that was my interpretation also, but...

    Thanks --- that was my interpretation also, but wanted a second opinion (or even a 3rd and 4th)
  9. Replies
    3
    Views
    1,902

    Will free() clean up this allocated memory?

    I have some legacy code that I have a question about. A pointer to allocated memory is passed as a parameter to a function. In the function, there is a declaration statement that creates a new...
  10. Replies
    26
    Views
    2,500

    Your unsigned int array is going to consume over...

    Your unsigned int array is going to consume over 30 GB of memory!! long int is 4 bytes ! Unless you have access to a super computer, this will never work. You already stated that you got about 250,00...
Results 1 to 10 of 10