Any one know how my program should be like when i need to pass in information for example "a" and display it in a display box... through serial communication.
"tell me wats wrong..." You're asking in the wrong forum, that's what's wrong! That's PC code - so you need to ask about it in a PC forum! What have you done to debug it? MSVC includes a debugger!