Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / How to initialize the type?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. How to initialize the type?
#2564
Posted by: 2003-08-26 14:27:05
   struct Entry{
      string name;
      int number;
   };
   Entry phone_book[3]
[code]
The source code above is from <<The c++ programing language>>,
The book don't say how to give the type Entry some value.
How to do this?
Thank you, and sorry for my poor English.

Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2022-12-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0