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

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

代做EIE111、代寫C++語言編程

時間:2024-05-14  來源:合肥網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

掃一掃在手機打開當前頁
  • 上一篇:COMP3013代做、代寫Python設計編程
  • 下一篇:中國q1簽證多久審批 菲律賓申請中國q1簽證流程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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在线免费观看
    黄www在线观看| 欧美激情小视频| 国产精品免费区二区三区观看| 亚洲高清视频一区二区| 欧美精品一区二区三区三州| 久久久精品在线视频| 午夜美女久久久久爽久久| 国产欧美日韩视频一区二区三区 | 欧美日韩二三区| 久久久久久久久久久久久9999| 日韩av电影免费播放| 国产精国产精品| 欧美一区二区高清在线观看| 国产精品a久久久久久| 国产在线资源一区| 国产精品久久久久久久久久久久午夜片| 人妻内射一区二区在线视频| 国产夫妻自拍一区| 日本久久中文字幕| 少妇精69xxtheporn| 奇米影视亚洲狠狠色| 久久精品国产久精国产思思| 精品日本一区二区| 美女精品视频一区| yy111111少妇影院日韩夜片| 午夜精品在线视频| 九色综合日本| 精品欧美一区二区久久久伦| 欧美精品免费在线观看| 国产精品香蕉国产| 日产精品久久久一区二区福利| 日韩中文字幕在线看| 国模吧无码一区二区三区| 国产精品美女黄网| 国产精品亚洲精品| 日韩在线视频在线| 深夜福利国产精品| 国内精品伊人久久| 伊人久久大香线蕉成人综合网| 99伊人久久| 热久久精品国产| 久久成人精品电影| 久久视频这里有精品| 欧美日韩精品久久久免费观看| 欧美精品在线免费观看| 99在线看视频| 欧美在线视频二区| 精品久久久久久一区| 国产精品专区第二| 日本欧美黄网站| 国产精品成人观看视频免费| 91麻豆国产精品| 男人天堂新网址| 中文字幕一区二区三区四区五区| 国产高清精品一区| 免费不卡av在线| 亚洲中文字幕无码一区二区三区| 久久riav| 国产美女精品视频免费观看| 日本一欧美一欧美一亚洲视频| 国产精品美女999| 91精品91久久久久久| 欧美亚洲成人免费| 久久亚洲春色中文字幕| 久久视频这里有精品| 毛片一区二区三区四区| 日韩av综合在线观看| 欧美日产国产成人免费图片| 日韩一区二区三区在线播放| 国产精品揄拍500视频| 奇米888一区二区三区| 国产99在线播放| 国产精品丝袜久久久久久不卡 | 一区二区日本伦理| 久久九九亚洲综合| 国产精品99久久久久久www| 国产专区精品视频| 欧美污视频久久久| 亚洲va欧美va在线观看| 欧美乱人伦中文字幕在线| 久久国产精品一区二区三区| 国产精品伊人日日| 欧美日韩在线成人| 三区精品视频| 综合色婷婷一区二区亚洲欧美国产| 久久久精品美女| 久久免费一级片| 国产免费黄色一级片| 欧洲熟妇精品视频| 午夜精品一区二区三区av| 久久国产天堂福利天堂| 国产精品无码人妻一区二区在线| 国产成人一区二区| 91干在线观看| 99在线影院| 国产伦精品一区二区三区照片| 欧美一区三区二区在线观看| 色香蕉在线观看| 亚洲伊人第一页| 欧美精品videos| 九九久久精品一区| 国产精品国产精品国产专区蜜臀ah| 日韩一区二区在线视频| 91免费国产精品| av在线com| caopor在线视频| 成人av在线网址| wwwwww欧美| 99久久激情视频| 99久久精品免费看国产一区二区三区| 国产女同一区二区| 国产欧美日韩丝袜精品一区| 国产专区一区二区三区| 精品视频一区二区在线| 黄色小网站91| 精品欧美一区二区三区久久久| 欧美日韩精品一区| 欧美大香线蕉线伊人久久| 青青精品视频播放| 欧美精品二区三区四区免费看视频 | 欧美人与性动交| 久久99精品久久久久久青青91| 国产精品成人一区二区三区| 国产精品久久久久9999爆乳| 国产精品视频专区| 久久色在线播放| 久久精品国产成人| 国产精品九九久久久久久久| 国产精品日韩久久久久| 久久精品国产综合| 国产精品久久久久久av| 欧美另类69精品久久久久9999| 欧美美最猛性xxxxxx| 一区二区三区视频| 无码人妻h动漫| 日本精品久久久| 欧美在线观看黄| 国产无套内射久久久国产| 高清一区二区三区日本久| 97精品国产91久久久久久| 国产经典久久久| 久久精视频免费在线久久完整在线看| 国产精品无码免费专区午夜 | 日韩国产欧美一区| 欧美 日韩精品| 国产欧美精品日韩| 久久久久久www| 精品国产一区久久久| 久久国产精品视频| 少妇高清精品毛片在线视频| 欧美一区亚洲一区| 国产区一区二区| 国产精品7m视频| 久久久精品国产亚洲| 国产999视频| 色播亚洲视频在线观看| 极品日韩久久| 国产免费内射又粗又爽密桃视频| 91久久伊人青青碰碰婷婷| 国产v片免费观看| 国产精品久久久久久久av电影| 亚洲三区在线| 欧美亚洲免费在线| 国产麻豆乱码精品一区二区三区| 久久综合久久久久| 国产精品久久一区| 亚洲97在线观看| 黄色污污在线观看| 成人av免费看| 丝袜亚洲欧美日韩综合| 中文字幕中文字幕在线中一区高清| 欧美一级片久久久久久久| 欧美日韩福利在线| 99www免费人成精品| 久久色精品视频| 午夜精品久久久久久久99热| 国内精品400部情侣激情| 91精品天堂| 国产精品极品尤物在线观看| 亚洲不卡中文字幕无码| 免费观看美女裸体网站| 久久精品国产一区二区三区日韩| 九九精品在线视频| 欧美性在线视频| 国产精品99久久免费黑人人妻| 国产精品第1页| 欧美综合在线观看| 国产精品一区二区欧美黑人喷潮水| 日韩中文在线中文网三级| 亚洲视频精品一区| 国产在线观看一区二区三区| 久久久久久一区| 91精品国产91久久久久| 九九久久久久久久久激情| 欧美日韩一道本| 久久久久久久久久av| 天堂精品视频| 成人av蜜桃| 精品久久久三级| 韩国福利视频一区|