国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

CS111 編程代做、代寫(xiě) C++程序語(yǔ)言

時(shí)間:2024-05-27  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



Homework 1 -- Evolution of C++
CS111 & EIE111 -- C++ Programming 2024 Spring

March. 06, 2024
The above picture, found on the Internet [1], shows the bicycle design evolving based on reasonable
ideas. Some practical or reasonable ideas should also drive the migration from C to C++. This project is
designed to explore the ideas of C++'s evolution.
I. Overview
C++ is designed to be more convenient than C, especially for programming scenarios involving
abstraction. Here, the word "abstraction" relates to other jargon, such as Abstract Data Type (ADT),
interface, encapsulation, data hiding, etc.
This project is based on possible customer requests to use music player devices. Such a music player
should satisfy the following conditions:
The device stores songs, while each song's information includes
title: name of the sone
authors: who wrote the song
actors: who performed the song
year: when was it published
media: the music content.
Each song has a different id in the device to distinguish it from other songs.
A song can be added to the device.
A song can be deleted from the device.
A song whose title contains certain words (as a substring) can be found.
A song with a specific ID number can be found
All the songs in the device can be played together individually.
The memory(storage) for the device can be cloned or replaced by some backup clone.
The storage of the device can be emptied.
The number of songs on the devices can be known.
A selected song can be copied (cloned)
A selected song can be played
A music player's interface exposes the above functions to a customer. However, quite some details of
the device should be hidden from a customer because customers commonly do not care about technical
details like the digital format of the media of a song or the memory structure of the device.
In this project, we will write three different versions of programs using C and C++ to experience the
advantages of C++ over C.
II Preparation
II.1 Prepare the coding software tools
Be sure that some recommended compilers for C and C++ are installed on your computer and can be
used at the command line. For more on the recommended compilers, see Appendix A. 2.
Be sure that a tool for using makefile is available. See Appendix A.3 for how to install and use such
a tool.
II.2 Study the provided code.
A file code.zip is provided. After unzipping it, its folder contains the following content:
The Compile_and_run folder contains the makefile and running records (screen records of running
executable files) for Windows or Mac.
The Utility folder contains the code for generally helpful tools, not just for the Music Player
program. It includes two groups of files.
util.h and util.c define some general tools, including the definition of a struct Bytes
describing a sequence of bytes. test_util.c is the testing file.
util2.h and util2.cpp implement a Bytes class for a similar purpose. test_util2.cpp is the
testing file.
The folder SongPlayer_v1 contains a C program specifying the interface using a common C style.
The folder SongPlayer_v2 contains a C program that specifies the interface using a class-like style.
The folder SongPlayer_v3 contains a C++ program that specify the interface using the C++ way.
III Tasks
Download code.zip and unzip it into some folder containing the provided program files.
There are 74 missing code parts, clearly marked as the 74 tasks. Do the tasks of providing the
missing code. These tasks should be done following the task numbers, from small to large. More
specifically, the tasks should be done in five sequential stages. Each stage should do the tasks in
some different files, compile the files to generate the corresponding executable files, and do the
debugging and testing. The following table lists each stage's program files and executable file
names.
stage
number
code files
executable file (.exe or
.out)
1 util.c test_util
2 song_player_v1.c test_v1
3 song_player_v2.h, song_player_v2.c test_v2
4 util2.h, util2.cpp test_util2
5
song_player_v3.h, song_player_v3.cpp,
test_song_player_v3.cpp
test_v3
Write the report file pjt1_report.docx .
Fill the Excel file pjt1_self_grading.xlsx .
Write the answers for the questions in the file pjt1_QA.docx
IV. Submission
At most, three students can form a group to submit the homework together. Group members can
share code and discuss the assignment sufficiently. But sharing between groups is not allowed.
Each group should do the work independently.
Only one member of the group should submit the homework files. Ensure the group members'
names and class info (EIE/CS D1/D2/D3) are mentioned in the report file.
It is perfectly ok to do the homework alone, i.e., a one-person group.
Upload your files at the webpage address of this homework on Moodle, including:
A .zip file made by compressing the whole coding folder. I.e., do all the programming in the
folder unzipped from code.zip and zip this folder as a .zip file.
pjt1_report.docx .
pjt1_self_grading.xlsx .
pjt1_QA.docx
Deadline: 11 pm, Saturday, April 6, 2024
Appendix
A.1: Knowledge coverage in this assignment
This project covers practicing a wide range of knowledge items of C and C++. Some knowledge items
that may not be familiar to a person who has learned C include:
1. Different ways of describing an interface (for program clients)
as a group of public functions declared in a .h file (C style)
as a struct which contains function pointers (C style)
as a class (C++ style).
3. Using C++ library container classes like string and vector .
4. The special class members
constructors (default constructor, copy constructor ...)
the destructor
5. Operator overloading: << [] += =
6. Using namespace.
7. Call C code in a C++ program.
8. Exception handling
9. Range-based for loop
10. Design issues of classes, like deep copying.
A.2: Some recommended compilers
On Windows:
gcc for C programs and g++ for C++ programs. MinGW provides these compilers.
Or, cl (provided by Visual Studio Community) for C and C++.
On Mac OS X and Linux
gcc for C programs and g++ for C++ programs.
A.3: How to use make and makefile
The make program is usually available on Mac OS or Linux. A similar tool recommended for Windows is
mingw**-make , provided after MinGW is installed. See [6] for more information on installing such a tool
on Windows.
A text file named makefile (case insensitive) records the needed rules for compiling a program. A rule
usually has the form:
goal: supporting file names
a command to generate the target
After make (or mingw**-make) is installed, we do the following to execute a compiling rule to generate a
target
- Step 1: at the command line, change the current folder to the one where the file named "makefile" is
located.
- Step 2: use the command:
make goal
The power of make is recursive. When executing a rule to reach or generate a goal, all the dependent
files described in the rule need to be available; when one of the supporting files is missing, other rules
for generating it will be executed...
For example, for this project, the following commands are possible:
make all : generate all the needed executable files depending on binary ( .o or .obj ) files.
make util.o : generate the file util.o
make test_util.exe : generate the file test_util.exe, and all the depending on binary files.
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:長(zhǎng)沙旅行社代辦越南簽證多少錢(qián)(怎么選擇好的旅行社)
  • 下一篇:代寫(xiě) Linear Equation System Solver
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢(qián)_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢(qián)_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類(lèi)仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产欧美精品在线| 国产伦精品一区二区三区免| 国产精品传媒毛片三区| 91精品国产成人www| 国产久一一精品| 国产日韩视频在线观看| 欧美极品jizzhd欧美| 欧美日韩第二页| 欧美日韩免费观看一区| 亚洲av首页在线| 亚洲.欧美.日本.国产综合在线| 亚洲最大av网| 亚洲欧美日韩综合一区| 日韩av第一页| 日韩网址在线观看| 精品国产欧美一区二区三区成人| 国产成人精品久久二区二区| 91精品国产综合久久香蕉922| 91国自产精品中文字幕亚洲| 久久另类ts人妖一区二区| 国产成人精品日本亚洲| 久久久久久久久久福利| 久久精品福利视频| 另类专区欧美制服同性| 国产精品久久91| 中文字幕在线乱| 亚洲色图都市激情| 日韩一级免费看| 精品视频导航| 97伦理在线四区| 国产www精品| 国产精品电影观看| 亚洲精品一区二区三| 日韩视频免费在线播放| 国产又大又硬又粗| 久久久一本精品99久久精品66| 久久久久久久久久久一区| 国产精品第七十二页| 亚洲资源在线看| 日韩中文字幕一区二区| 欧美第一黄网| 国产精品午夜av在线| 国产精成人品localhost| 国产精品沙发午睡系列| 青青草视频在线视频| 国产伦理久久久| 国产成人激情小视频| 久久视频中文字幕| 亚洲综合日韩中文字幕v在线| 99久久久精品视频| 久久久国产视频91| 色在人av网站天堂精品| 亚洲高清在线观看一区| 亚洲国产精品视频一区| 无码人妻丰满熟妇区96| 日本手机在线视频| 国产综合在线看| 91九色偷拍| 国产精品无码免费专区午夜 | 91精品国产色综合| 久久久噜噜噜久久久| 久久久国产影院| 亚洲最新在线| 欧美日韩第二页| 国产女女做受ⅹxx高潮| 久久精品免费一区二区| 欧美成人一区在线| 久久亚洲精品小早川怜子66| 午夜精品一区二区三区在线视| 欧美日韩国产一二| 91免费版网站在线观看| 国产精品日日摸夜夜添夜夜av| 中文字幕一区二区三区四区五区| 亚洲精品成人三区| 国产日韩视频在线观看| 久久久久久久成人| 欧美精品999| 青青草精品视频在线| 国产自产在线视频| 国产精品av网站| 国产精品成人在线| 色播亚洲视频在线观看| 国产亚洲欧美在线视频| 日韩中文字幕在线看| 亚洲欧美日产图| 国产欧美日韩免费看aⅴ视频| 久久精品国产sm调教网站演员 | av一区二区三区四区电影| 国产精品亚洲片夜色在线| 国产精品27p| 亚洲综合日韩在线| 精品欧美一区二区精品久久 | 国产乱子伦精品无码专区| 丝袜亚洲欧美日韩综合| 亚洲wwwav| 国产日韩精品视频| 国产精品秘入口18禁麻豆免会员| 国产精品乱码久久久久| 亚洲精品日韩成人| 成人一区二区在线| 色综合老司机第九色激情| 日本在线播放不卡| 国产极品在线视频| 亚洲国产一区二区三区在线| 极品校花啪啪激情久久| 高清视频欧美一级| 国产精品美女诱惑| 女女同性女同一区二区三区91 | 国产精品成人久久久久| 国产精品啪视频| 日韩精品大片| 国产l精品国产亚洲区久久| 一本久道综合色婷婷五月| 日av中文字幕| 国产麻豆日韩| 久久99久久99精品免观看粉嫩| 激情网站五月天| 国产精品无码av在线播放| 青草热久免费精品视频| 日韩在线资源网| 欧美日韩亚洲在线| 久久久91精品国产一区不卡| 亚洲综合在线做性| 国产精品av在线播放 | 精品少妇一区二区三区在线| 精品国产一区二区三区久久久狼| 日本黄网免费一区二区精品| 久久久久99精品成人片| 天天成人综合网| 国产成人精品999| 欧美一级黑人aaaaaaa做受| 国产成人精品一区二区在线| 天天人人精品| 国产精品自产拍在线观看中文| 精品国产一区二区三区在线观看 | 激情小说综合区| 久久精品小视频| 美乳视频一区二区| 国产a∨精品一区二区三区不卡| 国产深夜精品福利| 欧美激情视频给我| 国产免费成人在线| 亚洲直播在线一区| 久久伊人一区| 日韩欧美在线免费观看视频| 国产精品日韩在线| 成人精品在线视频| 亚洲精品影院| 久久精品欧美视频| 国产欧美自拍视频| 亚洲欧洲中文| 国产freexxxx性播放麻豆| 日韩欧美精品一区二区| 久热精品在线视频| 久久免费看av| 欧美精品一区二区视频| 国产精品国产亚洲精品看不卡 | 视频一区视频二区视频| 久久久久亚洲精品国产| 日本三级中国三级99人妇网站| 国产精品人成电影在线观看| 国产精品自拍片| 欧美中文娱乐网| 亚洲影视中文字幕| 久久久极品av| 91国在线高清视频| 欧美日韩黄色一级片| 亚洲精品天堂成人片av在线播放| 91成人免费视频| 国产日韩欧美成人| 欧美日本精品在线| 国产在线拍揄自揄视频不卡99| 中文字幕中文字幕在线中一区高清| 日韩亚洲精品电影| av一区二区三区在线观看| 性欧美在线看片a免费观看| 国产精品视频在线免费观看| 国产精欧美一区二区三区| 国产日韩欧美一二三区| 欧美做受高潮1| 日韩av免费看网站| 精品久久久久久乱码天堂| 国产成人免费91av在线| 不卡一区二区三区视频| 日韩免费在线免费观看| 亚洲欧美日韩在线综合| 国产精品久久久久久av福利软件 | 国产日韩欧美在线看| 日本国产在线播放| 中文字幕无码不卡免费视频| 久久九九热免费视频| 91久久夜色精品国产网站| 欧美亚洲另类制服自拍| 亚洲va男人天堂| 一区二区三区免费看| 国产精品福利片| 国产精品久久久久高潮| 久久久久免费精品| 粉嫩av四季av绯色av第一区| 欧美福利精品|