Search:

Type: Posts; User: Zerohero11

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    2,394

    #include using namespace std; //...

    #include <iostream>
    using namespace std;

    // Declare a function "bigger" which takes 2 double arguments and returns boolean.
    bool bigger( double x, double y );
    int main()

    {
    int x, y, rb;
  2. Replies
    15
    Views
    2,394

    Ok so then just replace "x,y" with true, false...

    Ok so then just replace "x,y" with true, false correct?
  3. Replies
    15
    Views
    2,394

    ah ok, so... rb = bigger (double x, double...

    ah ok,

    so...
    rb = bigger (double x, double y)

    correct?

    Thanks for your help btw!
  4. Replies
    15
    Views
    2,394

    Ok I added the data type to "int" since the...

    Ok I added the data type to "int" since the variables passed will be integers. I ran the program, and it ran fine. Did I excute the program right from your stand point?
  5. Replies
    15
    Views
    2,394

    returning boolean did I do this right?

    #include <iostream>
    using namespace std;

    // Declare a function "bigger" which takes 2 double arguments and returns boolean.
    int bigger( double x, double y );
    int main()

    {
    int x, y, rb;
  6. Replies
    4
    Views
    1,395

    Can anyone else give me a few more insiders?

    Can anyone else give me a few more insiders?
  7. Replies
    4
    Views
    1,395

    So far I can only get the first line but it won't...

    So far I can only get the first line but it won't display right. It keep apearing in front of the horizontal line..



    int main()

    {

    int i,t,max;
  8. Replies
    4
    Views
    1,395

    Multiplication Chart - Little Help

    Ok, I think I pretty much have the majority of it down. All I need to do is add the multiples of each number to the chart, but I'm having a little trouble. * Noob *





    #include <iostream>...
  9. Thread: help!!

    by Zerohero11
    Replies
    8
    Views
    1,127

    I got it to work but warning C4101: 'salary'...

    I got it to work but

    warning C4101: 'salary' : unreferenced local variable

    Is one minor problem you might want to fix.

    Also remove the ")" from your program.


    #include<iostream>
  10. Replies
    17
    Views
    12,811

    Thanks for the help again guys!

    Thanks for the help again guys!
  11. Replies
    17
    Views
    12,811

    Thanks alot for you help!

    Thanks alot for you help!
  12. Replies
    17
    Views
    12,811

    I jsut want to make sure in all scenero's that...

    I jsut want to make sure in all scenero's that the program exected the calculations correctly. You seem like an experienced programer thats why I asked.
  13. Replies
    17
    Views
    12,811

    I see, As far as the program , when you ran it...

    I see,

    As far as the program , when you ran it did it work properly for you, and did the calculations correctly?
  14. Replies
    17
    Views
    12,811

    Thanks for the help. Can you explain what those...

    Thanks for the help. Can you explain what those librarys you added consist of?
  15. Replies
    17
    Views
    12,811

    I did this, and got better results, but still not...

    I did this, and got better results, but still not the proper execution. Basically the 3rd part of the program will not execute any answer at all.


    #include <iostream>
    using namespace std;
    ...
  16. Replies
    17
    Views
    12,811

    Program that finds the middle number

    What I'm trying to do is write a program to find the middle number of 3 sets of variables entered. I'm starting off doing it in basic fashion , not advanced using fuctions etc. This is the code I...
  17. Replies
    3
    Views
    1,611

    Alright, well I figured I need to change the...

    Alright, well I figured I need to change the loop, and x the percent by 100 so far. Still working on everything else.
  18. Replies
    3
    Views
    1,611

    Help with a small equation and loop

    I need to calculate how much time it will take to pay off a credit card. I'll take any help.




    #include <iostream>

    using namespace std;
  19. Replies
    12
    Views
    34,736

    The correct program: #include ...

    The correct program:



    #include <iostream>
    using namespace std;

    #include <math.h>

    int trigequation( int,int);
  20. Replies
    12
    Views
    34,736

    Thanks alot guys I got it to work. I thought it...

    Thanks alot guys I got it to work. I thought it was a major problem when it was just a few small minor errors.
  21. Replies
    12
    Views
    34,736

    I'm guessing about the prototyping right?

    I'm guessing about the prototyping right?
  22. Replies
    12
    Views
    34,736

    and when I add the brace it gives me this error....

    and when I add the brace it gives me this error.

    'main' : not all control paths return a value
  23. Replies
    12
    Views
    34,736

    I recieved this error when doing what you...

    I recieved this error when doing what you recomended.

    error C2601: 'trigequation' : local function definitions are illegal
    C:\Program Files\Microsoft Visual Studio\MyProjects\Trig...
  24. Replies
    12
    Views
    34,736

    I get this error when I add the brace at the end....

    I get this error when I add the brace at the end.

    warning C4715: 'main' : not all control paths return a value
  25. Replies
    12
    Views
    34,736

    Local Function definitions are illegal.....

    Hello everyone this is my first post.I was trying to make tihs program using function and everything seemed to be going great....until I compiled. This is just a project I want to work on myself....
Results 1 to 25 of 25