Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Neon612

Search: Search took 0.01 seconds.

  1. Thread: qsort help

    by Neon612
    Replies
    9
    Views
    1,382

    Re: qsort help

    I'm using header files:

    #include <stdio.h>
    #include <stdlib.h>

    #include <string.h>

    I thought strdub was part of string.h.
  2. Thread: qsort help

    by Neon612
    Replies
    9
    Views
    1,382

    Re: qsort help

    Thanks, so I need to use strcpy instead? I tried it replacing:

    record[numwords] -> data = (char *)strdup(newword);

    with


    strcpy(record[numwords] -> data, newword);

    but now that strcpy...
  3. Thread: qsort help

    by Neon612
    Replies
    9
    Views
    1,382

    Re: qsort help

    Thank you. Simple fix: size of(Wordrec *)

    Also on a side note: what exactly does "warning: implicit declaration of function ‘strdup’ " mean?

    From what I've been able to find that warning says...
  4. Thread: qsort help

    by Neon612
    Replies
    9
    Views
    1,382

    Re: qsort help

    This is a C program, but if I need sorting for C++ I'll keep that in mind.
  5. Thread: qsort help

    by Neon612
    Replies
    9
    Views
    1,382

    qsort help

    I keep trying different ways of writing a compare function but when I run the program I keep getting a seg fault at the qsort function call.

    I have:

    typedef struct
    {
    int count;
    char...
  6. Replies
    3
    Views
    775

    Re: Save HEx output to Variable

    I'm sorry but I'm completely new at this. I've been trying to find books to get a little reading done on C++ but haven't had much luck.

    You are basically saying that cout << hex << int(line[a]) is...
  7. Replies
    3
    Views
    775

    Save HEx output to Variable

    I've been trying to teach myself C++ over the years and here is another shot at it.

    I know how to convert a charcter to its ASCII equivilent(sp?) and then to it's hex equivilent and print the hex...
  8. Replies
    5
    Views
    982

    Re: DirectX 7 Screensaver

    I'm trying to compile the app to a screensaver file to try out on my comp. and so far it isn't working properly.
  9. Replies
    5
    Views
    982

    Re: DirectX 7 Screensaver

    Pardon ME but what are you talking about?
  10. Replies
    5
    Views
    982

    DirectX 7 Screensaver

    I've created a DirectX7 DirectDraw screensaver that displays a series of images (movie like). I've got everything to work fine in VB but when I go to compile it to a *.scr file it won't let me...
Results 1 to 10 of 10


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center