Tom_Linux
May 24th, 1999, 11:00 AM
how can i do this:
int a = 1;
char s;
s=a;
int a = 1;
char s;
s=a;
|
Click to See Complete Forum and Search --> : C++ programming under linux Tom_Linux May 24th, 1999, 11:00 AM how can i do this: int a = 1; char s; s=a; Ravi Srivatsav June 1st, 1999, 09:02 AM if i have understood your problem correctly then this looks simple.write back if i have not understood your problem statement correctly Ravi #include<iostream.h> void main() { int i=1; char s; s=i; cout <<int(s); } codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |