-
February 25th, 2005, 07:55 PM
#1
Begginer
Hey, im really new to c++ im in like a class right now at my school, but anyway. I use Larewnseville press textbooks they have an lvp folder. and i downloaded that from their site. its libraries for the include statements, anyway whenever i try to incluse the lvp/string library it gives me these errors:
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(59) : error C2065: 'strlen' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(62) : error C2065: 'strcpy' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(346) : error C2065: 'strncmp' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(374) : error C2065: 'strcmp' : undeclared identifier
Error executing cl.exe.
Anyone know whats wrong?
thanks in advance guys im gunna like fail this class if i dont get help this weekend
-
February 25th, 2005, 10:25 PM
#2
Re: Begginer
Unless you post the actual code we won't be able to tell you much if anything at all.
-
February 25th, 2005, 11:27 PM
#3
Re: Begginer
Originally Posted by B-80
Hey, im really new to c++ im in like a class right now at my school, but anyway. I use Larewnseville press textbooks they have an lvp folder. and i downloaded that from their site. its libraries for the include statements, anyway whenever i try to incluse the lvp/string library it gives me these errors:
What the heck is a "lvp/string" library ? I've never heard of that.
Originally Posted by B-80
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(59) : error C2065: 'strlen' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(62) : error C2065: 'strcpy' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(346) : error C2065: 'strncmp' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\lvp\string.cpp(374) : error C2065: 'strcmp' : undeclared identifier
Error executing cl.exe.
By the looks of those errors, I would say that you are missing the string header file. Another words, write "#include <string>" at the top of your C++ file.
Imo, this belongs in the Non-Visual C++ forum, :shrug: .
-
February 26th, 2005, 05:25 AM
#4
Re: Begginer
Well...it looks you are missing some header files here...make sure you have set the path to the include directory within the project options and that the appropriate header is actually being inlcuded in 'string.cpp'...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|