正在加载图片...
实现方法 /方法 initialize的实现 // Declare structure and functions # include“Clbh #include < iostream> #include <cassert> using spacename std const int increment = 100; //Quantity of elements to add when increasing storage void initialize( Stash*, int sz) S-Size sz S->quantity=0 S->storage =0 S->next=0;实现方法 //方法initialize 的实现 // Declare structure and functions: #include “Clib.h” #include <iostream> #include <cassert> using spacename std; const int increment = 100; //Quantity of elements to add when increasing storage void initialize ( CStash * s, int sz ) { s->size = sz; s->quantity = 0; s->storage = 0; s->next = 0; }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有