国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    亚洲.欧美.日本.国产综合在线 | 国产精品色午夜在线观看| 久无码久无码av无码| 国产免费黄视频| 成人久久久久久| 99国产精品久久久久老师| 91精品国产91久久久久麻豆 主演| 91精品国产91久久久久麻豆 主演 91精品国产91久久久久青草 | 午夜精品区一区二区三| 亚洲欧洲免费无码| 亚洲午夜久久久影院伊人| 伊人久久大香线蕉午夜av| 欧美精品videos| 亚洲在线色站| 日本高清视频一区| 欧美日韩不卡在线视频| 蜜桃日韩视频| 国产免费一区二区三区四在线播放| 国产免费一区二区三区香蕉精| 成人黄色中文字幕| 97精品国产97久久久久久粉红| 国产精品69久久久| 久久激情视频免费观看| 久久夜色撩人精品| 午夜精品视频网站| 欧美视频免费看欧美视频| 国产日韩在线一区二区三区| 91久久国产综合久久91精品网站| 91精品国产91| 久久精品一区中文字幕| 美女福利视频一区| 亚洲精品久久久久久一区二区| 日本高清久久天堂| 国产区日韩欧美| 久久福利一区二区| 久久99亚洲热视| 日韩网站在线免费观看| 国产精品中文字幕在线| 日韩亚洲一区二区| 在线视频91| 国产区欧美区日韩区| 欧美亚洲视频在线看网址| 国产自偷自偷免费一区| 国产精品一区二区av| 久久久人人爽| 欧洲日本亚洲国产区| 成人欧美一区二区| 日韩亚洲精品电影| 欧美极品欧美精品欧美视频| 日本人成精品视频在线| 国产精品香蕉av| 久久精品视频在线播放| 亚洲免费在线精品一区| 国产又黄又猛视频| 日韩中文在线中文网三级| 在线视频一二三区| 免费在线观看一区二区| 国产成人极品视频| 精品国产aⅴ麻豆| 欧美激情精品久久久久久小说| 91精品久久久久久久久| 欧美激情第1页| 精品一卡二卡三卡四卡日本乱码| 久久艹国产精品| 亚洲欧美国产一区二区| 国产欧美日韩伦理| 国产精品国产精品| 国内精品久久久久久久| 国产成人无码av在线播放dvd | 国产剧情久久久久久| 色天天综合狠狠色| 日本精品一区二区三区在线 | 久久精品视频va| 日韩欧美不卡在线| 国产精品91久久久| 亚洲三级一区| 国产精品中文在线| 中文字幕成人一区| 成人免费毛片播放| 欧美激情视频在线观看| 国产人妖伪娘一区91| 久久亚洲一区二区三区四区五区高| 欧美一二三区| 久久精品国产2020观看福利| 欧美资源一区| 北条麻妃99精品青青久久| 欧美在线影院在线视频| 国产成人精品a视频一区www| 日韩国产精品毛片| www国产91| 欧美xxxx黑人又粗又长密月| 国产精品久久久久久免费观看| 狠狠干一区二区| 久久成人一区二区| 国产欧美韩国高清| 久久777国产线看观看精品| 国产三区二区一区久久| 在线免费一区| 久久五月天婷婷| 欧美中文字幕精品| 久久中文久久字幕| www国产免费| 日韩中文字幕组| 国产成人欧美在线观看| 国内一区二区在线视频观看| 久久亚洲春色中文字幕| 99视频在线免费| 日韩精品免费一区| 国产精品久在线观看| 国产欧美日韩精品丝袜高跟鞋| 欧美巨猛xxxx猛交黑人97人| 97碰在线视频| 日韩精品一区二区免费| 国产精品二区二区三区| wwwwww欧美| 欧美专区在线观看| 欧美激情精品久久久久久变态| …久久精品99久久香蕉国产| 欧美一区二区影院| 一区二区三区欧美在线| 久久精品国产精品亚洲色婷婷| 黄色录像特级片| 亚洲国产精品女人| 国产精品美女在线| 91精品国产91久久久久久吃药| 婷婷久久青草热一区二区| 俺去了亚洲欧美日韩| 成人av在线天堂| 欧美亚洲激情在线| 亚洲一区亚洲二区| 色久欧美在线视频观看| 不卡视频一区| 欧美二区在线看| 亚洲一区二区自拍| 久久天天躁狠狠躁夜夜躁| 国产精自产拍久久久久久蜜| 日本在线一区| 欧美激情一二区| 久久久99久久精品女同性| 97国产精品人人爽人人做| 欧洲中文字幕国产精品| 欧美精品九九久久| 国产精品沙发午睡系列| 国产精华一区二区三区| 国产午夜福利视频在线观看| 热久久美女精品天天吊色| 亚洲色欲综合一区二区三区| 国产精品美女呻吟| 国产第一区电影| www黄色在线| 国产美女主播一区| 免费在线一区二区| 日韩视频在线免费看| 亚洲一区二区三区四区视频| 国产精品免费电影| 国产二级片在线观看| 97人人模人人爽人人喊38tv| 国内精品小视频在线观看| 日本成熟性欧美| 午夜精品美女久久久久av福利 | 国内免费久久久久久久久久久| 日韩专区第三页| 亚洲一区二区不卡视频| 久久成人综合视频| 国产精品久久久久久搜索| 日韩视频在线免费| 国产成人精品久久亚洲高清不卡| 麻豆91av| 国产做受69高潮| 国模精品一区二区三区色天香| 日韩精品一区二区在线视频| 日本一区视频在线观看免费| 少妇高清精品毛片在线视频| 亚洲一区二区中文| 中文字幕无码精品亚洲35| 久久99精品久久久久久青青91| 国产精品伦子伦免费视频| 北条麻妃在线一区二区| 日韩在线免费高清视频| 久草资源站在线观看| 国产福利精品视频| 国产福利视频在线播放| 成人久久久久爱| 成人免费观看a| 91精品国产91久久久久福利| 成人在线免费观看一区| 成人一区二区av| 97精品久久久| 久久亚裔精品欧美| 久久久伊人日本| 国产成人精彩在线视频九色| 国产不卡在线观看| 日韩有码在线电影| 久久精品91久久香蕉加勒比 | 自拍日韩亚洲一区在线| 中文字幕一区二区三区乱码| 在线观看欧美亚洲| 亚洲精品一区二区三区樱花| 日韩av电影在线免费播放| 青青青国产在线观看|