首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
|AA||BB||CC|
阅读全部 | adminkkp 贴于 2023年6月9日 17:38     hide bbsi
hello, world..
dwdwdwd
阅读全部 | adminkkp 贴于 2023年6月9日 17:37     hide bbsi
#include <stdio.h>
int main() {

}
阅读全部 | adminkkp 贴于 2023年6月9日 17:31     hide bbsi
#include <stdio.h>

int main() {
printf("我在编程中国学C语言\n\n");

// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}

printf("\n\n绘制一个心形图案:");
......................
阅读全部 | 雪岩归来 贴于 2023年5月19日 23:25     hide bbsi
#include<stdio.h>
 #include<math.h>
 #include<windows.h>
 #include<time.h>
 #define U 0.1
 #define V 0.053
 void SetColor(unsigned short ForeColor,unsigned short BackGroundColor)
 {
     HANDLE hCon=GetStdHandle(STD_OUTPUT_HANDLE);
     SetConsoleTextAttribute(hCon,(ForeColor%16)|(BackGroundColor%16*16));
 }
 int main()
......................
阅读全部 | ZHURONG2464 贴于 2023年5月10日 15:48     hide bbsi
<svg onload=console.log(233)>
阅读全部 | 猪头226 贴于 2023年4月5日 22:29     hide bbsi
<script>alert(vulnerable)</script>
阅读全部 | l2060962312 贴于 2023年3月29日 20:43     hide bbsi
#include <stdio.h>
#include<windows.h>
int main()
{
    float x,y,a;
    for(y=1.5;y>-1.5;y-=0.1)
    {
    for(x=-1.5;x<1.5;x+=0.05)
    {
    a=x*x+y*y-1;
    putchar(a*a*a-x*x*y*y*y<=0.0?'*':' ');
    
......................
阅读全部 | 门中人ysl 贴于 2023年3月22日 20:25     hide bbsi
#include <stdio.h>

int main() {


printf("\n\n绘制一个心形图案:");

for (float y = 1.5f; y > -1.5f; y -= 0.1f) {
for (float x = -1.5f; x < 1.5f; x += 0.05f) {
float a = x * x + y * y - 1;
putchar(a * a * a - x * x * y * y * y <= 0.0f ? '*' : ' ');
}
......................
阅读全部 | zzzzjj 贴于 2023年3月18日 22:03     hide bbsi
#include <iostream>
 using namespace std;
int main()
{
    
    int n;
double s=0;
cin>>n;
for(int i =1;i<=n;i++)
s=s+1.0/i;
cout<<s;
    return 0;
......................
阅读全部 | 陈淑瑜 贴于 2023年3月17日 13:09     hide bbsi
上一页 1 2 3 4 5 6 7 8 9 10 下一页