Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 8

7 Posted Topics

Member Avatar for CPPRULZ

Hi, The constructor will be called only when the instance is first created. In your function definenum you does not seem to be doing anything. So the value of your private variable remains zero (This is initialised in the constructor.)

Member Avatar for CPPRULZ
0
148
Member Avatar for sweeya

Hi i am trying to understand manipulators. Can someone explain what is happening here [code=C++] for (int i = 0; i < n; i++) { cout << setiosflags(ios::left) << setw(15) << item[i] << setw(8) << setprecision(0) << code[i] << setiosflags(ios::right) << setw(8) << setprecision(2) << setiosflags(ios::fixed | ios::showpoint) << cost[i] …

Member Avatar for grumpier
0
195
Member Avatar for sweeya

Hi, I have given only some part of the code related to my problem. I have problem while compliation. I have the problem in the constructor of the class RMstore. i Get the following compilation error rmremote_server.cpp: In function `int main()': rmremote_server.cpp:196: error: no matching function for call to `RMStore::RMStore(std::string)' …

Member Avatar for ArkM
0
130
Member Avatar for JD2000

Use the following to make the function call [code = C++] old_ship.overlaps(*new_ship); [/code] You have defined to function to catch a reference and you are sending pointer the object which would be a mismatch

Member Avatar for JD2000
0
135
Member Avatar for FrancisC07
Member Avatar for MosaicFuneral
0
112
Member Avatar for karang

You can directly make the call to the function as follows setStartupDirectory(m_pApplicationFolderNarrow);

Member Avatar for sweeya
0
129
Member Avatar for sweeya

Hi i have written a code for concatenation of two strings by overloading the string operator. The program works fine but i don't understand the sequence of steps happening. [code][Use language = C++] #include <iostream> using namespace std; class String { int len; char *p; public: String () { cout …

Member Avatar for seanhunt
0
399

The End.