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

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -