Search:

Type: Posts; User: devilboybf

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,708

    Here's what I have: #include ...

    Here's what I have:


    #include <iostream>
    #include <stdlib.h>

    using namespace std;

    float add ();
    float subtract ();
  2. Replies
    45
    Views
    5,036

    Thanks, I revised my code. =)

    Thanks, I revised my code. =)
  3. Replies
    7
    Views
    1,708

    I think I figured out my problem. At first I...

    I think I figured out my problem. At first I inputed a letter when it asked for a selection. I guess since I declared it as an int then it has to be a number. Any suggestions on how to bypass the ...
  4. Replies
    45
    Views
    5,036

    so that is another way to code cout

    so that is another way to code
    cout<<"Time is "<<ctime(&date)<<"/n"; ?

    Is the "endl" the proper way to code it?

    sorry getting off topic...
  5. Replies
    45
    Views
    5,036

    cout

    cout<<"Time is "<<ctime(&date)<<endl;

    I was just wondering what the "endl" is for. I saw it in the tutorials but don't know why it was there.

    Thanks!
  6. Replies
    7
    Views
    1,708

    Switch-case help

    Hello all,

    New to the forum and new to C++... Sorry if I sound like I'm a noob but I am... I just started playing with C++ yesterday and am following the tutorials on this site. I'm having a...
Results 1 to 6 of 7