Search:

Type: Posts; User: ct26torr

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    3,269

    Thanks for all the help. I corrected the braces...

    Thanks for all the help. I corrected the braces and things look good now. I just keep getting an error message saying "illegal break". Am I using it improperly?
  2. Replies
    1
    Views
    1,438

    Adding items to an Array in Visual Basic 6

    Don't know if this is a good spot to post this message but here goes. I am trying to take data a from a text box and add it to an array when you click the OK button on a form. I have created the...
  3. Replies
    6
    Views
    1,750

    I have this but it still seems to store the zero...

    I have this but it still seems to store the zero in the array



    printf("\nPlease enter up to 8 numbers to stop entering numbers enter zero\n");
    printf("\n");
    for (i=0;i<8;i++)
    ...
  4. Replies
    6
    Views
    1,750

    I tried adding theNums[i][j] = '\0'; ...

    I tried adding



    theNums[i][j] = '\0';


    I still can't get it to work
  5. Replies
    6
    Views
    1,750

    cool I will check out memset .... thanks for the...

    cool I will check out memset .... thanks for the help
  6. Replies
    6
    Views
    1,750

    How do I clear out the spot in the array? I...

    How do I clear out the spot in the array? I don't know how to do that. Clearing the spot in the array seems like the easier way since I could just put it before the line that has break in it.
  7. Replies
    6
    Views
    1,750

    getting numbers in an array

    I have this code below that accepts up to 8 numbers and stores them in an array. I use a zero to stop taking numbers. I am trying to keep the zero from being stored in the array. Is there a way to...
  8. Thread: Help

    by ct26torr
    Replies
    2
    Views
    899

    help counting characters

    I have made some changes. I have to use gets() for the first and last name. It is part of the assignment. I fixed the {}, I didn't realize I left them out because everything compiled okay. I have...
  9. Thread: Help

    by ct26torr
    Replies
    2
    Views
    899

    Help

    I have this code below. I am doing various things with it. I tried to comment it pretty good so you can see what is going on. I am having a problem with the array and calculating the sum. I am...
  10. Replies
    16
    Views
    1,887

    OK I have been playing around with this more and...

    OK I have been playing around with this more and I have it working with the exception of capitalizing the letters. I have discovered the book we use for thsi class isn't that great. Is there a...
  11. Replies
    16
    Views
    1,887

    thanks for your posts. i have been doing good in...

    thanks for your posts. i have been doing good in this class but the whole book only has one chapter on strings.
  12. Replies
    9
    Views
    1,395

    Thanks guys. The code works pretty good now with...

    Thanks guys. The code works pretty good now with just one exception. If the user doesn't fill up the array with 10 numbers I will get junk numbers in the empty spaces. Is there a way to have those...
  13. Replies
    9
    Views
    1,395

    Thanks to everyone for the help. This is what I...

    Thanks to everyone for the help. This is what I have now. But it still doesn't seem to work properly when it sort and prints the sorted numbers in the array.



    #include <stdio.h>
    #include...
  14. Replies
    9
    Views
    1,395

    I have tried to do this. If I take the sorting...

    I have tried to do this. If I take the sorting part away this works properly. I can not get this to work at all.
  15. Replies
    9
    Views
    1,395

    still having a problem

    I can not get this to work. Can someone please help me. I have been working on this for a week. I am trying to take up to 10 numbers from the user (if they enter a zero it stops taking numbers). ...
  16. Thread: sorting

    by ct26torr
    Replies
    9
    Views
    1,156

    I have made some real big changes to this code...

    I have made some real big changes to this code but I am still having a problem in the sorting part of it. Please help.



    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include...
  17. Thread: sorting

    by ct26torr
    Replies
    9
    Views
    1,156

    I can't figure it out. I have played with this...

    I can't figure it out. I have played with this for hours but just don't get it.
  18. Thread: sorting

    by ct26torr
    Replies
    9
    Views
    1,156

    thes stdio.h added twice is an accident. I still...

    thes stdio.h added twice is an accident. I still can't get it to work. I have no idea why not.
  19. Thread: sorting

    by ct26torr
    Replies
    9
    Views
    1,156

    sorting

    I have been working on this code for awhile now. I wrote this function to sort but I don't know how to make it work. Can someone help me out.



    #include <stdio.h>
    #include <string.h>...
  20. Thread: averaging

    by ct26torr
    Replies
    7
    Views
    1,361

    it doesnt print the numbers the user entered. I...

    it doesnt print the numbers the user entered. I must have some bug in there but can't figure out what is it.
  21. Thread: averaging

    by ct26torr
    Replies
    7
    Views
    1,361

    I made some more changes but still I am having a...

    I made some more changes but still I am having a problem displaying the number enetered and sorted.



    #include <stdio.h>
    #include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include...
  22. Thread: averaging

    by ct26torr
    Replies
    7
    Views
    1,361

    OK, I have the sum and average working. I am...

    OK, I have the sum and average working. I am trying to display what the user entered for numbers and also sort them. Can someone let me know what I am doing wrong.



    #include <stdio.h>...
  23. Thread: averaging

    by ct26torr
    Replies
    7
    Views
    1,361

    averaging

    I am trying to calculate the average of the numbers the user entered but I can't figure out how many numbers the user actually entered to so I can divide by the sum. The user can enter up to 10...
  24. Replies
    2
    Views
    1,346

    so confused and frustrated

    Here is what I am doing. I have posted this a few times over the last few days and you guys have been great with help but I am just getting so frustrated.

    I am building an array that will take up...
  25. Thread: exit array

    by ct26torr
    Replies
    8
    Views
    1,455

    thanks for the help. I will see if I can make it...

    thanks for the help. I will see if I can make it work.
Results 1 to 25 of 55
Page 1 of 3 1 2 3