Search:

Type: Posts; User: Liangine

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,202

    Okay so I think I misinterpreted the issue. It is...

    Okay so I think I misinterpreted the issue. It is not that the math isn't right. For some reason it is only generating the lower numbers.
  2. Replies
    6
    Views
    1,202

    Modulus and Random number generation.

    I am making a random number generator. I have fixed all issues except for one. I am supposed to ask the user for how many digits the user wants the numbers to have. How many numbers does the user...
  3. wow, its always the little things.

    wow, its always the little things.
  4. Yes I know I probably should use arrays and I...

    Yes I know I probably should use arrays and I have been practicing with them in other projects. They are still confusing to me when using them for reasons like this. I switched Srand around and it...
  5. Random Number generator isn't working correctly.

    My random number generator isn't working properly. It seems to be ignoring my conditions when it compiles and I enter the input.

    The program is supposed to accomplish the following.
    1. Let the...
  6. Replies
    10
    Views
    17,318

    Yes, the assignment requires that I use two...

    Yes, the assignment requires that I use two strings, and three dynamic arrays of integers. I am supposed to prompt the user for a number. then prompt them for a second one. Then I store both of the...
  7. Replies
    10
    Views
    17,318

    it is for a assignment so I am required to use 3...

    it is for a assignment so I am required to use 3 dynamic arrays. One for the first number, one for the second number then I add them together. Should I just stay away from using the point then?
  8. Replies
    10
    Views
    17,318

    And the lines that the error occured on are in my...

    And the lines that the error occured on are in my class cpp file. Where I try to make the arrays.
  9. Replies
    10
    Views
    17,318

    Oh sorry, the fix was extremely minor. Everything...

    Oh sorry, the fix was extremely minor. Everything is the same except for this. I accidentally put parenthesis where they shouldn't be.



    LargeIntegers largeInteger;
    largeInteger.run();...
  10. Replies
    10
    Views
    17,318

    I fixed my original problem. But now when I...

    I fixed my original problem. But now when I compile it I get these errors. These errors happen on these lines. Error 1(line 35), Error 2(Line 36), Error 3(Line 38), Error 4(Line 38), Error 5(Line...
  11. Replies
    10
    Views
    17,318

    Expression must have a class type?

    I am making a program that allows you to add two big numbers that are larger then what int can handle together. I think I have done everything to accomplish this but when I try to instantiate the...
  12. Replies
    1
    Views
    3,917

    Invalid storage class for a function.

    My problem is probably a simple fix but I am having trouble figuring it out. I made a program and when I try to use the main driver to instantiate everything it says invalid storage class for a...
  13. My biggest issue is that I can't get the private...

    My biggest issue is that I can't get the private member variables from the Sale files to go into the array that are in the cash register files. The errors i was getting was set functions need to...
  14. need help with private members of classes.

    So I have a project for C++ due tomorrow. I have been struggling with it for awhile because of the way we have to make the program. . Now my issue seems to be putting the data into a array with the...
  15. I fell so dumb right now. The program now works....

    I fell so dumb right now. The program now works. Thanks for pointing out my stupidity lol its the most simple things that get me.
  16. Oh and also when it executes here is an example...

    Oh and also when it executes here is an example of what it does:

    Press 0 for circle, press 1 for square: 0
    Enter the side length of the square: 5 (notice that even thought i put...
  17. Trying to use Enumerations types in my loops and conditions but it won't recognize.

    I am trying to use enumeration types in my conditions to make a simple program that calculates area of a square or circle depending on users choice then updates the total area and outputs the total...
  18. Replies
    7
    Views
    1,860

    am i getting any closer? The program now runs but...

    am i getting any closer? The program now runs but it dosen't output the menu right still. It just gives me a bunch of random numbers that aren't even in the .txt file.






    #include...
  19. Replies
    7
    Views
    1,860

    I am trying to output the whole menu but now im...

    I am trying to output the whole menu but now im getting 1 error C2676: binary '[' : 'menuItemType' does not define this operator or a conversion to a type acceptable to the predefined operator
    here...
  20. Replies
    7
    Views
    1,860

    I understand now. I had a variable in my function...

    I understand now. I had a variable in my function prototype that i wasn't even using. Okay i got it fixed but now when i run it this happens. My menu is messed up. I tryed to format my menu to pop up...
  21. Replies
    7
    Views
    1,860

    Cannot convert parameter to struct type.

    I am trying to make a automated menu. It shows there are no syntax errors but when compiled it says cannot convert choice from type into to menuItemType. I am not sure what I did wrong. Here is the...
  22. What do you mean by separate and distinct? i...

    What do you mean by separate and distinct? i fixed the bool to string problem and made the loop.
  23. Here is the code after I made added loops and if...

    Here is the code after I made added loops and if statements. I now am passing the users choice to the printcheck function wrong. It says type int is incompatible with my struct menuItemType.


    ...
  24. Will do. I'll make the if statements then post...

    Will do. I'll make the if statements then post the new code
  25. i could do this in some if statements but i think...

    i could do this in some if statements but i think there may be a easier way
Results 1 to 25 of 34
Page 1 of 2 1 2