Thanks guys it works but then my main proj is, I have to read an input file which consist of chars, like
1
1234
Then using ifstream I store them as char in the char array. I need to use individual numbers there to perform calculation, but when they are in the array I cannt convert it to interger one by one. Any solutions to that?