I was trying to create a file, like:

CreateFile("C:\\windows\\desktop\\var.txt", ... );

but I can't figure out how to change "var" to whatever I want as in javascript you can do:

alert("hello, " +name+"!");

where "name" is an input, how can i do this in C++? Sorry if i am being incoherent, but i don't really know how to say it.