主题:我学c语言
Ivon
[专家分:0] 发布于 2003-07-07 16:44:00
我在这里下载的tc2.0安装后直接运行它里面的程序示例.显示是"unable to open the include file".请问这个问题如何解决?是不是还需要安装库函数?那又在哪里能找到?
回复列表 (共459个回复)
221 楼
eice [专家分:0] 发布于 2004-05-10 10:55:00
我都看晕了。
唉,不看了
看教程去了。。。
222 楼
wozai03642 [专家分:0] 发布于 2004-05-11 18:12:00
楼上的兄弟谁知道C语言学习系统V3.2学习机的注册码
小弟万分感谢
223 楼
main() [专家分:0] 发布于 2004-05-12 11:55:00
[em12][em14]新手刚来,请大家多多帮助。小弟不胜感激
!
224 楼
abchuang [专家分:0] 发布于 2004-05-12 16:23:00
[em12]
我是新手!请问用什么软件学C好呢?
225 楼
kujingling [专家分:0] 发布于 2004-05-13 08:49:00
我希望我们在这儿可以真正的讨论编程的体会和感受
不要乱发帖子啊
那样我们进这个论坛还有什么意义啊![em6]
226 楼
weizhi963 [专家分:0] 发布于 2004-05-13 21:14:00
朋友们帮个忙啊!!!!!!!!!
#include<stdio.h>
#include<string.h>
void main()
{
void deal(char *temp[],int n);
int i;
char *temp[10];
printf("\nplease input 10 long char:\n");
for(i=0;i<10;i++)
scanf("%s",temp[i]);
deal(temp,10);
printf("the right 10 long char:\n");
for(i=0;i<10;i++)
printf("%s\n",temp[i]);
}
void deal(char *temp[],int n)
{
int j,k,a;
char *str;
for(k=0;k<n-1;k++)
{
a=k;
for(j=k+1;j<n;j++)
if(strcmp(temp[a],temp[j])>0)a=j;
if(a!=k)
{str=temp[k];temp[k]=temp[a];temp[a]=str;}
}
}
错在那里啊?谢谢!!!!!
227 楼
翌日 [专家分:0] 发布于 2004-05-14 15:45:00
各位朋友:大家好,小弟刚学c语言就遇到如下问题。我用的要turboc2,是下载的,不是安装版的。解压到c:盘,目录为c:\turboc2
源程序如下:
mian ()
{
printf ("good.\n");
}
运行后出现错误:错误提示是为
error: unable to create output file 'c:\turboc2\tc\noname.obj'
我把 options下的 direcories 更改如下:
include directores : c:\turboc2\include
library directores : c:\torboc2\lib
output directory : c:\torboc2\tc
turboc directory : C:\turboc2
请问各位高手指教错在那里?谢谢!
228 楼
郑福 [专家分:0] 发布于 2004-05-15 23:23:00
请问各位美女帅哥学C语言的重点是学习什么?[font=隶书][/font]
229 楼
liuke_007 [专家分:330] 发布于 2004-05-16 12:53:00
to 170楼
*p=&a;这不错啊!意思是:先定义一个指针p,在把a的地址赋给p.
230 楼
bang [专家分:0] 发布于 2004-05-18 00:56:00
二楼真好!顶
我来回复