Here's what I have:
#include <iostream>
#include <stdlib.h>
using namespace std;
float add ();
float subtract ();
Type: Posts; User: devilboybf
Here's what I have:
#include <iostream>
#include <stdlib.h>
using namespace std;
float add ();
float subtract ();
Thanks, I revised my code. =)
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 ...
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...
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!
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...