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

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CS111 編程代做、代寫 C++程序語言

時間:2024-05-27  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



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.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






 

掃一掃在手機打開當前頁
  • 上一篇:長沙旅行社代辦越南簽證多少錢(怎么選擇好的旅行社)
  • 下一篇:代寫 Linear Equation System Solver
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品av一区| 欧美性视频在线播放| 国内精品中文字幕| 久久亚洲国产成人| 国产区日韩欧美| 亚洲人精品午夜射精日韩| 国产传媒一区| 精品日本一区二区三区| 精品国产乱码久久久久久88av | 国产精品入口夜色视频大尺度| 免费看欧美一级片| 久久99视频精品| 久色视频在线播放| 欧美精品色婷婷五月综合| 久久亚洲精品一区| 91美女福利视频高清| 日本国产一区二区三区| 国产精品美女www| 国产精品自产拍在线观| 日本久久高清视频| 欧美精品日韩三级| 国产成人精品久久| 国产在线高清精品| 视频一区二区在线| 国产精品视频26uuu| 操人视频欧美| 欧洲精品视频在线| 中文字幕一区二区三区在线乱码| 久久国产精品99久久久久久丝袜| 黄在线观看网站| 亚欧洲精品在线视频免费观看| 久久激情视频久久| www.久久草| 欧美乱偷一区二区三区在线| 亚洲综合av影视| 北条麻妃在线一区二区| av 日韩 人妻 黑人 综合 无码| 日韩暖暖在线视频| 一区二区免费在线视频| 久久精品国产2020观看福利| 99热久久这里只有精品| 男人天堂a在线| 丁香六月激情网| 免费av在线一区| www.日韩免费| 久久久亚洲精选| 国产女大学生av| 欧美精品久久96人妻无码| 亚洲不卡1区| 欧美激情精品久久久久久| www高清在线视频日韩欧美| 91九色国产在线| 国产一区二区在线网站 | 九一免费在线观看| 福利视频久久| 狠狠久久综合婷婷不卡| 性日韩欧美在线视频| 欧美成在线观看| 国产精品视频地址| 色黄久久久久久| 久久一区二区精品| 成人羞羞国产免费| 极品日韩久久| 日韩美女免费观看| 欧美一区二区三区精美影视 | 国产最新免费视频| 欧美亚洲一级二级| 日韩成人在线资源| 亚洲三区在线| 欧美激情中文字幕乱码免费| 国产精品久久中文| 国产精品视频一| 国产成人欧美在线观看| 久久久久久亚洲精品不卡4k岛国 | 91精品国产一区| 97久久精品在线| 超碰97人人人人人蜜桃| 成人久久一区二区三区| 国产奶头好大揉着好爽视频| 欧美 日韩 国产 激情| 日韩精品大片| 天天爽天天狠久久久| 亚洲欧美国产一区二区| 中文字幕在线亚洲精品| 在线视频福利一区| 欧美激情18p| 欧美极品第一页| 亚洲自拍小视频| 亚洲字幕一区二区| 亚洲精品欧美日韩专区| 午夜精品久久久99热福利| 亚洲 欧美 日韩 国产综合 在线| 亚洲一区三区在线观看| 亚洲人精品午夜射精日韩| 亚洲国产精品影视| 午夜欧美性电影| 日本在线播放不卡| 日本精品久久久久久久久久| 日韩少妇中文字幕| 欧美一区亚洲二区| 国内精品一区二区| 国产一区二区中文字幕免费看| 国产欧美一区二区三区视频| 国产麻豆电影在线观看 | 91久久久久久久久久久| 91美女片黄在线观看游戏| 久久久伊人欧美| 日韩在线视频线视频免费网站| …久久精品99久久香蕉国产 | 欧美中在线观看| 免费h精品视频在线播放| 国产亚洲综合视频| 99中文字幕| 久久频这里精品99香蕉| 国产成人精品视频在线观看| 国产精品国产三级国产专区51| 久久国产精品久久久| 亚洲一区中文字幕在线观看| 电影午夜精品一区二区三区| 青青青免费在线| 国产一区二区三区高清| 成人a级免费视频| 久久久综合香蕉尹人综合网| 久久精品国产免费观看| 久久99精品国产99久久6尤物| 亚洲精品自在在线观看| 欧美中文字幕视频在线观看| 国产一级黄色录像片| 91精品国产91久久久久久最新| 久久久久久一区| 欧美大胆在线视频| 五月天婷亚洲天综合网鲁鲁鲁| 欧美另类一区| www.久久草| 久久精品国产综合| 制服诱惑一区| 日韩无套无码精品| 国产一区二区精品免费| 久久人人九九| 国产精品成人v| 日本中文字幕不卡免费| 国产专区精品视频| 久久视频在线观看中文字幕| 久久五月情影视| 视频一区二区三区在线观看| 国产在线精品一区| 久久人人爽国产| 色综合久久88色综合天天看泰| 日本少妇高潮喷水视频| 国产欧美日韩91| 色婷婷av一区二区三区在线观看 | 欧美午夜小视频| 97精品国产97久久久久久免费| 国产成人小视频在线观看| 亚洲一区二区中文字幕| 免费不卡亚洲欧美| 国产v亚洲v天堂无码久久久| 欧美日韩成人黄色| 日本精品一区二区三区不卡无字幕 | 国产精品伦子伦免费视频| 亚洲高清视频一区二区| 激情六月天婷婷| 国产v综合v亚洲欧美久久| 宅男在线精品国产免费观看| 欧美激情专区| 久久99国产精品99久久| 中文字幕综合在线观看| 激情综合网俺也去| 国产国语videosex另类| 欧美日韩成人网| 黄色高清无遮挡| 九九热只有这里有精品| 中文字幕精品在线播放| 国模私拍视频一区| 日韩在线观看精品| 日本久久中文字幕| 91精品国产自产在线| 欧美激情视频在线| 麻豆蜜桃91| 国产精品久久国产精品| 欧美极品视频一区二区三区| 日韩最新av在线| 色999日韩自偷自拍美女| www.欧美黄色| 欧美精品成人91久久久久久久| 欧美日韩在线播放一区二区| 国产成人精品久久久| 午夜精品美女久久久久av福利| 风间由美一区二区三区| 色综合视频网站| 国产日韩综合一区二区性色av| 国产精品国产自产拍高清av水多 | 欧美在线性视频| 日韩一级裸体免费视频| 日本三级中文字幕在线观看| 国产国产精品人在线视| 日韩中文在线字幕| 久久久中文字幕| 日韩精品久久一区| 久久久久在线观看|