||=== Build file: "no target" in "no project" (compiler: unknown) ===|
D:\programs\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\4.9.2\..\..\..\libmingw32.a(main.o):main.c:(.text.startup+0xa7)||undefined reference to `WinMain@16'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
||=== Build file: "no target" in "no project" (compiler: unknown) ===|
D:\ChromeDownloads\FmlDevelope\FmlDevelope\StockFunc.cpp||In function 'int MYMACLOSE(CALCINFO*)':|
D:\ChromeDownloads\FmlDevelope\FmlDevelope\StockFunc.cpp|83|error: 'max' was not declared in this scope|
D:\ChromeDownloads\FmlDevelope\FmlDevelope\StockFunc.cpp|83|note: suggested alternative:|
D:\programs\CodeBlocks\MinGW\lib\gcc\mingw32\4.9.2\include\c++\bits\stl_algobase.h|261|note: 'std::max'|
D:\ChromeDownloads\FmlDevelope\FmlDevelope\StockFunc.cpp|90|error: 'min' was not declared in this scope|
D:\ChromeDownloads\FmlDevelope\FmlDevelope\StockFunc.cpp|90|note: suggested alternative:|
D:\programs\CodeBlocks\MinGW\lib\gcc\mingw32\4.9.2\include\c++\bits\stl_algobase.h|240|note: 'std::min'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
要怎么做才能用MAX MIN这两个啊