国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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在线免费观看
    欧美视频1区| 国产美女久久精品香蕉69| 国语精品免费视频| 国产成人高清激情视频在线观看| 伊人久久青草| 国产日韩视频在线观看| www.xxxx欧美| 日本久久亚洲电影| 国产精品com| 天天综合狠狠精品| 97人人澡人人爽| 久久久久久国产精品久久| 精品少妇一区二区三区在线| 国产精品久久久久久亚洲影视| 欧美在线性视频| 国产黄色特级片| 日韩中文不卡| 国产高清在线一区二区| 午夜免费电影一区在线观看| 91久久久久久久| 亚洲 欧美 综合 另类 中字| 91久久偷偷做嫩草影院| 亚洲va久久久噜噜噜| 久久久视频在线| 日韩av免费网站| 久久久久久久久久久91| 人妻久久久一区二区三区| 久久久久久久久久久视频| 欧美在线一级视频| 国产精品免费看一区二区三区| 国内揄拍国内精品| 国产精品九九久久久久久久| 狠狠干视频网站| 久久综合久中文字幕青草| 国产欧美123| 亚洲欧美日韩国产成人综合一二三区| 国产精品永久在线| 亚洲精品日韩激情在线电影| 久久久久久www| 欧美午夜精品久久久久久蜜 | 国产人妻互换一区二区| 欧美激情视频一区二区三区不卡| 国产日韩在线观看av| 九九精品在线视频| www黄色av| 色999日韩自偷自拍美女| 久久精品视频16| 欧美一级爱爱视频| 美女福利视频一区| 99色精品视频| 日韩精品福利片午夜免费观看| 国产精品免费成人| 成人精品视频一区二区| 性欧美大战久久久久久久| 日韩在线视频免费观看| 精品视频免费观看| 午夜精品一区二区在线观看| 日韩中文字幕免费看| 精品一区二区国产| 亚洲一区三区视频在线观看| 久久久久久a亚洲欧洲aⅴ| 国内一区在线| 亚洲欧洲精品在线观看| 久久久久久这里只有精品| 国产又黄又猛视频| 亚洲a∨一区二区三区| 丝袜一区二区三区| 国产乱人伦真实精品视频| 欧美一区二区福利| 精品国产二区在线| 久久久久网址| 国产精选久久久久久| 欧美在线亚洲在线| 欧美激情二区三区| 色偷偷88888欧美精品久久久 | 欧美精品性视频| 久久精品欧美| 国产在线视频在线| 日产精品久久久一区二区福利| 久久成人在线视频| 国产不卡一区二区视频| 国产午夜精品在线| 日本国产高清不卡| 精品国产综合| 国产成人极品视频| 成人久久精品视频| 蜜臀av.com| 日韩欧美一区三区| 亚洲欧洲一区二区福利| 另类天堂视频在线观看| 视频一区视频二区国产精品| 91国产在线播放| 国产精品自拍首页| 国内精品视频一区二区三区| 午夜精品久久久久久久99黑人| 欧美精品在线看| 国产精品入口尤物| 久久久久免费视频| 91久久伊人青青碰碰婷婷| 国产又大又硬又粗| 欧美极品欧美精品欧美| 日本一区二区高清视频| 亚洲一区三区在线观看| 久久99久久99精品免观看粉嫩| 国产成人免费av电影| 国产成人精品免费视频| 99热久久这里只有精品| 国产亚洲欧美一区二区| 国内精品一区二区三区| 欧美日韩高清在线一区| 日本高清不卡在线| 少妇一晚三次一区二区三区| 在线天堂一区av电影| 国产精品视频网址| 精品久久久av| 久久久av水蜜桃| 久久涩涩网站| 91久久久久久久久| 国产精品夜夜夜一区二区三区尤| 国产一区二区丝袜| 精品一区二区三区无码视频 | 99久久国产免费免费| 国产精品一二区| 国产精品一区在线播放| 国产精品自拍合集| 国产精品一区视频| 国产精品一区av| 国产日韩欧美在线看| 国产一二三区在线播放| 国产日本在线播放| 国产乱码精品一区二区三区卡 | 国产精品直播网红| 成人免费视频a| 97精品久久久中文字幕免费| 99精品人妻少妇一区二区| 99超碰麻豆| 99亚洲国产精品| 91九色偷拍| 久久亚洲免费| 日韩中文字幕国产| 国产精品精品久久久| 欧美日韩国产成人| 亚洲一区二区精品在线| 亚洲va久久久噜噜噜| 欧美一级免费播放| 欧美中文娱乐网| 国产淫片av片久久久久久| 国产欧美在线看| 国产精品aaa| 日韩在线播放一区| 国产精品成熟老女人| 欧美另类在线播放| 亚洲一区二区三区加勒比| 手机看片福利永久国产日韩| 日韩理论片在线观看| 国产在线不卡精品| 91精品中文在线| 久久久久久久999| 久久亚洲精品成人| 亚洲一卡二卡| 日韩极品视频在线观看| 国产午夜大地久久| 国产精品7m视频| 国产精品手机在线| 在线视频一二三区| 日本一区二区三区精品视频| 欧美在线观看视频| 国产伦精品一区二区三| 久久精品综合一区| 欧美另类69精品久久久久9999| 午夜老司机精品| 免费日韩中文字幕| 91精品国产91久久久久久最新| www.欧美三级电影.com| 欧美激情视频一区二区| 欧美专区国产专区| www国产黄色| 91免费看片网站| 国产成人精品午夜| 一区二区精品在线| 欧美日韩午夜爽爽| 高清一区二区三区四区五区| 久久精品成人一区二区三区| 一区二区视频在线观看| 欧美中文在线观看| 91精品国产777在线观看| 久久香蕉国产线看观看av| 日本免费一级视频| 成人免费福利在线| 久久精品影视伊人网| 亚洲一区二区三区视频播放| 精品一区二区三区日本| 国产高清精品在线观看| 久久99热精品这里久久精品| 欧日韩不卡在线视频| 91禁国产网站| 精品国产一区二区三区麻豆免费观看完整版 | 国产精品普通话| 人妻无码一区二区三区四区| 99视频日韩|