Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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