作者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
推 gundan:雙向鍊結串列 02/11 14:55
推 stonehomelaa:如果是大一還情有可原,如果修過資結還這樣就太.... 02/11 15:19
→ psboy:建議原PO回去k資料結構? xD 02/11 18:27
推 interpreter:可能是半路出家的 02/11 19:28
推 sawang:這不是湖人版r大嗎 XD 02/12 01:43