Can anyone tell me what I am doing wrong?
This is my code:
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "template.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
This is my output when I try to build those few lines in VS2013:
1>------ Build started: Project: ConsoleApplication1, Configuration: Debug Win32 ------
1> ConsoleApplication1.cpp
1>d:\agk additional files\battle server c++\consoleapplication1\include\thread.h(20): error C2146: syntax error : missing ';' before identifier 'EntryPoint'
1>d:\agk additional files\battle server c++\consoleapplication1\include\thread.h(20): error C2433: 'AGK::AGKThread::STDCALL' : 'inline' not permitted on data declarations
1>d:\agk additional files\battle server c++\consoleapplication1\include\thread.h(21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\thread.h(31): warning C4183: 'EntryPoint': missing return type; assumed to be a member function returning 'int'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(32): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(35): error C2061: syntax error : identifier 'cLock'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(37): error C2065: 'lock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(38): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(38): error C2065: 'lock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(39): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(39): error C2227: left of '->Acquire' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(44): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(44): error C2227: left of '->Release' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(51): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(54): error C2061: syntax error : identifier 'cSpinLock'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(56): error C2065: 'lock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(57): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(57): error C2065: 'lock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(58): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(58): error C2227: left of '->Acquire' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(63): error C2065: 'm_pLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(63): error C2227: left of '->Release' must point to class/struct/union/generic type
1> type is 'unknown-type'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(70): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(75): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(75): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(96): error C2061: syntax error : identifier 'AGKSocket'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(112): error C2146: syntax error : missing ';' before identifier 'm_cBroadcaster'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(112): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(113): error C2146: syntax error : missing ';' before identifier 'm_cListener'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(116): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(144): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(164): error C2061: syntax error : identifier 'AGKSocket'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(198): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(198): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(214): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(214): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(214): warning C4183: 'GetVarLock': missing return type; assumed to be a member function returning 'int'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(214): error C2065: 'm_kVarLock' : undeclared identifier
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(235): error C2504: 'AGKPacket' : base class undefined
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(260): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(260): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(261): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(261): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(262): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(262): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(264): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(264): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(265): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(265): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(272): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(272): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(280): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(280): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(282): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\network.h(292): error C2061: syntax error : identifier 'AGKSocket'
1>d:\agk additional files\battle server c++\consoleapplication1\include\cimage.h(142): error C2146: syntax error : missing ';' before identifier 'm_pCompressLock'
1>d:\agk additional files\battle server c++\consoleapplication1\include\cimage.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\csprite.h(58): error C3861: 'memset': identifier not found
1>d:\agk additional files\battle server c++\consoleapplication1\include\csprite.h(325): error C2061: syntax error : identifier 'GLfloat'
1>d:\agk additional files\battle server c++\consoleapplication1\include\csprite.h(326): error C2061: syntax error : identifier 'GLfloat'
1>d:\agk additional files\battle server c++\consoleapplication1\include\csprite.h(329): error C2061: syntax error : identifier 'GLfloat'
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(59): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(59): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(60): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(60): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(61): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\ctext.h(61): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\skeleton2d.h(165): error C3861: 'fabs': identifier not found
1>d:\agk additional files\battle server c++\consoleapplication1\include\skeleton2d.h(235): error C3861: 'fabs': identifier not found
1>d:\agk additional files\battle server c++\consoleapplication1\include\skeleton2d.h(294): error C3861: 'fabs': identifier not found
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(312): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(312): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(313): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(313): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(314): error C2143: syntax error : missing ';' before '*'
1>d:\agk additional files\battle server c++\consoleapplication1\include\cspritemgr.h(314): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\agk additional files\battle server c++\consoleapplication1\include\agk.h(38): fatal error C1083: Cannot open include file: '../Collision/CollisionIncludes.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...