![]() |
| ||
| my #include <string> wont make "string" bold Hello, Can you please assist, why my Dev C++ program, wont see that I am trying to introduce the string library? Eaxmple: #include <iostream> int is bold, float is bold, but string is not... Can someone give me an idea why? I also tried <string.h>.Thanks for your assistance! |
| ||
| Re: my #include <string> wont make "string" bold Although it wont make it bold, I just realised it still uses it. So library is called after all. Sorry to waste anyone's time. |
| ||
| Re: my #include <string> wont make "string" bold Keywords: bold. Library types: normal. And std::string is from <string>, not <string.h>. |
| ||
| Re: my #include <string> wont make "string" bold Try #include <string>string.h is not meant for 'C++strings', it is for char* or 'C-strings' |
| All times are GMT -4. The time now is 8:51 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC