Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
MSVC initializer code
// Initializer/finalizer sample for MSVC and GCC/Clang. // 2010-2016 Joe Lowe. Released into the public domain. #include <stdio.h> #include <stdlib.h> #pragma section(".CRT$XCU",read) static void init() { printf("initialize 1\n"); } __declspec(allocate(".CRT$XCU")) static void (*init_)() = init; static void init2() { printf("initialize 2\n"); } __declspec(allocate(".CRT$XCU")) static void (*init2_)() = init2; int main( int argc, char** argv) { printf( "main\n"); return 0; }
run
|
edit
|
history
|
help
0
Template float/int comparison
VC++ error C2440 with combined use of non-type template parameters
C++ instantiation
Revers find file in windows
problem_soultion2
Project
#32
Get parameter type
kkk
ccloader