ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Is forward declaration of methods necessary in c?

<< < (2/2)

For method #2, there's no reason to write function prototypes (and it's not required for neither C nor C++).
-f0dder (January 09, 2009, 01:51 PM)
--- End quote ---

I got your point… but I have seen people almost “killing” others to prove that method#2 should have a forward declaration…. But I could not find a online link which can explain in depth that there is no need for forward declaration in method#2….


[0] Message Index

[*] Previous page

Go to full version