You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodosius/examples/demo/main.cpp

23 lines
419 B

#include "module.h"
#include <iostream>
inline double g_version = 1.0;
int main( int argc, char **argv )
{
switch ( std::atoi( argv[ 1 ] ) )
{
case 0:
return 10;
case 1:
return 12;
case 2:
return 342;
case 3:
return 43;
case 4:
return 342;
default:
std::printf( "> g_version = %f, get_version = %f\n", g_version, get_version() );
}
}