注册 登录
编程论坛 C语言论坛

编简单生日蛋糕

_13580013 发布于 2021-10-16 10:04, 2159 次点击
怎样编辑出一个小蛋糕。
1 回复
#2
自由而无用2021-10-16 10:40
//online parser: https://www.bccn.net/run/
程序代码:
#include <stdio.h>

/*   iiiiiiiiii
    |:H:a:p:p:y|
    |♥~  18  ~♥|
  ------------------
  |^^^^^^^^^^^^^^^^|
  |:B:i:r:t:h:d:a:y|
  | ♥~ Darling ~♥  |
  ~~~~~~~~~~~~~~~~~~
*/

int main(int argc, char *argv[])
{
    puts("     iiiiiiiiii");
    puts("    |:H:a:p:p:y|");
    puts("    |♥~  18  ~♥|");
    puts("  ------------------");
    puts("  |^^^^^^^^^^^^^^^^|");
    puts("  |:B:i:r:t:h:d:a:y|");
    puts("  |♥ ~ Darling ~ ♥|");
    puts("  ~~~~~~~~~~~~~~~~~~");
   
    return 0;
}


[此贴子已经被作者于2021-10-16 10:42编辑过]

#3
疯哈2021-10-30 18:21

#4
自由而无用2021-10-30 18:36
yep, its not very fine design, and thats not my totally mind
because of the online parser has a limitation of time exceeding, so I dont know how to use a timer without a timeout message
its possible to use a timer to let this static cake to be dynamic, like an animation, and the timer is that the one-frame trigger
1