Search:

Type: Posts; User: zach48191

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,809

    you need a function to take the string entered...

    you need a function to take the string entered and copy it to an array. Then have another function call the array and look to see if the LETTERS in the stored array match the ones in a predetermined...
  2. Replies
    14
    Views
    2,128

    I would not recommend that as you might want to...

    I would not recommend that as you might want to use it for another function. Rather in the main function set it to


    double base = 20.00;

    This way basic will always be 20.
    Now all you have...
  3. Replies
    5
    Views
    2,809

    after your #include "lab10.h" you need...

    after your


    #include "lab10.h"

    you need to call your functions below like


    #include "lab10.h"
  4. Replies
    14
    Views
    2,128

    Also you should just set the basic cost at a...

    Also you should just set the basic cost at a certain variable and then just reference it to the others so you can always add the basic cost to your other selections.
  5. Replies
    7
    Views
    1,322

    Thanks for clearing that up makes perfect sense...

    Thanks for clearing that up makes perfect sense now... I cant believe it still worked even with them. It works great now and I added continue in the IF loop so that it will keep going. I took out the...
  6. Replies
    7
    Views
    1,322

    what do you mean by 0 to 9 and not '0' to '9'?? I...

    what do you mean by 0 to 9 and not '0' to '9'?? I thought that ' ' around a character defines it?
  7. Replies
    7
    Views
    1,322

    It just made it go to invalid number first and...

    It just made it go to invalid number first and every number after that it would not take and the output was 0 0 0 0 0 = 0

    I can get it to work correctly without the else statement, but I want my...
  8. Replies
    7
    Views
    1,322

    Quick question

    I had a quick question about this part of the code




    for (i=0; i < MAXLEN && i!= EOF; i++)
    {
    printf("Enter numbers between 0-9 \n"); /* Asks the users for a number 0-9 */
    ...
  9. Replies
    9
    Views
    1,393

    Do you think I should put a different number for...

    Do you think I should put a different number for the character if it is not have a - in front of it? Also can you explain more on the insert the expanded list of characters?? I'm confused by what you...
  10. Replies
    9
    Views
    1,393

    well im trying to do for my input a-f, I thought...

    well im trying to do for my input a-f, I thought i got through it by looping the string with either a 1 or 0 as processed or not, it will run through the entire string until it has processed all the...
  11. Replies
    9
    Views
    1,393

    So after a week of redoing this program im so...

    So after a week of redoing this program im so close but I still am having trouble with my expand function I can get it to process the char, but still wont expand it maybe I have it wrong idk can...
  12. Replies
    9
    Views
    1,393

    Expand nightmare!

    So here today I am writing this code that will expand on the test string I have created ie. a-f which will write out abcdef. I have most of my logic hopefully correct but the debugger hates my expand...
  13. Replies
    4
    Views
    1,132

    I fixed my code just wanted to post the correct...

    I fixed my code just wanted to post the correct code only took me another 4 hours of debugging and checking -_-;; Cheers to the next lucky guy who needs it! >.<



    #include <stdio.h>

    int...
  14. Replies
    4
    Views
    1,132

    Now it says with the int taken out of the...

    Now it says with the int taken out of the shellsort call " warning: passing argument 1 of âshellsortâ makes pointer from integer without a cast" so confused also I tried this code and it debugs fine,...
  15. Replies
    4
    Views
    1,132

    Have a question on my program

    I am suppose to

    "Create a program to read an array of characters from the keyboard terminated by EOF. Count the number of characters that are entered. The characters should be stored into an...
Results 1 to 15 of 15