I have included the string and after calling a string variable in the header file in the strat. I get string string and string name for the destination city, 'String does not get a type name', even after doing the string call
// sortedListClass.h (some lines of comments ) # Include and Lieutenant; String & gt; Struct flightRec {int flightnumber; String origination; // Problem # 1 String DestinationCity; // problem # float cost 2; FlightRec * ptr; }; Typing flight rake * nodditter; #ifndef SORTEDLISTCLASS_H # defined SORTEDLISTCLASS_H #include & lt; Iostream & gt; # Include & lt; Cassert & gt; sortedListClass.h: 10: 5: error: a string ???? Is not a type of name
sortedListClass.h: 11: 5: error: a string ???
Am I asking what I am doing? >
This is called std :: string unless you use the on command (which you should not do on top of any).
Comments
Post a Comment