cool, that made it go from 7 errors to only 1:
error C2470: 'drawTriangle' : looks like a function definition, but there is no parameter list; skipping apparent body
I googled error C2470 and this is what it says:
Code:
Visual C++ Concepts: Building a C/C++ Program
Compiler Error C2470
Error Message
'function' : looks like a function definition, but there is no parameter list; skipping apparent body
A function definition is missing its argument list.
The following sample generates C2470:
Copy Code
// C2470.cpp
int MyFunc {}; // C2470
void MyFunc2() {}; //OK
int main(){
MyFunc();
MyFunc2();
}