Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C (http://www.domainnameforum.org/forumdisplay.php?f=124)
-   -   scanf and structs in c (http://www.domainnameforum.org/showthread.php?t=151461)

C++ 03-23-2011 01:08 PM

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.