"Float" tag is case sensitive, you can't use "float" instead.
You also have a space in a variable: "g_sHost name" and I told you that you still didn't understand what you're storing, just make simple variables because it will confuse people who read your code.
You also have a space in the print's arguments: "szHostnam e"