Home > Back-end >  Write WindowsApplication, how to read data from keyboard, and stored in the related variables?
Write WindowsApplication, how to read data from keyboard, and stored in the related variables?

Time:09-19

Is to build a window procedure based on graphics - books management system management system, demanding with buttons, menus, text box interactive graphics program,
So inevitably involves the data input,
But I found that, for a simple graphical interface program, once called Initgraphic () graphics initialization program, after can't for data input, the program will skip or appear a strange situation, anyhow is can't offer relevant variables by getchar or the scanf assignment,
Once the run the program, it jumping out the graphics, instead of waiting for my input, how?
Urgent for solution! Example is the best
  • Related