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 difference between c++ and vc++?

693


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

1751


What is microsoft visual c++ 2010 x86 redistributable?

552


What is visual c++ runtime error?

592


What is microsoft visual c++ 2005 redistributable?

581






What is a wizard?

1776


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

564


Difference between getmessage, postmessage & peakmessage.

603


Explain some of commonly used methods provided by iunknown.

511


What is dao in vc ++?

543


Can I remove microsoft visual c++?

592


What is microsoft visual c++ 2015 redistributable?

587


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

647


Is visual c++ the same as c++?

569


What is microsoft visual c++ 2008 redistributable?

585