Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Dev c++ wont let me use string variable

Options
  • 03-01-2006 4:56pm
    #1
    Closed Accounts Posts: 1,061 ✭✭✭


    I know that some (older?) versions of borland will allow it but the latest version of dev c++ won't let me use it.
    #include <iostream.h>
    #include <string>
    #include <cstdio>
    #include <cstdlib>
    .......
    ........
    
       	string name;
    

    Error:
    11 D:\cstuff\lpr2.cpp `string' does not name a type


    Help please


Comments

Advertisement