Created
December 11, 2015 16:06
-
-
Save anonymous/d3bd959554b263df89c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <Windows.h> | |
#include <iostream> | |
double function(double arg) | |
{ | |
std::cout << "Function: Much easier to find me this way! " << function << std::endl; | |
std::cout << arg << std::endl; | |
return arg*2; | |
} | |
void function2() | |
{ | |
std::cout << "Function2: This is function2." << std::endl; | |
} | |
int main() | |
{ | |
for(;;) | |
{ | |
Sleep(2500); | |
function(3.14); | |
function2(); | |
Sleep(25); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment