首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看C语言
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
double N(double,double);
int main()
{
    double x0 = 4.6;
    double e = 0.000001;
    printf("最小正根=%f\n",N(x0,e));
    system("pause");
return 0;
}
......................
阅读全部 | waili0713 贴于 2017年5月19日 21:35     hide bbsi
#include <stdio.h>
int main()
{
int g;
scanf("%d",&g);
float f,m,t,r;
printf("boy=1,girl=2");
printf("father:");
scanf("%f",&f);
printf("mother:");
scanf("%f",&m);
if (g==1)
......................
阅读全部 | 我zy 贴于 2017年5月18日 23:24     hide bbsi
#include <stdio.h>
int main()
{
int g;
scanf("%d",&g);
float f,m,t,r;
printf("boy=1,girl=2");
printf("father:");
scanf("%f",&f);
printf("mother:");
scanf("%f",&m);
if (g==1)
......................
阅读全部 | 我zy 贴于 2017年5月18日 23:21     hide bbsi
#include<stdio.h>
#include<stdlib.h>
typedef struct polynode
{
int coef;
int exp;
struct polynode * next;
}PNode;
PNode * Creat_Linkst (int n)
{
PNode * head, * p, * s;
int i;
......................
阅读全部 | buptmxb 贴于 2017年5月18日 23:05     hide bbsi
#include<stdio.h>
#include<stdlib.h>
typedef struct polynode
{
int coef;
int exp;
struct polynode * next;
}PNode;
PNode * Creat_Linkst (int n)
{
PNode * head, * p, * s;
int i;
......................
阅读全部 | buptmxb 贴于 2017年5月18日 23:04     hide bbsi
#include<stdio.h> 
#include<math.h> 
void main() 

 double D,q,E,B=0,b,X; 
 int i,m; 
 printf("本金:");
 scanf("%lf",&D); 
 printf("利率:"); 
 scanf("%lf",&q); 
printf("月份:");
scanf("%d",&m);  
......................
阅读全部 | gjjpxy 贴于 2017年5月17日 16:20     hide bbsi
#include<stdio.h> 
#include<math.h> 
void main() 

 double D,q,E,B=0,b,X; 
 int i,m; 
 printf("本金:");
 scanf("%lf",&D); 
 printf("利率:"); 
 scanf("%lf",&q); 
printf("月份:");
scanf("%d",&m);  
......................
阅读全部 | gjjpxy 贴于 2017年5月17日 16:20     hide bbsi
#include<stdio.h> 
#include<math.h> 
void main() 

 double D,q,E,B=0,b,X; 
 int i,m; 
 printf("本金:");
 scanf("%lf",&D); 
 printf("利率:"); 
 scanf("%lf",&q); 
printf("月份:");
scanf("%d",&m);  
......................
阅读全部 | gjjpxy 贴于 2017年5月17日 16:18     hide bbsi
输入字符串,实现单词的分离并计数
用函数
不知道为什么编译出来什么word【i】根本没有
没有语法错误。
strC是计数,记录每个word【i】出现地次数
str是保存字符串
word【】【】是一个单词一个word【i】
求帮忙看一下,自己debug了一整天都不行,初学C语言,拜托指点一下。
#include <stdio.h>
#include <string.h>
#include<conio.h>
#include<ctype.h>
......................
阅读全部 | 林雅南 贴于 2017年5月14日 17:36     hide bbsi
诚招实力C++编程人员,包日入5000+,有意的联系我Q1031251900
阅读全部 | a1031251900 贴于 2017年5月11日 11:19     hide bbsi
上一页 73 74 75 76 77 78 79 80 81 82 下一页