![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Message | RDM00 | UNIX for Dummies Questions & Answers | 2 | 10-06-2006 03:43 PM |
| SQL Error Message | kakashi_jet | Shell Programming and Scripting | 4 | 07-12-2006 04:27 AM |
| CSH Error Message | Latha Nair | Shell Programming and Scripting | 6 | 10-22-2003 09:27 AM |
| Error Message | Uni | UNIX for Dummies Questions & Answers | 2 | 09-24-2002 08:56 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
C++ map program - Error message
Hi All
I am compiling a STL map program in HP-UX using aCC compiler #include <iostream.h> #include <sys/map.h> #include <string> #include <string.h> int main() { map<string, long> directory; } $ aCC map3.cpp Error 318: "map3.cpp", line 7 # A template name was expected instead of 'map'. Did you forget to define the template? map<string, long> directory; ^^^^^^^^^^^^^^^^^ Is there any problem in the code or the way of compilation ? Regards Dhanamurthy |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|