Search:

Type: Posts; User: killerasp

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,409

    thanks, it worked. now i have to edit so it can...

    thanks, it worked. now i have to edit so it can count for occurances. YAH!
  2. Replies
    3
    Views
    1,409

    what does this error mean

    here is the code that is causing the error

    list_of_strings *add_to_list(list_of_strings * start, char dumb[])
    {
    list_of_strings *tmpptr = start; // (1)
    start = new(list_of_strings); //...
  3. Replies
    7
    Views
    1,521

    ive tried re-working the code, but i keep coming...

    ive tried re-working the code, but i keep coming with idea. it it randomizes but it still will intsert the value in the array even thoughh counter>4. when i try to output the array of values, it...
  4. Replies
    7
    Views
    1,521

    good point with the counter. let me try that

    good point with the counter. let me try that
  5. Replies
    7
    Views
    1,521

    im still having much trouble. I want the rand to...

    im still having much trouble. I want the rand to generate a number btw 0-52. and check its value with previously generated values that are stored in array. if a match occurs more than 4 times ,...
  6. Replies
    7
    Views
    1,521

    and i what i got was an endless loop. gotta work...

    and i what i got was an endless loop. gotta work that out!
  7. Replies
    7
    Views
    1,521

    question about my code

    im working a card program that will shuffel and display the cards. im trying to randomize numbers but this code will not print anything. it seems like it goes into an endless loop.


    for(int...
  8. Replies
    6
    Views
    1,025

    but if its a class function, isnt it already...

    but if its a class function, isnt it already global?
  9. Replies
    6
    Views
    1,025

    question about classes and functions

    is their a way to call a class function within another class function?
  10. Replies
    4
    Views
    1,722

    Clueless about linked list

    Im supposed to make a program that reads an input file and outputs the number of times a certain work appears. i did it using strcmp but he wants it using linked lists. i dont see how this is...
  11. Replies
    3
    Views
    956

    but what is struct list_of_strings * next; ...

    but what is

    struct list_of_strings * next;

    for?
  12. Replies
    3
    Views
    956

    You cant have this can you?

    struct list_of_strings
    {
    char data[80];
    list_of_strings * next;
    };

    arent you supposed to put something infrom of list_of_strings?
  13. Replies
    2
    Views
    814

    What is this?

    if(strcmp(dumn, temp.) data) == 0)
    count++;
    temp = temp->next;

    what is the "->" used for?
  14. Replies
    3
    Views
    1,164

    Does anyone know what this means

    * list_of_strings add_to_list(list_of_strings *, char []);

    thats the line in the C++ code i got. i dont know what it is.
  15. Thread: I Need Help

    by killerasp
    Replies
    3
    Views
    1,198

    I Need Help

    ive been up for 2 days now. yes thats 48 hrs. my teach wants us to create a calculator that can do complex number. he wants use to have functions take in values, functions that take those values and...
  16. Replies
    5
    Views
    1,661

    will i be able to use a pointer in a function...

    will i be able to use a pointer in a function with out passing it in func (variable)?
  17. Replies
    5
    Views
    1,661

    Very confused with pointers

    Im supposed to work on a program that invloves the use of pointers. Im not even going to ask about structs because its way beyond my understanding. But what is the point of using pointers if it just...
Results 1 to 17 of 17