字体:
I forget c/c++ [#4008558@0 -ROLIA.NET 相约加拿大网上社区 之 枫下论坛 & 枫下部落, 枫下论坛主坛 ]

I forget c/c++

by lnljl (Nike) at 2007.10.22 16:39 (#4008558@0)
fetch first item
if sucess then
begin
var_last_1=null
var_last_2=null
var_last_3=null
var_last_4=null

current_item = fetch item
end
else
report Error

do while not end of list


fetch next Item
if success

if var_last_3 not null then var_last_4 = var_last_3
if var_last_2 not null then var_last_3 = var_last_2
if var_last_1 not null then var_last_2 = var_last_1
var_last_1 = current_item
current_item = fetch item

end do

if var_last_4 is null
report Error
else
report var_last_4

该话题已在历史区内,不能被修改或回复。       收藏    投诉
关闭窗口