• 欢迎访问废江's博客 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏本站吧

Koch Curve

Koch Curve
QuestionWrite a program which reads an integer n and draws a Koch curve based on recursive calles of depth n.The Koch curve is well known as a kind of fractals.You can draw a Ko……继续阅读 »

站点默认 3个月前 (04-11) 90浏览 0评论0个赞

Dictionary

Dictionary
QuestionYour task is to write a program of a simple dictionary which implements the following instructions:insert str: insert a string str in to the dictionaryfind str: if the d……继续阅读 »

站点默认 3个月前 (04-09) 84浏览 0评论0个赞

stl-二分查找binary_search和sort

stl-二分查找binary_search和sort
复习字符串 //重新复习一下字符串,三种表现形式1.字符串常量;2 存放于数组中,以‘\0'结尾;3.string对象//主要用char一维数组存放字符串(第二种形式)//用scanf和cin读入字符串时候,会自动添加结尾的\0,,cin和scanf会读入到空格为止,#include&……继续阅读 »

站点默认 7个月前 (12-21) 92浏览 0评论0个赞