首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
#include <stdio.h>

int main() {
 printf("我高光泉保证\n\n");

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

 printf("\n\n绘制一个心形图案:");
......................
阅读全部 | 高光泉 贴于 2022年9月19日 13:17     hide bbsi
#include <stdio.h>

int main() {
 printf("我高光泉保证\n\n");

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

 printf("\n\n绘制一个心形图案:");
......................
阅读全部 | 高光泉 贴于 2022年9月19日 13:12     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绘制一个心形图案:");
......................
阅读全部 | qq1990086708 贴于 2022年8月30日 00:23     hide bbsi
#include <stdio.h>

FILE *pfile;
fopen_s(&pfile,"D:\\图片\\我的图片\\123.jpg","rb");
//////////////////////////////////////////
FILE *pfile = fopen("D:\\图片\\我的图片\\123.jpg","rb");
阅读全部 | ゐ丶僷ヂ諾 贴于 2022年8月27日 08:58     hide bbsi
/*--------------------------------list.h--------------------------------*/

/*
Remember:
If you want to delete a node or a list,
you should delete things that in this node or in this list at first.
You don't need to use function list_add.
Use typedef when you have a complex type!
*/

#ifndef _LIST_H
#define _LIST_H
......................
阅读全部 | W192547975 贴于 2022年8月23日 19:42     hide bbsi
/**

 * 题目:一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?两个完全平方数是多少?
 
 */

#include<stdio.h>
#include<math.h>

int main() {
     int a;
     double c,d;
......................
阅读全部 | naihe666 贴于 2022年8月23日 15:01     hide bbsi
/**
 * 【程序8】
 * 题目:输出9*9口诀。
 * 程序分析:分行与列考虑,共9行9列,i控制行,j控制列。
 */

#include<stdio.h>

int main() {
    int i,j,result;
    printf("\n");
    for (j=1;j<10;j++) {
......................
阅读全部 | dzyyyy 贴于 2022年8月14日 10:50     hide bbsi
/**
 * 【程序8】
 * 题目:输出9*9口诀。
 * 程序分析:分行与列考虑,共9行9列,i控制行,j控制列。
 */

#include<stdio.h>

int main() {
    int i,j,result;
    printf("\n");
    for (j=1;j<10;j++) {
......................
阅读全部 | dzyyyy 贴于 2022年8月14日 10:49     hide bbsi
/**
 * 【程序8】
 * 题目:输出9*9口诀。
 * 程序分析:分行与列考虑,共9行9列,i控制行,j控制列。
 */

// #include<stdio.h>

// int main() {
//     int i,j,result;
//     printf("\n");
//     for (i=1;i<10;i++) {
......................
阅读全部 | dzyyyy 贴于 2022年8月12日 17:19     hide bbsi
/**
 * 【程序6】
 * 题目:用星号输出字母C的图案。
 * 程序分析:可先用'*'号在纸上写出字母C,再分行输出。
 */

#include<stdio.h>

int main() {
    printf("   ****\n");
    printf("  *\n");
    printf(" *\n");
......................
阅读全部 | dzyyyy 贴于 2022年8月7日 18:04     hide bbsi
上一页 10 11 12 13 14 15 16 17 18 19 下一页