c - Warning] data definition has no type or storage class [enabled by default] -
For college, I need to create a basic desk calculator using the template. I have managed to do most of these work, but this error message is on line 9 ( iScreenSetup (); :
"[Warning] No definition of data Type or storage class [enabled by default] "
Any tips?
#include" stdio.h "#include" conio.h "#include" stdlib.h "#include" string.h "/ * prototype * / iScreenSetup (); iDataCapture (); iCrocasAdata (); ReportIarport (); IXit (); / * and declare global variable * / Float FNM1 = 0.0; Float fNum2 = 0.0; f Lot FANs = 0.0; Int iOption = 0; int main (Zero) {/ * Screen Set * / iScreenSetup (); / * Prompt User and Capture Data * / iDataCapture (); / * Data Processing * / IcroSdata (); / * Generate report / IREport (); / * exit routine * / IEXIT ();} / * main * / *
There is no return type in your prototype. If nothing is returned, then it will be zero .
/ * prototype * / zero iScreenSetup ();
Comments
Post a Comment