Here is the c pgm:
#include%26lt;stdio.h%26gt;
#include%26lt;limits.h%26gt;
void main()
{
int i=128;
showbits(i);
getch();
}
"when i compile this pgm, i didn't get any error. but when i tried to run i get this error " undefined symbol showbits". plz give me a solution.thanks in advance.
How to find "limits.h" header file exists in turbo c or not?i want to use "showbits" fn in c pgm.
header work perfectly but wats showbits() function is it being use corre3ctly check that
Reply:no compiler error usually == headers are OK.
I don's see anything called showbits in the limits.h. What are you trying to do here with this code?
Reply:Go to folder where your C or C++ is installed. Then go to TC folder. In that go to HEADER folder. There you should find it.
If its there then in your TC.exe file set the appropriate directory path.
I hope I answered your query successfully...
rose
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment