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
~760 People Reached
Favorite Forums
Favorite Tags
c++ x 9
c x 2
Member Avatar for Mac.Z

Hi everyone, Sorry for the long title! What I want to know is whether it's possible to convert specified elements of array of char to int using some fuction ? let's say we have char x[10], x[0] = '9', x[1] = '2' so I want to have 92 in a …

Member Avatar for WaltP
0
79
Member Avatar for Mac.Z

Hi, I can't get cin.getline to work properly, I'm using it inside a for loop.. it gets the input sucessfuly when the loop is executed for the first time(i=0), but it doesn't wait to take any input on the next times..the program just moves to the next line.. [code=c++] #include …

Member Avatar for John A
0
103
Member Avatar for Mac.Z

Hello, let's say the user enters a value in this format xx:xx:xx where xx is an integer, how can I assign each xx to integer vars? I though of everything I know.. can't use getline(),getchar() bcuz they accept characters only, can't use cin either.. thought of storing the xx:xx:xx on …

Member Avatar for Mac.Z
0
212
Member Avatar for Mac.Z

Hello, How to read an input(string) from the user keyboard without displaying it on the I/S, but to disply a character that I specify like (*) instead of the actual inputted character.. and if possible to store the entry on array right now, I can't find any replacement for getch() …

Member Avatar for iamthwee
0
260
Member Avatar for Mac.Z

Hello, I'm getting started with C++ and have some questions about the variable types: 1)The size of a variable type, is it defined by the compiler or computer or both? and why it differ from one to another? 2)Isn't [I][B]short int[/B][/I] supposed to hold smaller data than [I][B]int[/B][/I] can hold …

Member Avatar for John A
0
106