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

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

[复制链接]
STMCU-管管 发布时间:2022-8-3 18:04
阅读主题, 点击返回1楼
1 收藏 1 评论45 发布时间:2022-8-3 18:04
45个回答
STMWoodData 回答时间:2022-8-7 20:41:20
OneOS:为碎片化的物联网而设计,提升物联网的开发效率和开发成功率,让应用更快速更低廉
奇迹 回答时间:2022-8-8 08:27:13
  1. #include<stdio.h>
  2. #include<windows.h>
  3. void color(int m)
  4. {
  5.         HANDLE consolehend;
  6.         consolehend = GetStdHandle(STD_OUTPUT_HANDLE);
  7.         SetConsoleTextAttribute(consolehend, m);
  8. }
  9. int main()
  10. {
  11.     int s=0;
  12.     char str[]="   我喜欢你!  ";
  13.     double x,y;
  14.     for(y=1.3;y>=-1.1;y-=0.11)
  15.     {
  16.         for(x=-2;x<1.4;x+=0.05)
  17.         {
  18.             if((((x*x+y*y-1)*(x*x+y*y-1)*(x*x+y*y-1)-x*x*y*y*y)<0))
  19.             {
  20.                                 s++;
  21.                                 if(s>=378 && s<=392)
  22.                                 {
  23.                                         color(0x0b);
  24.                     printf("%c", str[s-378]);
  25.                     Sleep(50);
  26.                                 }
  27.                                 else
  28.                 {
  29.                         if(s%4==1){color(0x0a);printf("l");}
  30.                         if(s%4==2){color(0x0e);printf("o");}
  31.                         if(s%4==3){color(0x0c);printf("v");}
  32.                         if(s%4==0){color(0x0d);printf("e");}
  33.                         Sleep(1);
  34.                 }
  35.             }
  36.             else
  37.                 printf(" ");
  38.                     
  39.         }
  40.             printf("\n");
  41.     }
  42.     printf("按任意键退出!");
  43.     getchar();   
  44. }

复制代码


bandicam-2022-08-07-23-52-54-987.gif xin.jpg


落花又见流水 回答时间:2022-8-10 14:58:42
  1. public class DREAM {
  2. public static void main(String[] args) {
  3. while(true) {
  4. String Mylover = "";
  5. for (int i = 0; i < 3; i++) {
  6. char a = (char)(Math.random() * 26 + 65);
  7. Mylover = Mylover + a;
  8. }
  9. if (Mylover.equals("YOU")) {
  10. System.out.println("My dream comes true!");
  11. break;
  12. }
  13. }
  14. }
  15. }
复制代码


lospring 回答时间:2022-8-11 09:05:31
智能摇篮真是新手父母的神器
lospring 回答时间:2022-8-11 09:05:51
public class DREAM {
public static void main(String[] args) {
while(true) {
String Mylover = "";
for (int i = 0; i < 3; i++) {
char a = (char)(Math.random() * 26 + 65);
Mylover = Mylover + a;
}
if (Mylover.equals("YOU")) {
System.out.println("My dream comes true!");
break;
}
}
}
}

lospring 回答时间:2022-8-11 09:07:32
lineone:
if(you love me ?)
{
    printf("hellow word");
}
else if (you love others ?)
{
   go to lineone ;
}

lospring 回答时间:2022-8-11 09:08:07
lineone:
if(you love me ?)
{
    printf("hellow word");
}
else if (you love others ?)
{
   go to lineone ;
}

sealoong 回答时间:2022-8-11 09:16:17
https://www.bilibili.com/video/BV1ut4y1t7Hs
这是我最喜欢的传感器赋能工业物联网

以前st发布那个mems还专门开过一个视频宣讲会,略有了解。st的mems比市面上的同类产品具有更高的精度和更低的功耗,虽然我对这些不敏感,可这是一种进步,更是一种技术优势。而且还有配套的pc软件协助开发,视频中的应用也非常多,我印象最深的是那个手表,借助mems的手势控制,可以把按钮去掉了都。对于新手更关注的还是入门性,mems的开发板十分丰富,视频中介绍的就有8个,你想怎么测就怎么测。十分强大内容


y369369 回答时间:2022-8-11 09:24:37

学习了,这个做的很不错,蛮全面的
H7.png
lospring 回答时间:2022-8-11 09:25:14
import turtledef curvemove():  for i in range(200):    turtle.right(1)    turtle.forward(1)turtle.color('red')turtle.begin_fill()turtle.left(140)turtle.forward(111.65)curvemove()turtle.left(120)curvemove()turtle.forward(111.65)turtle.end_fill()turtle.penup()turtle.goto(-40, -50)turtle.pendown()turtle.write('',  font = ('SimHei', 15, 'bold'))turtle.hideturtle()
lospring 回答时间:2022-8-11 09:40:55
OneOS:为碎片化的物联网而设计,提升物联网的开发效率和开发成功率,让应用更快速更低廉

lospring 回答时间:2022-8-11 09:43:24
ST让物联网更智能
shenxiaolin_mai 回答时间:2022-8-11 15:37:04
#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();   
}


STMWoodData 回答时间:2022-8-11 15:37:07
蝶粉"七夕"礼|码上有”意“,才能”法“现爱

shenxiaolin_mai 回答时间:2022-8-11 15:37:23
#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();   
}


所属标签

ST中文论坛活动

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


最新内容

相似分享

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