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 #3K
~586 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
c x 4
c++ x 3
pdf x 2

4 Posted Topics

Member Avatar for AAAKsu

Hi! Can anyone explain why the output of the code below is [B]6 7 7[/B] ? [CODE]#include <stdio.h> int main () { int a=5; printf ("%d%d%d",a++,a,++a); return 0; }[/CODE]

Member Avatar for Salem
0
73
Member Avatar for adiaforos

Hi adiaforos. As I understand it there is a simpler way of calculating the powernumbers. All powernumbers are made up of either power of 2 or power of 3 (or am I wrong?). I wrote the code below to produce 100 powernumbers of wich some are duplicates. Then you can …

Member Avatar for adiaforos
1
185
Member Avatar for NitaB

For the first problem you could put some if cases inside doOneSet( ) to catch the character passed into it, '+', '-' or '*'. Then depending on what the character was do the appropriate calculation.

Member Avatar for AAAKsu
0
220
Member Avatar for soccergad

[QUOTE=soccergad;1040179]This code when compiled ...saids it contains infinite loop but i don't how to fix it? can someone tell me what im doing wrong? ~thank you [CODE] #include <iostream> #include <string> using namespace std; // this program asks the user to order an ice cream int main() { string flavor …

Member Avatar for AAAKsu
0
108

The End.