View Single Post
Join Date: Sep 2008
Posts: 429
Reputation: Denniz is on a distinguished road 
Solved Threads: 15
Denniz's Avatar
Denniz Denniz is offline Offline
Posting Pro in Training

Re: simple program problem - need help

 
0
  #2
Nov 9th, 2008
Some C compiler will give you a warning when your main function does not return an integer.

In this case, do the following changes to the main function:
  1. int main()
  2. {
  3. ......
  4. ......
  5. return 0;
  6. }
Reply With Quote