标题:DEV-C++ 功能限制
只看楼主
vfdff
Rank: 6Rank: 6
等 级:侠之大者
威 望:8
帖 子:2172
专家分:425
注 册:2005-7-15
结帖率:79.17%
 问题点数:0 回复次数:0 
DEV-C++ 功能限制
void interrupt ( *oldhandler)(__CPPARGS);
void interrupt newhandler(__CPPARGS) /* 新的时钟中断处理函数 */
{
TimerCounter++; /* increase the global counter */
oldhandler(); /* call the old routine */
}
难道 DEV-C++ 不能编写 DOS 模式的中断程序吗 ?
我上面的代码是一个程序中的一个小段,我以前使用TC 运行通过的,但是现在使用 DEV-C++ 编译不能通过
提示:22 C:\Program Files\DEV-CPP\mywork\interupt\show_time.c syntax error before '*' token ()就是上面红色字体显示的那行有错误

搜索更多相关主题的帖子: void 函数 increase counter before 
2007-11-06 17:42



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-183985-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.781898 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved