Friday, July 31, 2009

Error in turbo c++ programming.?

i have errors in the following programme after compiling.


#include%26lt;iostream.h%26gt;


#include%26lt;conio.h%26gt;


int main()


{ clrscr();


char ch='A';


int num = ch;


cout%26lt;%26lt;"The ASCII code for"%26lt;%26lt;ch%26lt;%26lt;"is"%26lt;%26lt;num%26lt;%26lt;"\n";


cout%26lt;%26lt;"Adding 1 to the character code :\n";


ch = ch+1'


num=ch;


cout%26lt;%26lt;"The ASCII code for"%26lt;%26lt;ch%26lt;%26lt;"is"%26lt;%26lt;num%26lt;%26lt;"\n";


return 0;


}


when i runs this programme the error comes-LINKER ERROR:UNABLE TO OPEN FILE "TCCLASSLIB".

Error in turbo c++ programming.?
I think u should paste this in new page..

wallflower

No comments:

Post a Comment