-1
私は明日のデータ構造について最終試験を持っています。 suplemantary質問を分散させた。そのうちの1つは下です。これを扱ううちに、私は3行目と4行目で立ち往生しています。 "B(2、A)"とはどういう意味ですか? "X < int> C(3、5);"という行が4つ目の問題です。私はBが待ち行列だと知っていますが、Xは何ですか?事前に感謝しますスタック、キューの無効化
Draw a diagram that shows the data structures created when the following code is executed:
1-void main (void)
2-{ Queue<int> A; for (int i=0; i<5; i++) A.QInsert(i);
3-X < Queue <int> > B (2, A);
4-X <int> C (3, 5);
5-Stack <X <int> > D; for (int i=5; i<6; i++) D.Push (C)
あなたは良いC++の本を読むべきです、[ここ](http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list)は良いリソースです – Tejendra
そして先生、その試験のテキストを書き留めた人は誰でも、私はvoid main(void)を窒息させた後に読むことができませんでした... – roalz