• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

Warning Message - Is it fixable ?


Hi,

I'm getting the following warning after compiling with Borland:

Call to function 'exit' with no prototype in function main

Can I do anything to correct this ?
0
andyw27
Asked:
andyw27
2 Solutions
 
cjjcliffordCommented:
include the standard library headers:

#include <stdlib.h>
0
 
Jaime OlivaresCommented:
Hi andyw27,
You will need to #include "stdlib.h" at the beggining of your file.
Good luck,
Jaime.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now