Search:

Type: Posts; User: key4life

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    2,205

    Hi again. I did wut u advised. But now it tells...

    Hi again. I did wut u advised. But now it tells me, "passing arg 1 of readValues from incompatible pointer type" and it says that for arg 2, 3 and 4 as well.


    void listValues()
    {


    ...
  2. Replies
    11
    Views
    2,205

    i only need to fill the elements of one array....

    i only need to fill the elements of one array. But I have to fill elements into carModelArray, sLengthArray, rSlopeArray, speedArray. I tried using the pointers to simply edit the values by...
  3. Replies
    11
    Views
    2,205

    @ Adak. I have to do it this way. @ Elysia....

    @ Adak. I have to do it this way.

    @ Elysia. Thanks alot for the explanation. I think i understand what you're saying. However, I'm not sure how to go about making more than one array though. I...
  4. Replies
    11
    Views
    2,205

    Thanks so far. Well I'm not sure wut you mean by...

    Thanks so far. Well I'm not sure wut you mean by "one array". readvalues loops until 999 is entered for sLength . And after every loop all arrays change to their second element. I dont get wut u...
  5. Replies
    11
    Views
    2,205

    Pointers to arrays problem

    Hi Guys. I'm writing a program to accept some values, store them in arrays, then pass these arrays back the to caller to be printed. But when I print, i get weird output. like...0.002.007. Can...
  6. Replies
    12
    Views
    3,885

    Well I adjusted the loop size so that it loops...

    Well I adjusted the loop size so that it loops for the combined size of the arrays to be merged. And I did what Adak suggested, I compared the two smallest, then stored the smaller in array 3, then I...
  7. Replies
    12
    Views
    3,885

    I dont think I would need to run the bubble sort...

    I dont think I would need to run the bubble sort again in merge() because the arrays are already sorted, so no need to re-sort. I would just be comparing sorted values. So it would come out in...
  8. Replies
    12
    Views
    3,885

    Merging arrays help

    Hello all. I'm having trouble merging arrays here. So first I allow the user to enter the size of the array, followed by the elements. Then I use a bubble sort to get them in ascending order. And I...
  9. Replies
    15
    Views
    3,309

    Well when i run this now, after the first input...

    Well when i run this now, after the first input of name it works fine. then after i input a score it jus skips the next name scan (outputs the prompt tho) then prompts for the next score.


    ...
  10. Replies
    15
    Views
    3,309

    Ok thanks ALOT guys. It works good now. LAST ...

    Ok thanks ALOT guys. It works good now. LAST problem i promise. I really dont know how to read strings with a space. Like if i enter John Brown. It messes up. Can only store One string at a time....
  11. Replies
    15
    Views
    3,309

    more

    Ok so I implemented strcpy. Can someone show me how to do the two dimensional array for the names?


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

    int main(void)
    {
    char...
  12. Replies
    15
    Views
    3,309

    More Help

    Thanks alot guys. You helped me to correctly output the names. But now the program seems to output the name that was entered last with the correct score even if they're not associated with each...
  13. Replies
    15
    Views
    3,309

    Character string help

    I cant seem to get this to work. Keep getting weird output. No clue how to fix it. Can someone help me please?



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

    main()
    {
Results 1 to 13 of 13