Skip to content

Instantly share code, notes, and snippets.

Created December 11, 2015 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d3bd959554b263df89c4 to your computer and use it in GitHub Desktop.
Save anonymous/d3bd959554b263df89c4 to your computer and use it in GitHub Desktop.
#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