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++
This is a discussion on new programer help within the C++ Programming forums, part of the General Programming Boards category; im a bit new and when i try programing things a keep getting 'undeclared founction' and i try diffrent things ...
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?
OS: Windows XP Home Edition SP3, Windows 7 Ultimate Beta Build 7000
LANGUAGES: C++, VB6
SKILL: Novice/Intermediate
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).
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
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 << " ";
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.