作者richardl003 (飞行岩)
看板C_and_CPP
标题[问题] 搞不清楚要做什麽
时间Wed Feb 11 14:46:27 2009
这是我们第一次的作业
但我看也看不懂
再这个版爬文爬了很九
但是还是不知道该怎麽做
请问我该买什麽书来看吗
或是可以用中文跟我说这是什麽样的观念吗
该做什麽事
我用字典把每个字查了还是不知道该怎麽做
Implements a doubly-linked list – that’s a linked list which is linked
backward and forward
Populates it with X random integer values, between 0 and MAX in value, where
X and MAX are taken from the command line:
“dblprog 20 40” would create a linked list with 20 random values in the
range 0-40.
Prints the list out forwards and then in reverse
Demonstrates inserting a value 31337 in position 7, and printing the list
again
You must use a class for this!
Program should be a command line program in Visual C++ 2008
Just submit the .cpp and .h files. Don’t select “precompiled headers” when
you build please.
Please name your project “dblprog” – that way, we can grade just by
cutting and pasting
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.115.50.10
1F:推 gundan:双向链结串列 02/11 14:55
2F:推 stonehomelaa:如果是大一还情有可原,如果修过资结还这样就太.... 02/11 15:19
3F:→ psboy:建议原PO回去k资料结构? xD 02/11 18:27
4F:推 interpreter:可能是半路出家的 02/11 19:28
5F:推 sawang:这不是湖人版r大吗 XD 02/12 01:43