期末了,最后三道。
Ex. 34Write a program which reads lines from a text file into a linked list where
the length of the line inside a list item is dynamically allocated.
这里的和linked有关的内容,不是很看的懂,请问中文相关的材料叫什么,哪里有。
Ex. 35
Write a program which declares a structure to hold a persons name and age
in a header file.
Program asks user to enter names and ages of at least three persons.
Program must be divided in three different files:
- file which contains main function (and other functions as needed)
- file which contains function that asks user to enter an integer
- file which contains function that asks user to enter a string
All function prototypes and type definitions must be in header file(s)
学了结构,但是怎么把内容写进头文件里不是很懂,请问哪里有材料
Ex. 36
Write a program which reads a test file and prints the file contents.
File name is either given as a command line parameter or requested from
user. If user did not enter filename on command line then user is asked to
enter the file name.
什么叫打印目录啊。。中文内容。。谢谢
写完后天拿给老师过目
请大家帮忙,一个多礼拜c语言从零开始,因为好像快没分发帖了,希望大大们给的东西详细点
当然有例子更好啦,哈哈。
希望功德圆满!
谢谢帮助过小弟的各位大侠,感激不尽。