#include "stdafx.h" #include "iostream" string test(int i); int _tmain(int argc, _TCHAR* argv[]) { for(int i = 0; i <= 10; i++) { std::cout << test(i) << "\n"; } return(0); } string test(int i) { return("Hello World" + i + "."); }