CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: typedef usage

Threaded View

  1. #1
    Join Date
    Jan 2008
    Posts
    60

    typedef usage

    typedef hash_map<int, list<string> > EXCEL_ROW;
    EXCEL_ROW row;
    why is typedef used here?

    couldn't i just say...
    hash_map<int, list<string> > row;

    Does it have any additional advantage to use the typedef method..
    Last edited by armen_shlang; April 1st, 2008 at 03:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured