From: Mikko L. <laz...@us...> - 2004-06-12 07:32:20
|
Update of /cvsroot/rtk/rtk/test/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1506 Modified Files: buffer0.cpp Log Message: small change Index: buffer0.cpp =================================================================== RCS file: /cvsroot/rtk/rtk/test/core/buffer0.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** buffer0.cpp 14 Mar 2004 12:01:30 -0000 1.1 --- buffer0.cpp 12 Jun 2004 07:32:12 -0000 1.2 *************** *** 51,59 **** { Buffer buf; ! printf("Initial size: %d", buf.GetSize()); buf.SetSize(256); ! printf("After resizing: %d", buf.GetSize()); getchar(); } // main() --- 51,71 ---- { Buffer buf; ! ! printf("Initial allocated: %d\n", buf.GetAllocated()); ! printf("Initial size: %d\n", buf.GetSize()); buf.SetSize(256); ! ! printf("After resizing allocated: %d\n", buf.GetAllocated()); ! printf("After resizing size: %d\n", buf.GetSize()); ! ! buf.Fill(1); ! ! #if 0 ! buf.ToFile("C:\\dump"); ! #endif getchar(); + + return 0; /* make compiler happy */ } // main() |