你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

蝶粉"七夕"礼|码上有”意“,才能”法“现爱

[复制链接]
STMCU-管管 发布时间:2022-8-3 18:04
阅读主题, 点击返回1楼
1 收藏 1 评论45 发布时间:2022-8-3 18:04
45个回答
shenxiaolin_mai 回答时间:2022-8-11 15:37:51
#include<stdio.h>
#include<windows.h>
void color(int m)
{
        HANDLE consolehend;
        consolehend = GetStdHandle(STD_OUTPUT_HANDLE);
        SetConsoleTextAttribute(consolehend, m);
}
int main()
{
    int s=0;
    char str[]="   我喜欢你!  ";
    double x,y;
    for(y=1.3;y>=-1.1;y-=0.11)
    {
        for(x=-2;x<1.4;x+=0.05)
        {
            if((((x*x+y*y-1)*(x*x+y*y-1)*(x*x+y*y-1)-x*x*y*y*y)<0))
            {
                                s++;
                                if(s>=378 && s<=392)
                                {
                                        color(0x0b);
                    printf("%c", str[s-378]);
                    Sleep(50);
                                }
                                else
                {
                        if(s%4==1){color(0x0a);printf("l");}
                        if(s%4==2){color(0x0e);printf("o");}
                        if(s%4==3){color(0x0c);printf("v");}
                        if(s%4==0){color(0x0d);printf("e");}
                        Sleep(1);
                }
            }
            else
                printf(" ");

        }
            printf("\n");
    }
    printf("按任意键退出!");
    getchar();   
}


shenxiaolin_mai 回答时间:2022-8-11 15:38:14
#include<stdio.h>
#include<windows.h>
void color(int m)
{
        HANDLE consolehend;
        consolehend = GetStdHandle(STD_OUTPUT_HANDLE);
        SetConsoleTextAttribute(consolehend, m);
}
int main()
{
    int s=0;
    char str[]="   我喜欢你!  ";
    double x,y;
    for(y=1.3;y>=-1.1;y-=0.11)
    {
        for(x=-2;x<1.4;x+=0.05)
        {
            if((((x*x+y*y-1)*(x*x+y*y-1)*(x*x+y*y-1)-x*x*y*y*y)<0))
            {
                                s++;
                                if(s>=378 && s<=392)
                                {
                                        color(0x0b);
                    printf("%c", str[s-378]);
                    Sleep(50);
                                }
                                else
                {
                        if(s%4==1){color(0x0a);printf("l");}
                        if(s%4==2){color(0x0e);printf("o");}
                        if(s%4==3){color(0x0c);printf("v");}
                        if(s%4==0){color(0x0d);printf("e");}
                        Sleep(1);
                }
            }
            else
                printf(" ");

        }
            printf("\n");
    }
    printf("按任意键退出!");
    getchar();   
}


shenxiaolin_mai 回答时间:2022-8-11 15:38:47
来简单点:我爱你
shenxiaolin_mai 回答时间:2022-8-11 15:39:16
来简单点:我爱你
shenxiaolin_mai 回答时间:2022-8-11 15:39:40
#include<stdio.h> #include<windows.h> void color(int m) {         HANDLE consolehend;         consolehend = GetStdHandle(STD_OUTPUT_HANDLE);         SetConsoleTextAttribute(consolehend, m); } int main() {     int s=0;     char str[]="   我喜欢你!  ";     double x,y;     for(y=1.3;y>=-1.1;y-=0.11)     {         for(x=-2;x<1.4;x+=0.05)         {             if((((x*x+y*y-1)*(x*x+y*y-1)*(x*x+y*y-1)-x*x*y*y*y)<0))             {                                 s++;                                 if(s>=378 && s<=392)                                 {                                         color(0x0b);                     printf("%c", str[s-378]);                     Sleep(50);                                 }                                 else                 {                         if(s%4==1){color(0x0a);printf("l");}                         if(s%4==2){color(0x0e);printf("o");}                         if(s%4==3){color(0x0c);printf("v");}                         if(s%4==0){color(0x0d);printf("e");}                         Sleep(1);                 }             }             else                 printf(" ");          }             printf("\n");     }     printf("按任意键退出!");     getchar();    }
shenxiaolin_mai 回答时间:2022-8-11 15:43:25
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:43:47
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:44:05
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:44:30
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:44:59
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:46:22
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:47:07
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 15:48:01
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

shenxiaolin_mai 回答时间:2022-8-11 16:34:10
if(mountain.arris==None):
    if(river.water==None):
        if(winter.thunder==True):
            if(summer.snow==True):
                if(sky.height==ground.height):
                    i.withyou=False
else:
    i.withyou=True
山无陵, 江水为竭, 冬雷震震, 夏雨雪, 天地合, 乃敢与君绝!

VegardCheng 回答时间:2022-8-11 17:10:55
7V{9$_8{)AO2PQ(((DU97AO.png
看好无线蓝牙的发展,Matter就快出来了,通用性更强,ST不是传统的无线厂商,期待ST对无线性能的突破,带来更多更好更易用的产品!

所属标签

ST中文论坛活动

即日起开启活动话题入口,之后的活动统一都放在此处,欢迎大家的加入!


最新内容

相似分享

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版