need some advice on displaying values
Ok, the topic is quite misleading but more or less, it spreads my difficulties.
So far in my work of Windows Programming, i realised i always have trouble finding the values of my variables. For ETC. im currently working with GetCurrentDirectory and GetModuleFilename. In the functions, im supposed to pass a TCHAR buffer for the function to retrieve my file path, but the problem is, i don't know how to display the value, if only i know whats the value den i can understand more abt what im working with. I tried using the breakpoint on my VisualC++ but the values returned as 0*blahblah blah, i think those r pointers address. I wanna use MessageBox to display the values, i think thats the easiest way but i have no idea how should i go on with doing it.
Can someone tell me how do i use a MessageBox or something relevant to display the Values of a variable/struct/macro or anithing ? I believe i should be looking for MessageBox that works like printf("%d",<Variable name>) Can someone advice ?