emanonchao
V2EX  ›  C

用 TAILQ 创建队列,一个队列里面能有不同的 struct 吗?

  •  
  •   emanonchao · Aug 24, 2015 via iPhone · 1303 views
    This topic created in 3957 days ago, the information mentioned may be changed or developed.
    建队列之前,先要用 TAILQ_HEAD 声明一个 head ,这其中有一个参数是先前定义的 struct 的类型。那这样的话,如何实现在一个队列里面存放不同的结构呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5253 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    ♥ Do have faith in what you're doing.