Could anyone point out what I'm doing wrong?

Code:
#include <stdafx.h>
#include <iostream.h>
#include <stdio.h>

string userName;

string getName() {
	userName = "Newb";
	return userName;
}

void main(int argc, char* argv[]) {
	string name = getName();
	printf("Hello " + name\n");
}