Search:

Type: Posts; User: mackieinva

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,652

    function not working correctly

    hi people, im making an address book with link lists and I think I have everything going well. The only thing that is messing up is when I try to exit (option 8) the program crashes and I am not...
  2. Replies
    14
    Views
    3,548

    thanks for helping guys, i may never get this one...

    thanks for helping guys, i may never get this one but im still trying.
  3. Replies
    14
    Views
    3,548

    In function `insertion_sort_list': 99 [Warning]...

    In function `insertion_sort_list':
    99 [Warning] assignment from incompatible pointer type
    104 [Warning] assignment from incompatible pointer type
    107 [Warning] assignment from incompatible...
  4. Replies
    14
    Views
    3,548

    this is what i put together but I did something...

    this is what i put together but I did something wrong, received some errors and dont know where to begin to fix them.



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

    struct...
  5. Replies
    14
    Views
    3,548

    yeah i still cant find the right way to do it. I...

    yeah i still cant find the right way to do it. I went to your links iMalc but couldn't find the right thing i guess. thanks for anyone that can help me with putting the list in order from lowest to...
  6. Replies
    14
    Views
    3,548

    thanks mats, i kind of get the idea, will post...

    thanks mats, i kind of get the idea, will post what i did soon.
  7. Replies
    14
    Views
    3,548

    putting linked list in order

    hi people, i made a program that puts 25 random integers into a linked list, and then finds the sum and average. everything works fine, one thing im wondering is if i wanted to put these numbers in...
  8. Replies
    17
    Views
    51,167

    so i tried to put this in the primeNum function,...

    so i tried to put this in the primeNum function, it doesnt run ofcourse so it's wrong but am I heading in the right direction?


    int primeNum(int i){
    int a = 0;
    for (a = 0; a < i;...
  9. Replies
    17
    Views
    51,167

    wow good eye on the define max lamanna,...

    wow good eye on the define max lamanna, understand the return 1 and return 0 now and how its incorporated with loop. i went to test it though to see it work and it crashed, do you know why the...
  10. Replies
    8
    Views
    2,688

    got it to work!!!! i just made a goto label,...

    got it to work!!!!

    i just made a goto label, didnt even think of that. thanks for the help again yall i really appreciate it like always



    #include <stdio.h>
    #include <stdlib.h>
    #include...
  11. Replies
    17
    Views
    51,167

    prime number program with function

    hi all, this is the next one i picked to do.

    -Finding Prime Numbers and Sum-

    An Integer is said to be prime if it is divisible by only 1 and itself. For example 2, 3, 5 and 7 are prime, but 4,...
  12. Replies
    8
    Views
    2,688

    ive never done a do while loop before, do you...

    ive never done a do while loop before, do you mind showing me what you mean?
  13. Replies
    8
    Views
    2,688

    yeah i tried to put that into the loop but then...

    yeah i tried to put that into the loop but then it puts another set of cards after you get the total from new cards.

    so if i have 2 and 10 for 12 and ask for another card im returned

    you got a...
  14. Replies
    8
    Views
    2,688

    blackjack program

    hi all, next im working on a blackjack program. cards are just 2-10, giving the user 2 cards and asking 1 for another card or 2 for no.

    if they say no, hit 21, or go over they are asked if they...
  15. Replies
    5
    Views
    1,279

    thank you guys, again you help me out alot.

    thank you guys, again you help me out alot.
  16. Replies
    5
    Views
    1,279

    help with program thats killing me

    thanks for the help all, i had to do a phonebook program and it just worked me.

    basically the main.c file is for the menu and call functions.

    the main.h file holds the struct.

    the process.c...
  17. Replies
    2
    Views
    30,367

    a phone book program

    hi all, ive moved on to the next thing and its killing me, i dont even know really how to begin. the section is all about making a main function and writing other .h files and using them in the main...
  18. Replies
    10
    Views
    8,800

    ooooh thanks for the help rob. now op1 and op2...

    ooooh thanks for the help rob. now op1 and op2 have the right number assigned to them. also i allocated memory for the other arrays...dont really know why i didnt do that before. it runs now, takes...
  19. Replies
    10
    Views
    8,800

    yeah i was trying to make it so the array would...

    yeah i was trying to make it so the array would constantly store the number in it with op1 having each cell in the array with 20 and op2 with 30 but i guess that wasnt the right way of doing it.
    ...
  20. Replies
    10
    Views
    8,800

    yeah theyre supposed to be pointer arrays. are...

    yeah theyre supposed to be pointer arrays. are they declared right as pointer arrays?
  21. Replies
    10
    Views
    8,800

    i try to run it and it just crashes, im not sure...

    i try to run it and it just crashes, im not sure where i messed up at. was hoping it might stick out to someone here who could offer advice. thanks again.
  22. Replies
    10
    Views
    8,800

    making a math quiz program

    Hi all. The next one im trying to do is math quiz. Im reading about maloc and caloc and realoc and found this example to do with it. It asks the user how many problems they want to do (it will...
  23. Replies
    2
    Views
    1,538

    ty for the help brewbuck, it helped make it...

    ty for the help brewbuck, it helped make it click. i wasnt trying to be an ass myself calling you a dick before just hard to tell sarcasm and things like that over the internet. later.
  24. Replies
    2
    Views
    1,538

    calculations with pointers

    hey all, so im making one that uses pointers to pass the answers of four calculations. im just missing something here, i go to compile it and it freezes and closes the program. thanks for the help....
  25. Replies
    12
    Views
    1,652

    thank you very much for the help dwks. yes i am...

    thank you very much for the help dwks. yes i am about as novice as they come to C, which is why i didn't get the whole third variable needed the way my friend was trying to explain it to me. I'm...
Results 1 to 25 of 29
Page 1 of 2 1 2