hi i just bought the C++ Complete on this website and im following along with the video tutorial and on the second video i fall into this problem im following along and they start doing new functions and mines not working the same? im guessing cause i have a newer version of microsoft visual studios? theirs is 2003 or something mines 2010. how can i start a new function iv noticed alot of things already where i have to go online and google some of this stuff out cause its out of date.

in the video they do

Code:
main()
{
  // stuff stuff stuff
}
but why is it now i have to do

Code:
void main()
{

}
or int main()? and this is what my code looks like to start a new function

Code:
#include <iostream>

using namespace std;

void main()
{
	int tempint = 45;

	cout << "Hello World!" << tempint << endl;

	void newFunc();
}

void newFunc()
{
	cout << "rawr" << endl;
}
so basicly why did theirs work back in 2003 or w.e but now i have to write all this out in the 2010 version? and how do i start a new function now?

also it dosnt give me no errors the way i just posted to you but it also dosnt print out "rawr" but will post out "Hello World!" with no problem.