View Single Post
Join Date: Sep 2008
Posts: 273
Reputation: Sci@phy will become famous soon enough Sci@phy will become famous soon enough 
Solved Threads: 42
Sci@phy's Avatar
Sci@phy Sci@phy is offline Offline
Posting Whiz in Training

Re: error c2447(missing function header) old style formal list school style

 
0
  #2
Sep 26th, 2008
The code is horrible. You still have a lot to learn.
But first:
  1. float calculate_mile_per_hour(float miles, float minutes) //; there's no semicolon here!!!
  2. {
  3. float mile_per_hour;
  4. miles_per_hour = (miles * 60)/minutes);
  5.  
  6. return (mile per hour);
  7. }
Reply With Quote