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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品免费成人| 九九热这里只有精品6| 欧美精品二区三区四区免费看视频| 久久国产精品亚洲| 欧美大片va欧美在线播放| 91av免费看| 久久偷看各类wc女厕嘘嘘偷窃| 99www免费人成精品| 91精品国产电影| 91久久精品国产91久久| 97免费中文视频在线观看| www.av中文字幕| 91免费版网站入口| 91国内在线视频| 国产精品91视频| 久久久999免费视频| 国产夫妻自拍一区| 久久久久久久久久久福利| 精品国产区一区二区三区在线观看| 日韩中文字幕免费| 久久大片网站| 国产成人精品无码播放| 国产精品视频精品| 久久777国产线看观看精品| 在线一区日本视频| 三年中国中文在线观看免费播放 | 日韩在线电影一区| 日韩avxxx| 欧美 日韩 国产一区| 免费久久久一本精品久久区| www.欧美日本| 日韩一区二区久久久| 国产精品成人一区二区三区| 亚洲一二三区在线| 青草青草久热精品视频在线观看| 麻豆av免费在线| www黄色av| www.日韩欧美| 中文字幕乱码一区二区三区| 日本中文字幕一级片| 免费一区二区三区| 久久偷看各类wc女厕嘘嘘偷窃| 国产精品免费久久久久久| 影音先锋欧美在线| 日韩视频免费播放| 国产人妖伪娘一区91| 久久免费精品日本久久中文字幕| 久久精品视频免费播放| 伊人久久99| 日韩免费在线观看视频| 国产女女做受ⅹxx高潮| 久久久久久一区| 亚洲天堂av免费在线观看| 日韩女优在线播放| 国产欧美一区二区| 日韩亚洲精品视频| 亚洲高清视频一区| 国产在线播放一区二区| 久久久之久亚州精品露出| 国产精品私拍pans大尺度在线| 一级黄色免费在线观看| 精品日本一区二区| 久久久国内精品| 亚洲一区二区自拍| 国产日韩中文在线| 国产精品免费一区二区三区在线观看| 亚洲三区视频| 国产精品一区久久久| 国产精品无码专区在线观看 | 欧美激情一区二区三区在线视频观看| 日本最新高清不卡中文字幕| 国产欧美久久一区二区| 日韩亚洲精品视频| 亚洲一卡二卡区| 国产日韩av网站| 国产精品久久久久久久久免费看 | 日韩手机在线观看视频| 国产麻豆日韩| 国产精品免费观看高清| 日本黄网免费一区二区精品| 国产精品一区二区三区久久| 国产精品毛片a∨一区二区三区|国 | 亚洲午夜高清视频| 国产一区欧美二区三区| 国产成人无码精品久久久性色| 涩涩日韩在线| 国产福利一区视频| 色婷婷综合久久久久中文字幕| av 日韩 人妻 黑人 综合 无码| 精品九九九九| 国产一区二区三区高清视频| 国产精品三级美女白浆呻吟| 日韩免费中文专区| 日韩在线播放av| 大波视频国产精品久久| 99精彩视频| 午夜啪啪福利视频| 国产激情视频一区| 日本精品视频在线观看| 久热免费在线观看| 日韩一级在线免费观看| 国产黄色一级网站| 人妻av无码专区| 日韩中文字幕国产精品| 欧美精品成人一区二区在线观看| 精品国产一区二区三区久久久狼| 欧美亚洲日本黄色| 国产精品久久久久久久久久三级 | 欧美激情视频在线免费观看 欧美视频免费一| 国外色69视频在线观看| 国产精品第七影院| 国产欧美一区二区白浆黑人| 伊人久久大香线蕉精品| 国产精品aaaa| 日韩免费观看视频| 国产精品普通话| 国产乱子伦精品无码专区| 一区二区在线不卡| 久久综合九色综合88i| 日本成人黄色免费看| 国产精品日韩二区| 国产精品稀缺呦系列在线| 一区二区三区国| 久久精品国产精品亚洲精品色| 欧美h视频在线| 欧美精品久久一区二区| 久久久com| 精品婷婷色一区二区三区蜜桃| 伊人久久婷婷色综合98网| 久久乐国产精品| 国内少妇毛片视频| 亚洲在线观看一区| 国产成人av网址| 黄色一级免费大片| 亚洲美女网站18| 久久精品成人欧美大片古装| 国产伦精品一区二区三区视频孕妇 | 99久久99| 欧美在线一区二区视频| 欧美激情久久久久久| 久久免费视频网站| 黄色一级在线视频| 午夜在线视频免费观看| 国产精品极品美女粉嫩高清在线 | 国产欧美精品一区二区三区| 国产999精品视频| 九九久久99| 国产精品夜夜夜爽张柏芝| 日本精品二区| 欧美精品电影在线| 久久国产精品一区二区三区 | 国产伦理久久久| 欧洲国产精品| 亚洲一区在线直播| 国产精品日韩精品| 久久亚洲午夜电影| 国产精品自拍首页| 欧美午夜欧美| 亚洲天堂第一区| 欧美精品在线极品| 日韩中文字幕在线精品| 91精品免费| 国产精品自产拍在线观看中文| 日韩av电影免费在线| 欧美xxxx做受欧美| 久久久成人精品视频| 国产成人在线免费看| 成人久久精品视频| 国产日韩在线观看av| 欧美精品一区二区性色a+v| 亚洲高清视频一区| 亚洲最大福利网| 蜜臀久久99精品久久久久久宅男| 久久99久久99精品| 久久综合毛片| 国产精品69av| 91久久久久久久久久久| 国产免费一区二区三区在线能观看| 欧美丰满熟妇xxxxx| 日产精品久久久一区二区| 亚洲最大成人在线| 久久久久久国产精品美女| 久久伊人色综合| 久久夜精品香蕉| 免费91麻豆精品国产自产在线观看| 国产精品福利在线| 久久夜色精品国产亚洲aⅴ| 国产精品十八以下禁看| 久久久久久久97| 久久久久久久中文| 久久久久免费看黄a片app| 久久大香伊蕉在人线观看热2| 久久综合久久久久| 国产肥臀一区二区福利视频| 久久久99国产精品免费| 国产不卡在线观看| www.国产精品一二区| www.美女亚洲精品| 国产精品视频26uuu| 精品免费二区三区三区高中清不卡|