Menu

string.h

2002-09-23
2012-09-26
  • Nobody/Anonymous

    I am taking a c++ programming class and we have gotten to strings.  When I try to use string.h with Dev-C++, it gives errors such as String undeclared.  I am copying the program straight out of a book, and it has worked with other compilers.  Please help, and if you need to, email me at FakeTigren@hotmail.com

     
    • Nobody/Anonymous

      Use

      #include<string>

      without the '.h'.

      Regards,
      ChuckB

       
    • Nobody/Anonymous

      Ah, thank you very much.  Can't thank you enough.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.