Urbanisme  1.3.0
Projet visant à l'optimisation du placement de routes sur une surface. https://flodavid.github.io/Urbanisme
stdafx.h
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently, but
3 // are changed infrequently
4 //
5 #pragma once
6 #include <stdio.h>
7 // #include <tchar.h>
8 
9 // Others
10 #include "targetver.h"
11 
12 // To represent infinity
13 #define UNSIGNED_INFINITY std::numeric_limits<unsigned>::max()
14 
15 // For error and debug output
16 
17 #define STRINGIFY(x) #x
18 #define TOSTRING(x) STRINGIFY(x)
19 #define AT TOSTRING(__FILE__) ":l" TOSTRING(__LINE__)
20 
21 void error(const char *location, const char *msg);
22 void debug(const char *msg, const char *location);
23 
24 // For debugging logs
25 #include "debug.h"