|
-
Jan 6th, 2003, 01:36 PM
#1
Thread Starter
Frenzied Member
Dev C++ not compiling
#include<iostream>
inline float cube(const float s) {return s*s*s;}
int main() {
float side;
cin >> side;
cout << "Volume of cube with side" << side<< "is "
<< cube(side) << endl;
return 0;
}
Shouldn't that compile? I can't compile anything!! I just downloaded the new version today and it does the same thing as the old. I can't compile. Am I missing something?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|