Search:

Type: Posts; User: Victor4015

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    4,373

    Here are the details. If you don't get that 10n-n...

    Here are the details. If you don't get that 10n-n is 9n, you can't help me. Then, remember the result of subtraction is 3. Then we know that 3 is the same thing as 9n. So we have 3=9n. We are allowed...
  2. Replies
    1
    Views
    1,789

    Help with a piece of code

    This code is meant to have input as a string, and output as a float, but it returns strange numbers. I guess it is something with the converter function at the beginning. Could someone please tell me...
  3. Replies
    1
    Views
    1,063

    stringstreams

    What are stringstreams? what is their syntax?
  4. Replies
    6
    Views
    1,186

    what are stringstreams?

    what are stringstreams?
  5. Replies
    4
    Views
    2,294

    Using fgets()

    How do I use fgets()? what is the syntax?
  6. Replies
    6
    Views
    1,186

    String-float conversions

    The problem is to convert a string into a float. What happens is a user inputs a string, but the string only contains numbers. How do I get the program to recognize the numbers as numbers?
  7. Replies
    34
    Views
    4,373

    You asked for a list of steps, so here it goes....

    You asked for a list of steps, so here it goes. Let's say we want to convert 0.333333333... into a fraction. First, we multiply by ten, so we get 3.33333333...From now on we shall represent...
  8. Replies
    34
    Views
    4,373

    Thank you very much, but then how would the...

    Thank you very much, but then how would the program know to simpliy 50/100? Also, what about a fraction like 0.3333333...? I know how to do this mathematically, but how do I do it in the program?
  9. Replies
    34
    Views
    4,373

    how do you use the remainder operator? Sorry, I...

    how do you use the remainder operator? Sorry, I am new to this.
  10. Replies
    34
    Views
    4,373

    Sorry for the last post--it is a double.

    Sorry for the last post--it is a double.
  11. Replies
    34
    Views
    4,373

    Ok, I'll just explain what the program does:...

    Ok, I'll just explain what the program does: first, it divides two numbers. The result is then supposed to be tested. if it is a whole number, then the program displays the number, if it is a...
  12. Replies
    34
    Views
    4,373

    OK, I'll just explain more clearly what I am...

    OK, I'll just explain more clearly what I am asking: what the part of the program in question does is it divides two numbers. Then it is supposed to test whether the quoteint is a whole number. if it...
  13. Replies
    34
    Views
    4,373

    How do I convert decimals back to fractions?

    How do I convert decimals back to fractions?
  14. Replies
    34
    Views
    4,373

    No, you don't understand. I want the program to...

    No, you don't understand. I want the program to test if a number is a whole number. it will only accept integers. so if it isn't supposed to output numbers like 1.2, but it can output numbers like...
  15. Replies
    34
    Views
    4,373

    yeah, and 1.2/1.2=1, and 1.2 isn't a whole number

    yeah, and 1.2/1.2=1, and 1.2 isn't a whole number
  16. Replies
    34
    Views
    4,373

    sorry, but I meant if a number is a whole number

    sorry, but I meant if a number is a whole number
  17. Replies
    34
    Views
    4,373

    fractions and whole numbers

    How do I get a program to simplify a fraction, and how do I get a program to recognize if a fraction is a whole number? There is probably a simple solution, but I am oblivious. Thanks alot.
  18. Replies
    9
    Views
    2,724

    SlyMaelstrom, I would like to ask you about an...

    SlyMaelstrom, I would like to ask you about an earlier post-what if you want to input more that 1 character into getch(), but perhaps less than the limit in the program?
  19. Replies
    9
    Views
    2,724

    Thank you once again for your informative answers!

    Thank you once again for your informative answers!
  20. Replies
    9
    Views
    2,724

    text inputed by the user

    text inputed by the user
  21. Replies
    9
    Views
    2,724

    make text appear as an asterix

    The title says it all; please tell me how to make text appear as an asterix.
  22. Replies
    7
    Views
    5,014

    Thank you very much for your answers, they were...

    Thank you very much for your answers, they were very helpful
  23. Replies
    1
    Views
    1,001

    None

    this thread does not exist
  24. Replies
    7
    Views
    5,014

    I have getch() on my compiler, but could you...

    I have getch() on my compiler, but could you please tell me how to actually use it? I am an amateur, and I would really like an expert's help.
  25. Replies
    7
    Views
    5,014

    Input coordinates

    I have just started programming, and am writing a program to find the slope of a line, among other things. The code itself works fine, but it would be even better if I could put in numbers in the...
Results 1 to 25 of 26
Page 1 of 2 1 2