Forum: C++ Apr 17th, 2009 |
| Replies: 19 Views: 891 Look at the code here:
if (pos != -1)
{
goto badsearch;
}
I think you meant:
if (pos == -1) |
Forum: C++ Apr 11th, 2009 |
| Replies: 5 Views: 438 There are a lot of "bugs" in your code.
Frist, you miss the using namespace std; line before the main() function, so the compiler might not recognize cout and string.
You also missed a semicolon... |
Forum: C++ Dec 17th, 2008 |
| Replies: 5 Views: 395 We won't do your homework. You should provide us some code so we can know you've at least tried.
http://www.daniweb.com/forums/announcement8-2.html |
Forum: C++ Dec 11th, 2008 |
| Replies: 11 Views: 827 #include<iostream>
#include<string>
using namespace std;
#define IS_STRING 1
#define IS_CHARACTER 2
#define IS_INTEGER 3
#define IS_FLOAT 4 |
Forum: C++ Oct 30th, 2008 |
| Replies: 8 Views: 502 private:
double raduis;
I think you swapped these two letters |