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

int calculate(int Long,int Width);

int main()
{
    int m_Long;
    int m_Width;
    int result;

    printf("长方形的高度为: %d\n",Height);
......................
阅读全部 | wzh20061008 贴于 2020年8月7日 22:09     hide bbsi
#include <stdio.h>
int n;
int n;
int main()
{
n = 99;
printf("%p\n", &n);
return 0;
}
阅读全部 | lin5161678 贴于 2020年8月7日 09:50     hide bbsi
#include <stdio.h>

/*这是我的第一个C语言程序计算(a+b)-(a-b)*/
int main() {
int a,b;
scanf("%d %d",&a,&b);

    int c=a+b;
    int d=a-b;
    int result=c-d;
  //计算(a+b)-(a-b)=2b
printf("(%d+%d)-(%d-%d)=",a,b,a,b);
......................
阅读全部 | wanggood2019 贴于 2020年7月31日 21:21     hide bbsi
int ReadStuInfoFromFile(char *name, student **stu)
{
    FILE *f;
    student* stuTbl;
    int count = 0;
    *stu = NULL;

    if (name && stu != NULL){
        f = fopen(name, "rb");
        if (f != NULL){
            fread(&count, sizeof(count), 1, f);
            if (count > 0){
......................
阅读全部 | gougoudan 贴于 2020年7月28日 16:18     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:14     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:13     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:13     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:13     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:13     hide bbsi
#include<iostream>
#include<cmath>
using namespace std;
const double c=0.00265;
const double C=0.00025;
double xx(double t){
double tt=t/600;
double x=c+C*pow(0.109164*tt+1,-2.75229357798165);
return x;
}
int main()
{
......................
阅读全部 | zhabuye 贴于 2020年7月16日 01:13     hide bbsi
上一页 36 37 38 39 40 41 42 43 44 45 下一页