c++爱心代码
#include <iostream>
#include <string>
#include <cstdio>
#include <cmath>
using namespace std;
int main() 
{
	int c = 0;
	system("color 0c");
	string str = "I love vicky ";//这里可以修改成你想要的文字
	for (float i = 2.5;i > -2.0;i -= 0.12) 
	{
		for (float j = -2.5;j < 2.1;j += 0.05) 
		{
			float a = i * i + j * j - 4;
			if (a * a * a - j * j * i * i * i < -0.0) 
			{
				int n = c % str.length();
				putchar(str.at(n));
				c++;
			}
			else 
				printf(" ");
		}
		printf("\n");
	}
	system("pause");
	return 0;
}
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇