Hello ppl,
I have just upgraded Dev-c++ to version 4.9.9.2...But i have a problem
Iam not able to convert an int to char in a stack of type char...
stack<char> s;
int dData;
while(dData!=13)
{
dData = getche();
if(dData==8)
s.pop(char(dData));
else
s.push(char(dData));
}
However this was working fine in Dev-c++ version 4...but does not work in
dev-c++ version 4.9.9.2
I get the error: "no matching function for call to 'stack<char>::pop(char)'
"
PLiz help guys...
Cheers...
--
---Deepesh Kapadia---
|