自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Print the macro number

#define NUMBER 10if you want to print the number 10 on the screen, the code is:     printf(“%d“,NUMBER); - END -

2004-08-23 22:59:00 616

原创 No return value when using recrusion

The following code will pass the complie, but with wring message in Borland C++Builder 6.0:     [C++ Wring] EX14PG197.c(99): W8070 Function should return a valueWhat shall I do to remove the message?

2004-08-23 22:32:00 907 1

原创 Shall I keep the previous version?

     If I have found something wrong with my code, I try to modify it. After doing that, shall I keep the previous for refrence? If the answer is true, how could I do it properly? (e.g. record the mod

2004-08-23 08:19:00 593

原创 The last Node of Link List

The Last node should pointer to itself, as following:     Node *z = new Node;     z->Next = z;That could display the records N rather than N+1.The display condition should be written as:    

2004-08-20 11:03:00 623

原创 Something about float divide

The experession     fVolume = CalculateCylinderVolume(fRadius,fHeight) / 3;will be all right, while:     fVolume = (1/3) * CalculateCylinderVolume(fRadius,fHeight) ;will be wrong, the result is 0.00-E

2004-08-19 21:10:00 618

原创 The Program Extention

Problem Description:                 A manufactured item can have one of the solid shapes cone,                cylinder or rectangle and can be made from one of a number of                materials,

2004-08-18 22:06:00 565

原创 Grid Table Style Print

If you want print a report as following:Staff no.  Hours Worked  Pay rate  Gross paydddd       dd                     dd           ddThe code is:printf("/nStaff no.  Hours Worked  Pay rate  Gross pay"

2004-08-10 21:33:00 548

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除