No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
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 … | |
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 … | |
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 … | |
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() … ![]() | |
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 … |
The End.