How do you define a function in vc++?

Answer Posted / dinesh

to add a function in a class in vc++ environment
we can select the class view properties then right click at
the class and then click on add method or function.

or we can simply add the declaration in .h file
and definition in cXX file

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you handle drag and drop in ole?

674


What is vcredist?

702


Explain some of commonly used methods provided by iunknown.

588


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

654


What is visual c++ used for?

654






How do I change visual code font?

669


What is the use of message map? Advantages of a message map.

651


Explain pointer to the constant and constant pointer?

583


How can we use cmutex?

643


What is a microsoft visual c++ 2008 redistributable?

627


What is a copy constructor? What is the need for it?

646


What is cmutex?

656


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

650


What is the Use of the Developer Studio Editor?

2234


What is microsoft visual c++ used for?

638