大学生用三行代码写“程序员情诗?/h1>
点击敎ͼ4662014-06-07 14:40:46 来源: q州成考网|gd-china.com
扬子晚报?U玫?烛光晚餐=我爱你?纸?占=我喜Ƣ你Q牵牉|+陪你?我会一直陪着你?……这些都out啦!q日Q南京航I天大学[微博]计算机科学与技术学院D办的“程序员情诗”创意三行代码挑战赛完美落幕Q工U男生们用程序和代码表达自己的爱。 “其实这L比赛形式也是借鉴了三行情诗,不过我们与专业知识联pL紧密Q这既展CZ工科L的浪漫情怀Q又增强了同学们学习E序设计语言的积极性,”南京航I天大学计机U学与技术学院段然老师告诉记者。 比如q首“爱情里的死循环”void missing_you() for(time=meet_you;;time++) missing_you()。它的意思是Q自从遇见了你,׃停地想你。这是计机U学与技术学院黄文浩的作品,time是一个变量,meet_you是一个常量,missing_you是一个函敎ͼfor是构建死循环。“读本科的时候,有h跟我说她做了一个梦Q梦里面她在~程序,而男朋友和小三搞在了一P然后大家说编E序Q编一个死循环Q让他们一直走Q一直走。”这正是黄文的创意来源。 “写l自己”:string me=“helloQworldQ”;while(life—?{me=“?Q?”;}me=“世界,你好Q”正如张国荣歌曲《我》唱的那P“我是我,是颜色不一L烟火”,每个人都是独一无二的。该作品的作者毛航宇同学告诉记者,之所以会有这L一个想法,也是他自q一个信念,他相信只有自?a href="http://www.zt3qq.cn/">q州成考网知道自己的h(hun)倹{写l自q情诗Q鼓p׃断向前。 妈妈和女朋友同时掉进水里Q你先救谁?遇到q样一个经典的问题Q金融通用E序做了一个解{。choice1=mother,choice2=you;if(mother>>river&&you>>river)answer=choice2。翻译过来意思就是,他会选择x友。“当时想着写着想Cq个创意Q觉得很搞笑写了出来。”金融通这样告诉记者。 (通讯?w 记?张琳)
推荐阅读Q?/p>
q东省专升本大学有哪些?q东有哪些大学可以专升本? http://www.zt3qq.cn/ksxxcc/n2869.html
q州暨南大学商务理自考全日制介,一q所需的费用大概多?nbsp;http://www.zt3qq.cn/zkwd/n2829.html
自考跟成考哪个好 http://www.zt3qq.cn/ksxxcc/n2356.html
工商企业理专业׃前景 http://www.zt3qq.cn/ksxxzxt/n1066.html
深圳大学工商企业理自考课E有哪些 http://www.zt3qq.cn/zxksqrz/n2428.html
专插本与成h高考的区别差异 http://www.zt3qq.cn/ksxuzn/n270.html
【责ȝ辑:q州自考招?q州成考网?/span>(Top) q回面端
扬子晚报?U玫?烛光晚餐=我爱你?纸?占=我喜Ƣ你Q牵牉|+陪你?我会一直陪着你?……这些都out啦!q日Q南京航I天大学[微博]计算机科学与技术学院D办的“程序员情诗”创意三行代码挑战赛完美落幕Q工U男生们用程序和代码表达自己的爱。 “其实这L比赛形式也是借鉴了三行情诗,不过我们与专业知识联pL紧密Q这既展CZ工科L的浪漫情怀Q又增强了同学们学习E序设计语言的积极性,”南京航I天大学计机U学与技术学院段然老师告诉记者。 比如q首“爱情里的死循环”void missing_you() for(time=meet_you;;time++) missing_you()。它的意思是Q自从遇见了你,׃停地想你。这是计机U学与技术学院黄文浩的作品,time是一个变量,meet_you是一个常量,missing_you是一个函敎ͼfor是构建死循环。“读本科的时候,有h跟我说她做了一个梦Q梦里面她在~程序,而男朋友和小三搞在了一P然后大家说编E序Q编一个死循环Q让他们一直走Q一直走。”这正是黄文的创意来源。 “写l自己”:string me=“helloQworldQ”;while(life—?{me=“?Q?”;}me=“世界,你好Q”正如张国荣歌曲《我》唱的那P“我是我,是颜色不一L烟火”,每个人都是独一无二的。该作品的作者毛航宇同学告诉记者,之所以会有这L一个想法,也是他自q一个信念,他相信只有自?a href="http://www.zt3qq.cn/">q州成考网知道自己的h(hun)倹{写l自q情诗Q鼓p׃断向前。 妈妈和女朋友同时掉进水里Q你先救谁?遇到q样一个经典的问题Q金融通用E序做了一个解{。choice1=mother,choice2=you;if(mother>>river&&you>>river)answer=choice2。翻译过来意思就是,他会选择x友。“当时想着写着想Cq个创意Q觉得很搞笑写了出来。”金融通这样告诉记者。 (通讯?w 记?张琳)
推荐阅读Q?/p>
q东省专升本大学有哪些?q东有哪些大学可以专升本? http://www.zt3qq.cn/ksxxcc/n2869.html q州暨南大学商务理自考全日制介,一q所需的费用大概多?nbsp;http://www.zt3qq.cn/zkwd/n2829.html 自考跟成考哪个好 http://www.zt3qq.cn/ksxxcc/n2356.html 工商企业理专业׃前景 http://www.zt3qq.cn/ksxxzxt/n1066.html 深圳大学工商企业理自考课E有哪些 http://www.zt3qq.cn/zxksqrz/n2428.html 专插本与成h高考的区别差异 http://www.zt3qq.cn/ksxuzn/n270.html
【责ȝ辑:q州自考招?q州成考网?/span>(Top) q回面端