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

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

587


Explain the important features of vc++?

606


What is splitter window in vc++?

713


How do I remove microsoft visual c++ 2015 redistributable?

588


What is microsoft visual c++ 2015 redistributable?

599






What is a wizard?

1780


What is odbc in vc ++?

635


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

618


What are the advantages of a message map

573


How can we use cmutex?

565


Do I need microsoft visual c++ on my computer?

591


Difference between critical section, mutex and semaphore.

632


Explain some of commonly used methods provided by iunknown.

517


How do I change visual code font?

595


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

579