-
近期文章
近期评论
- coolker 发表在《打造最快的Hash表》
- struggle 发表在《提供C语言教学课件(适用于初学者)》
- zhanghaibo 发表在《提供C语言教学课件(适用于初学者)》
- zhanghaibo 发表在《提供C语言教学课件(适用于初学者)》
- diys 发表在《C语言编程宝典(王大刚) 1.1 C 语言的产生与发展》
文章归档
- 2022 年十月
- 2014 年一月
- 2013 年十二月
- 2012 年十一月
- 2012 年七月
- 2012 年六月
- 2012 年五月
- 2012 年四月
- 2012 年三月
- 2012 年二月
- 2011 年十二月
- 2011 年十月
- 2011 年九月
- 2011 年八月
- 2011 年七月
- 2011 年六月
- 2011 年五月
- 2011 年四月
- 2011 年三月
- 2011 年二月
- 2011 年一月
- 2010 年十二月
- 2010 年十一月
- 2010 年十月
- 2010 年九月
- 2010 年八月
- 2010 年七月
- 2010 年六月
- 2010 年五月
- 2010 年四月
- 2010 年三月
- 2010 年二月
- 2010 年一月
- 2009 年十二月
- 2009 年十一月
- 2009 年十月
- 2009 年九月
- 2009 年八月
- 2009 年七月
- 2009 年六月
- 2009 年五月
- 2009 年四月
- 2009 年三月
- 2009 年二月
- 2009 年一月
- 2008 年十二月
- 2008 年十一月
- 2008 年十月
- 2008 年九月
- 2008 年八月
- 2008 年七月
- 2008 年六月
- 2008 年五月
- 2008 年四月
- 2008 年三月
- 2008 年二月
- 2008 年一月
- 2007 年十二月
- 2007 年十一月
- 2007 年十月
- 2007 年九月
- 2007 年八月
- 2007 年七月
- 2007 年六月
- 2007 年三月
- 2007 年二月
- 2007 年一月
- 2006 年十二月
- 2006 年十一月
- 2006 年十月
- 2006 年九月
- 2006 年八月
- 2006 年七月
- 2006 年六月
- 2006 年五月
- 2006 年四月
- 2006 年三月
- 2006 年二月
- 2006 年一月
- 2005 年十二月
- 2005 年十一月
分类目录
功能
分类目录归档:编程问题提问区
2008
10-19
10-19
大家好,下面是利用VC调的程序,总是通不过,请大家帮忙指正错误,谢谢!
#include"stdio.h"void main(){int n;int s(n);int sum;printf("input number\n");scanf("%d",&n);sum=s(n);printf("sum=%d\n",sum);}int s(int m){int i;for(i=m-1;i>....
Read More >
2008
10-18
10-18
自学C不久,请问为什么我这段代码,在Main的菜单中。要是输入了非数字就会出现死循环呢?请问我该如何解决?
#include<stdio.h>#include<stdlib.h>#include<conio.h>#include<math.h>
main(){ int a ; &nbs....
Read More >
#include <stdio.h>#include <dos.h>main(){ float num1,num2,result; char operator; char answer='Y';&....
Read More >
#include "stdio.h"#include "conio.h"
main(){ float y=0.0,x=0,a[3][6]; int i,j; for(i=0;i<3;i++) for(j=0;j<6;j++) &nb....
Read More >
2008
10-17
10-17
我想编的程序是这样的:
Enter the gallons used(-1 to end):12.8
Enter the miles driven:287
The miles/gallon for this tank was 22.421875
Enter the gallons used(-1 to end):10.3
Enter the miles dri....
Read More >
++操作容易C:\135\1.cpp(194) : error C2105: '++' needs l-
value
的报错!#include <stdio.h>
void main()
{
char a[5]={'A','B','C','D','E'},*p=a,i;
for(i=0;i<5;i++)
printf("%c",*a++)....
Read More >
2008
10-17
10-17
2008
10-16
10-16
我是一位学C语言的新手,我想把五个字符串连接在一起,我用了strcat函数,但怎么也连接不到一起。我的目地是这样的,str1=="@00WD",str2="0100",str3="00FF",str4="56",str5="*\r",把它们连接起来是"@00WD010000FF&\r"。我首先是把str1,str2,str3连接起来,变成"@00WD010000FF",然后调用子函数把"@....
Read More >
2008
10-16
10-16
#include <stdio.h>#include<iostream>#include<string>
using namespace std;
int length(char*[]);int length(int a);int main(){ char str[100]; int a,result1,result2; cou....
Read More >
2008
10-15
10-15
#include "Stdio.h"#include "Conio.h"f(int a[]){int i,*q;q=a;for(i=0;i<10;i++){if(i-5==0)*(q+5)=45; else *(q+i)=a[ i];}}int main(void){int i,*p,a[10];p=a;for(i=0;i<10;i++)scanf("%d",p++);f(a....
Read More >