ID:277399
 
#include <stdio.h>
#include <iostream.h>

void demostrationFunction()
{
cout<<"This is a function.\n";
}

int main()
{
cout<<"Hello world!\n";
demonstrationFunction();
return 0;
}


I'm not sure what I am doing wrong, I can't figure it out. I followed the tutorial, but I keep getting this error:

implict declaration of 'int demonstrationFunction(...)'

Help?
Dead_Demon wrote:
implict declaration of 'int demonstrationFunction(...)'
--^
void demostrationFunction()
--^
In response to BobOfDoom
BobOfDoom wrote:
Dead_Demon wrote:
implict declaration of 'int demonstrationFunction(...)'
--^
void demostrationFunction()
--^


...Thanks for making me feel stupid XD;
In response to Dead_Demon
Dead_Demon wrote:
...Thanks for making me feel stupid XD;

Typos, forgetting semicolons and stuff like that happen to everyone.