Search:

Type: Posts; User: trippedwire

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,198

    problem solved, i was just being stupid and i put...

    problem solved, i was just being stupid and i put the types in the function call.
  2. Replies
    6
    Views
    4,198

    help with fraction division function

    i am working on a fraction calculator using functions and i'm stuck. when i compile my code i get an error that says function fracDiv cannot take 0 parameters... can anyone help? here's my code so...
  3. Replies
    10
    Views
    7,518

    i want the function to count the number of vowels...

    i want the function to count the number of vowels and the main part to print out the results. tried if ( isVowel(ch) ) vowel++; but it still prints out 0.



    #include <iostream>
    #include...
  4. Replies
    10
    Views
    7,518

    counting vowels

    After this program reads in a file, I want it to count all the vowels in the file and then output how many vowels there are. Right now it runs without any errors, but it always gives the number of...
  5. Replies
    21
    Views
    5,201

    I live in a dorm also, but they sell these things...

    I live in a dorm also, but they sell these things called laptop locks.($5 at any office supply store) I just tied one end to my bed and attached the other end to my laptop. That way if they try to...
  6. Replies
    9
    Views
    2,306

    problem solved. thanks everyone for your help!

    problem solved. thanks everyone for your help!
  7. Replies
    9
    Views
    2,306

    still not working... whenever i enter .05, .10,...

    still not working... whenever i enter .05, .10, or .25 cents it doesn't work. it will work for pennies and also all the dollars.



    //...
  8. Replies
    9
    Views
    2,306

    cool, the program works now! BUT.... it's...

    cool, the program works now!

    BUT.... it's giving me incorrect answers.... for example, if i input .05 cents it tells me i get 1 quarter back when i should get 1 nickel back. that means i've...
  9. Replies
    9
    Views
    2,306

    thanks for the help! now i don't have any...

    thanks for the help!

    now i don't have any errors after building and compiling, however once i execute the program it won't run properly. any ideas why?

    here's my updated code:



    //...
  10. Replies
    9
    Views
    2,306

    adding a function to a program

    I have this program that takes an amount of change and then tells how many of each type of coin you will receive back. I want to change this program so that a function will handle all of the...
  11. Replies
    6
    Views
    910

    ah, okay.... makes sense. thanks

    ah, okay.... makes sense. thanks
  12. Replies
    6
    Views
    910

    i don't want nYears to be constant....

    i don't want nYears to be constant....
  13. Replies
    6
    Views
    910

    Sorry.

    Sorry.
  14. Replies
    6
    Views
    910

    help with compounded interest

    The code below was supposed to display interest yearly like:
    Year 1 $1000
    Year 2 $1100
    Year 3 $1210

    Problem is it will display the value for the last year for all 3 years... what am i doing...
Results 1 to 14 of 16