User profile: ar2007

User info
User name:ar2007
History
Joined:
Number of posts:199
Latest posts:

Passing same type object by reference?
sorry mistake. passed value. http://www.cplusplus.com/doc/tutorial/functions/

Passing same type object by reference?
constructor 2 is called because passing object by [s]reference[/s] value on "func( frisky)" add 'co...

Using cin to input the number of times a while loop will run.
change line count = usernum + 1 ; with count += usernum + 1 ; else you have infinite loop [code] ...

"->" Program Not Working
[quote] That ain't nice. The static member exists even without any object instances. Your uninitiali...

"->" Program Not Working
[code] #include <cstddef> #include <iostream> using namespace std; struct abc { static int de...