PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
b93902HW
[作业] compiler 作业五 c--
楼主:
ddio
(冲一个吧笨蛋!)
2007-06-06 22:42:06
那个...助教给的source 还有 binary 好像无法compile过课程网页的
“ A simple C
作者:
sophialiege
(with friends)
2007-06-06 22:46:00
#include <CMM.c>
作者: lweunice
2007-06-06 23:15:00
改了之后sample.c第20行的 scanf("%d",&I__1); 有问题好像是中间参数吃不下去?
作者:
sophialiege
(with friends)
2007-06-06 23:55:00
READ() -> read() not scanf(...)
作者: iippchen (忙碌的上班族)
2007-06-07 00:24:00
lib.o的IO都是针对int,real似乎没有定义?
作者:
sophialiege
(with friends)
2007-06-07 00:32:00
因为同名procedure吃不同type的parameter已经是function overloading了, 所以若要加上real的功能需要在sysio.h另外定义几个function如readfloat之类的
作者: iippchen (忙碌的上班族)
2007-06-07 09:37:00
所以real和int都是用read(),write()吗
作者:
sophialiege
(with friends)
2007-06-07 10:43:00
只有int
继续阅读
Re: [作业] compiler homework5
sophialiege
Re: [作业] compiler homework5
usoko
[助教] CA单班Project1 Demo
LinYJ
[助教] [助教] CA单班Project2
LinYJ
Re: [作业] compiler homework5
sophialiege
Re: [作业] compiler homework5
sophialiege
Re: [作业] compiler homework5
wens
Re: [作业] compiler homework5
sophialiege
[作业] compiler homework5
sophialiege
Re: [助教] compiler hw5
sophialiege
Links
booklink
Contact Us: admin [ a t ] ucptt.com