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
~381 People Reached
Favorite Forums
Favorite Tags
c++ x 6
Member Avatar for r30028

I have a quick question regarding precision printing output to cout. I need a way to print a MINIMUM number of decimal place digits to cout and also possibly have a maximum number of decimal places printed. Also, I need a way to "undo" if you will a call to …

Member Avatar for r30028
0
133
Member Avatar for r30028

I'm having some trouble getting the shortened integer value of a fairly long double value. The double value in question is "1234567890123457024". When taking the int of it, such as: [CODE]int(value);[/CODE] This value is giving me a result of -2147483648, which is completely illogical due first to the fact that …

Member Avatar for vijayan121
0
187
Member Avatar for r30028

I'm having some trouble with dynamic memory allocation of a struct. The struct looks like this: [CODE]struct J { int w; int s; };[/CODE] During the execution of the program, the following line of code results in a crash, which when debugging was because of std::bad_alloc, which does not make …

Member Avatar for Salem
0
61