Console standard iInput functions
I am adapting C code written for Windows to Linux (SuSe 10.0).
The problem is what standard functions shall be used instead of _cgets and SetConsoleTitle that have been used in the original code: char keystr[10] = {4}; char * result; unsigned int number_signal; unsigned int type_id; SetConsoleTitle ("tvendor SIMULATION"); scgTraceExternalSignalMenu(ptr_menu); do { printf("\nEnter signal> "); while(TRUE) { result = _cgets(keystr); if (*result) break; } ...... Regards, yrauchwerger |
clearly NOT an intro. moved to Programming.
|
All times are GMT -5. The time now is 06:26 PM. |