I installed c++ and started to write a new simple program.But i got a warning "Function should return a value". The source code is correct and the directories are also correct.
What should I do? Pls help....
Nandu Das
0
Newbie Poster
Recommended Answers
Jump to PostIf the compiler's error or warning says the function should return a value, then I'd try and have the function return a value. ;)
Prototype your functions, and make sure the actual function return types, match the return types of your prototypes.
All 4 Replies
Adak
419
Nearly a Posting Virtuoso
$urya
0
Light Poster
java_programmer
0
Junior Poster
$urya
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.