im a bit new and when i try programing things a keep getting 'undeclared founction' and i try diffrent things but that normly makes more problems what could i do to fix this using Dev-c++
Printable View
im a bit new and when i try programing things a keep getting 'undeclared founction' and i try diffrent things but that normly makes more problems what could i do to fix this using Dev-c++
We need to know what functions you're using.
Post your code?
Undeclared function simple means you tried to call a function that doesn't exist, or the compiler don't know its existence.
Check if you've included the proper header.
Also check if you haven't misspelled the name (remember, it's CaSe SeNsItIvE).
Also remember that C++ has overloading of functions, so writing
func( "hello world" );
whilst only implementing
void func ( int myVar );
will also cause a certain amount of fun.
using cout<<" "
Post your whole program, not random syntactic elements from the language reference manual which make no sense at all.
Perhaps you meant
using std::cout;
Or perhaps
cout << " ";
Or perhaps
std::cout << " ";