Search:

Type: Posts; User: insomniak

Search: Search took 0.01 seconds.

  1. Thread: qucik sort

    by insomniak
    Replies
    2
    Views
    1,214

    I figured. It's just that they had it in the...

    I figured. It's just that they had it in the example here. I thought there must be some reason why they stuck it in there and that's what confused me....

    Thanks...
  2. Thread: qucik sort

    by insomniak
    Replies
    2
    Views
    1,214

    qucik sort

    in this quick sort code what is the int *pItem for?
    when it's compiled it gives an unreferenced local variable warning.
    just confused....


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

    int compare...
  3. Replies
    2
    Views
    2,952

    Bubble Sort, Qucik Sort

    I need to write a program that time a bubble sort and quick sort (sorting 50,000 characters). I have the Bubble sort in the book I have but I don't have the quick sort. Does anyone know where I can...
  4. Replies
    2
    Views
    847

    figured it out

    I really need to study and practice more.:D
    changed the while loop to do while and took out the getkey function


    do{
    system("cls");
    draw(first, monthNo, year);
    ch = getch();...
  5. Replies
    2
    Views
    847

    heres the whole thing if you really want it ...

    heres the whole thing if you really want it


    #include <stdio.h>
    #include <time.h>
    #include <string.h>
    #include <stdlib.h>
    #include <conio.h>

    const char *months[12] = {"Jan", "Feb", "Mar",...
  6. Replies
    2
    Views
    847

    why does this get stuck

    This program displays a calendar for the month and (supposed to at least) display the previous month and next month using arrows keys, to exit the program you hit ESC. Well it draws this month and...
  7. Thread: Ascii?

    by insomniak
    Replies
    1
    Views
    1,266

    Ascii?

    In a calendar program I am supposed to be able to move ahead and move back months by using the right and left arrow keys and exit the program by using ESC (which I know is '27'), what are the arrow...
  8. Replies
    2
    Views
    1,137

    OMG i cannot beleive how long I was looking at...

    OMG i cannot beleive how long I was looking at that. I should have caught that. Thanks.
  9. Replies
    2
    Views
    1,137

    declaring a const...

    I'm writing a program that draws a calendar for the month based on info taken from the system clock. In the global declarations I have the following line which always gets a warning when compiled
    ...
Results 1 to 9 of 9