`

] IT男专用表白程序

    博客分类:
  • c++
阅读更多

l连接:http://blog.csdn.net/tianyazaiheruan/article/details/8193112

[c++]代码库

001 #include<iostream.h>
002 #include<windows.h>
003 #include<stdio.h>
004 #define stoptimeshort 40
005 #define stoptimelong 100
006 void main()
007 {
008 //////////////////
009 charch[10];
010 intf[9][36]={ 0,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,
011 0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,
012 0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,
013 0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,1,
014 0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,1,
015 0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,
016 0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,
017 0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,
018 0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0
019 };
020 ints[9][21]={ 0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,
021 0,1,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,0,
022 1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,
023 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,
024 0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,
025 0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,
026 0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,
027 0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,
028 0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,
029 };
030 intt[9][22]={ 0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,
031 0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,
032 1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,
033 1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,
034 0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,
035 0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,
036 0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,
037 0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,
038 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,
039 };
040 system( "title I Love You");
041 //////////////////
042 printf( "%s"," ");
043 Sleep ( stoptimelong );
044 printf( "%s","其");
045 Sleep ( stoptimeshort );
046 printf( "%s","实\n");
047 ////////////////////////////////
048 printf( "%s"," ");
049 system( "color 72" );
050 Sleep ( stoptimelong );
051 printf( "%s","有");
052 Sleep ( stoptimeshort );
053 printf( "%s","一");
054 Sleep ( stoptimeshort );
055 printf( "%s","句");
056 Sleep ( stoptimeshort );
057 printf( "%s","话\n");
058 ///////////////////////////
059 printf( "%s"," ");
060 system( "color 79" );
061 Sleep ( stoptimelong );
062 printf( "%s","一");
063 Sleep ( stoptimeshort );
064 printf( "%s","直");
065 Sleep ( stoptimeshort );
066 printf( "%s","藏");
067 Sleep ( stoptimeshort );
068 printf( "%s","在");
069 Sleep ( stoptimeshort );
070 printf( "%s","我");
071 Sleep ( stoptimeshort );
072 printf( "%s","心");
073 Sleep ( stoptimeshort );
074 printf( "%s","里\n");
075 /////////////////////////////
076 printf( "%s"," ");
077 system( "color 7c" );
078 Sleep ( stoptimelong );
079 printf( "%s","可");
080 Sleep ( stoptimeshort );
081 printf( "%s","是\n");
082 ///////////////////////////////
083 printf( "%s"," ");
084 system( "color 7d" );
085 Sleep ( stoptimelong );
086 printf( "%s","我");
087 Sleep ( stoptimeshort );
088 printf( "%s","没");
089 Sleep ( stoptimeshort );
090 printf( "%s","有");
091 Sleep ( stoptimeshort );
092 printf( "%s","勇");
093 Sleep ( stoptimeshort );
094 printf( "%s","气");
095 Sleep ( stoptimeshort );
096 printf( "%s","对");
097 Sleep ( stoptimeshort );
098 printf( "%s","你");
099 Sleep ( stoptimeshort );
100 printf( "%s","说\n");
101 ///////////////////////////////
102 printf( "%s"," ");
103 system( "color 7e" );
104 Sleep ( stoptimelong );
105 printf( "%s","今");
106 Sleep ( stoptimeshort );
107 printf( "%s","天\n");
108 //////////////////////////////
109 printf( "%s"," ");
110 system( "color 7a" );
111 Sleep ( stoptimelong );
112 printf( "%s","我");
113 Sleep ( stoptimeshort );
114 printf( "%s","终");
115 Sleep ( stoptimeshort );
116 printf( "%s","于");
117 Sleep ( stoptimeshort );
118 printf( "%s","鼓");
119 Sleep ( stoptimeshort );
120 printf( "%s","起");
121 Sleep ( stoptimeshort );
122 printf( "%s","勇");
123 Sleep ( stoptimeshort );
124 printf( "%s","气\n");
125 ///////////////////////////////
126 printf( "%s"," ");
127 system( "color 7b" );
128 Sleep ( stoptimelong );
129 printf( "%s","我");
130 Sleep ( stoptimeshort );
131 printf( "%s","要");
132 Sleep ( stoptimeshort );
133 printf( "%s","对");
134 Sleep ( stoptimeshort );
135 printf( "%s","你");
136 Sleep ( stoptimeshort );
137 printf( "%s","说:\n");
138 ///////////////////////////////
139 printf( "%s"," ");
140 system( "color 79" );
141 Sleep ( stoptimelong );
142 printf( "%s","我");
143 Sleep ( stoptimeshort );
144 printf( "%s","…\n");
145 /////////////////////////////////
146 printf( "%s"," ");
147 system( "color 72" );
148 Sleep ( stoptimelong );
149 printf( "%s","我");
150 Sleep ( stoptimeshort );
151 printf( "%s","…");
152 Sleep ( stoptimeshort );
153 printf( "%s","…\n");
154 //////////////////////////////////
155 Sleep ( stoptimelong );
156 system( "color fc" );
157 for( int i=0; i<9; i++ )
158 {
159 cout<<" ";
160 for( int j=0; j<36; j++ )
161 {
162 if( f[i][j]==0 )
163 cout<<" ";
164 else
165 cout<<"*";
166 }
167 cout<<endl;
168 Sleep ( 100 );
169 }
170 /////////////////////////////////////
171 line:
172 printf( "%s"," ");
173 Sleep ( stoptimelong );
174 printf( "%s","你");
175 Sleep ( stoptimeshort );
176 printf( "%s","愿");
177 Sleep ( stoptimeshort );
178 printf( "%s","意");
179 Sleep ( stoptimeshort );
180 printf( "%s","接");
181 Sleep ( stoptimeshort );
182 printf( "%s","受");
183 Sleep ( stoptimeshort );
184 printf( "%s","我");
185 Sleep ( stoptimeshort );
186 printf( "%s","吗");
187 Sleep ( stoptimeshort );
188 printf( "%s","?(Y/N)");
189 ////////////////////////////////////
190 cout<<endl;
191 cout<<" ";
192 cin>>ch;
193 Sleep ( stoptimelong );
194 if( ch[0]=='y'||ch[0]=='Y')
195 {
196 system( "color fc" );
197 for( int i=0; i<9; i++ )
198 {
199 cout<<" ";
200 for( int j=0; j<21; j++ )
201 {
202 if( s[i][j]==0 )
203 cout<<" ";
204 else
205 cout<<"*";
206 }
207 cout<<endl;
208 Sleep ( 100 );
209 }
210 Sleep ( 3000 );
211 }
212 else
213 {
214 if( ch[0]=='n'||ch[0]=='N')
215 {
216 system( "color 0f" );
217 for( int i=0; i<9; i++ )
218 {
219 cout<<" ";
220 for( int j=0; j<22; j++ )
221 {
222 if( t[i][j]==0 )
223 cout<<" ";
224 else
225 cout<<"*";
226 }
227 cout<<endl;
228 Sleep ( 100 );
229 }
230 printf( "%s"," ");
231 Sleep ( stoptimelong );
232 printf( "%s","心");
233 Sleep ( stoptimeshort );
234 printf( "%s","碎");
235 Sleep ( stoptimeshort );
236 printf( "%s","了");
237 Sleep ( stoptimeshort );
238 printf( "%s","……\n");
239 }
240 else
241 gotoline;
242 }
243 system( "color 0f" );
244 system( "pause" );
245 }

[代码运行效果截图]

 

IT男专用表白程序
分享到:
评论

相关推荐

    程序员表白专用程序

    "程序员表白专用程序"就是一个这样的创意项目,它利用JavaScript(简称JS)这门强大的前端编程语言来为程序员们提供一个独特的方式来向心仪的对象表白。JavaScript是Web开发的基础,广泛应用于网页交互、浏览器扩展...

    表白专用小程序

    在IT行业中,编程往往被视为理性的、逻辑的,而这款“表白专用小程序”则打破了这一固有印象,将技术与情感完美融合。它可能包含了多种编程语言的元素,如HTML、CSS、JavaScript等,用于构建交互式的网页或应用程序...

    程序员表白专用程序 表白专用代码.zip

    在IT行业中,程序员们往往以其独特的方式表达情感,其中之一就是编写特别的程序来向心仪的人表白。这个名为“程序员表白专用程序 表白专用代码”的压缩包文件,显然是为那些希望通过编程语言展示爱意的程序员准备的...

    表白专用实例小程序

    作为一名合格的程序员,要时刻尾自己的女朋友创造一点浪漫的气息,

    程序员像妹子表白专用代码

    "程序员像妹子表白专用代码"这个主题展示了编程艺术的一面,如何利用技术来创造个性化和独特的体验,尤其是在情感交流上。以下是对这个话题的详细解读: 1. **编程语言的魅力**:表白代码通常会使用各种编程语言,...

    程序员向妹子表白专用代码

    更复杂一点的,可能会利用ASCII艺术生成心形图案,或者编写一个小程序,让对方猜谜语,猜对后显示表白信息。 标签"表白代码"意味着这个压缩包里的内容可能是一系列的示例代码,每一种都是一种独特的表白方式。...

    程序员表白专用代码

    "程序员表白专用代码"这个主题,就是程序员们利用编程语言进行创意表白的一种方式。下面,我们将深入探讨这个话题,了解如何通过编程语言来传达爱意。 1. **编程语言的艺术性** - 编程不仅仅是一种实用技术,它也...

    表白软件--表白专用

    在提供的压缩包中,"表白软件--表白专用.exe"是一个可执行文件,这通常意味着它是Windows操作系统下的应用程序。用户下载后双击运行这个文件,就能启动表白软件。这个.exe文件很可能包含了整个软件的全部代码和资源...

    屌丝程序员向女神表白专用神器

    总之,“屌丝程序员向女神表白专用神器”这个压缩包,不仅展示了IT技术的无限可能性,也反映了程序员群体对情感表达的独特理解和创新。它提醒我们,无论是技术还是爱情,用心和创新才是最重要的。无论表白成功与否,...

    程序员专用表白特效

    "程序员专用表白特效"就是一个很好的例子,利用代码和技术实现浪漫的表白场景,为爱增添科技色彩。这个资源包提供了华丽的表白特效,旨在帮助程序员们用特别的方式向心仪的人表达感情。 首先,我们要理解“特效”在...

    网页向女友告白的专用特效

    在这个告白程序中,JavaScript可能被用来实现特效,如动画、时间触发事件等,增加告白的浪漫氛围。 接下来,我们要了解的是Web应用的架构。如果这是一个Web应用,那么可能使用了ASP.NET框架,这是微软提供的一个...

    表白专用APP

    在IT行业中,开发一款“表白专用APP”是一个充满创意和技术挑战的任务。这样的应用程序结合了情感表达、用户体验设计以及多媒体技术,旨在为用户创造出一个个性化且浪漫的表白场景。以下是对这款APP及其相关知识点的...

    程序员像妹子表白专用代码.7z

    "程序员像妹子表白专用代码"这个压缩包文件,很可能包含了一些编程语言编写的情书或者互动程序,旨在帮助程序员们以技术的方式来展现自己的情感。下面我们将深入探讨这个主题,并涵盖相关知识点。 首先,我们要理解...

    程序员像妹子表白专用代码.zip

    这个名为“程序员像妹子表白专用代码.zip”的压缩包文件显然蕴含着一个程序员用心制作的浪漫告白。在这里,我们将深入探讨这个主题,理解如何利用编程语言进行创意表达,以及可能涉及到的编程知识。 首先,我们可以...

    情人节、女朋友过生日表白专用

    在IT行业中,编程不仅仅是...总的来说,这个“表白专用代码”提供了一个将编程技术与浪漫创意结合的实例,展示了IT技术的多面性和趣味性。无论是为了表白还是提升自己的编程技巧,都可以从这个源码中获得启发和学习。

    程序员像妹子表白专用代码.rar

    标题“程序员像妹子表白专用代码.rar”揭示了这个压缩包的特殊用途,它包含了程序员们为向心仪对象表白而精心编写的代码。这类代码通常富有创意,利用了编程语言的独特性来传达爱意。 描述中的“打开直接使用”意味...

    基于HTML5的程序猿表白专用动画.zip

    【本人专注IT领域】:有任何使用问题欢迎随时与我联系,我会及时解答,第一时间为您提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 【适合场景】:相关项目设计中...

Global site tag (gtag.js) - Google Analytics