![]() |
scanf and structs in c
i have a function that works for integers. e.g. typedef int Telem; int readValue(Telem *testdata) { if (scanf("%d", testdata)!= 1) return 0; else return 1; }
|
| All times are GMT -4. The time now is 11:03 PM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.