![]() |
Lib files
Hi,
Does anyone know, in my other compiler(Turbo c++), to use functions like GetInteger(), and stuff like that, I had to attach a .lib file to the project. How do you do that in Visaul c++ 6.0? Do you need to. Also, there does'nt seem to be the same ones. In turbo, the one I attached for GetInteger() was cslib.lib, but there is not that library in Visual. Is there one that replaces it. Thanks Levi |
Re: Lib files
I guess GetInteger is not a function of C and some additional libraries have provided that and so I dont think it will be available in Visual Studio. There are other ways to do this in VC++ like atoi and itoa ...
|
Re: Lib files
Ok, I'll have to work on that. But is there a way to connect .lib files to the project. Thanks
Levi |
Re: Lib files
use PRAGMA
The following pragma causes the linker to search for the your library while linking. The linker searches first in the current working directory and then in the path specified in the LIB environment variable. #pragma comment( lib, "your library name" ) |
Re: Lib files
Thank you everyone for their help.
|
Re: Lib files
YOu are always welcome Buddy
|
Re: Lib files
Quote:
|
Re: Lib files
i tried itoa but couldnt get its thie=rd field can you please help
|
| All times are GMT +5.5. The time now is 17:33. |