why file cannot open?

jx_ch 2000-08-11 09:08:00
I put several line at the beginning of main() to open a file.
open() or access() can return successfully,
while fopen() always return NULL;
why?
...全文
129 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jx_ch 2000-08-11
  • 打赏
  • 举报
回复
It's surely not the sorts of programming.(It's simply a test line);
What I want to know is whether there are some environmental factor that take effect(factors as stack,open file num at a time I can exclude).
By the way, It's small project compling with using BC3.1 in small mode.
Wingsun 2000-08-11
  • 打赏
  • 举报
回复
你是如何写的,能拿来看一看吗?

69,336

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧