This code (included in all of my source files):
Code:
//External links/includes
#ifndef XOR_LIBRARIES_HEADER
#define XOR_LIBRARIES_HEADER
#define WIN_32_LEAN_AND_MEAN
#include <iostream>
#include <fstream>
#include <cstdlib> //rand(), system()
#include <ctime> //used for random seed
#include <windows.h> //ShellExecute()
std::ios::sync_with_stdio(false); //a bit of optimization, because I don't use C i/o streams
#endif
Is generating these errors:
Code:
std::ios::sync_with_stdio(false);
error: expected `,' or `;' before '(' token
error: expected constructor, destructor, or type conversion before '(' token