Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Constractors

$
0
0
Hello
I'm starting learning c++ i have some questions about constructors
for example: why i can declare classname tpm1;this will create an object with defult constractor ,or classname tmp1(10,8) this will also create an object whith thoose values ,but if i declare classname tmp1(); it dose not work ?!
Thx

Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>