国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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在线免费观看
    久久精品99久久久久久久久 | 精品国产一区二区三区久久狼5月| 精品久久蜜桃| 欧美午夜精品久久久久久蜜 | 一区二区国产日产| 国产日韩第一页| 国产精品免费一区二区三区四区 | 黄黄视频在线观看| 久久精品成人欧美大片古装| 日韩欧美手机在线| 国产成人福利网站| 日韩精品久久久免费观看| 久久免费少妇高潮久久精品99| 亚洲最大成人在线| av 日韩 人妻 黑人 综合 无码| 精品久久久久久一区| 国产又粗又长又爽视频| 久久五月天色综合| 国产欧美在线播放| 一区二区三区的久久的视频| 国产精品一区二区不卡视频| 久久久久成人精品| 国产精品一线二线三线| 久久久久成人精品| 91久久精品美女高潮| 亚洲啊啊啊啊啊| 久久久综合av| 欧美综合在线观看视频| 国产精品无av码在线观看| 黄色片一级视频| 欧美精品一区三区| 国产九九精品视频| 午夜精品一区二区三区在线视频| 久久亚洲午夜电影| 欧美中文字幕在线| 国产精品人人妻人人爽人人牛| 国产在线观看精品| 欧美激情精品久久久久久大尺度| 成人国产在线看| 日韩av在线一区二区三区| 视频直播国产精品| 黄www在线观看| 欧美激情综合亚洲一二区| 91国视频在线| 欧美精品久久久久久久自慰| 久久五月天色综合| 7777精品视频| 男女视频一区二区三区| 色综合久久久久久中文网| 91免费精品视频| 热久久99这里有精品| 国产精品国三级国产av| 国产精品香蕉视屏| 日日摸日日碰夜夜爽av| 国产精品无码人妻一区二区在线| 国产美女精品视频免费观看| 亚洲成色www久久网站| 久久激情五月丁香伊人| 国产精品综合不卡av| 欧美日韩精品中文字幕一区二区| 国产精品爽爽爽爽爽爽在线观看 | 免费观看亚洲视频| 欧美大胆在线视频| 久久久久久国产精品mv| 欧美一区二区影视| 久久99热精品这里久久精品| av观看久久| 欧美日韩精品久久| 在线观看一区欧美| 丝袜一区二区三区| 国产欧美日韩综合一区在线观看| 日本一区二区三区在线视频| 欧美成年人视频网站欧美| 国产精品1区2区在线观看| 欧美资源在线观看| 一区二区不卡在线视频 午夜欧美不卡'| 国产盗摄xxxx视频xxx69| 国产又粗又爽又黄的视频| 亚洲精品一区二区三| 国产精品无码免费专区午夜 | 在线国产99| 国产精品网站入口| 国产精品69精品一区二区三区| 欧美二区三区在线| 欧美一区二区三区在线免费观看| 久久av资源网站| 国产成人精品在线播放| 久久免费成人精品视频| 国产伦精品一区二区三区视频黑人| 欧美日韩大片一区二区三区| 亚洲va韩国va欧美va精四季| 国产精品成人观看视频免费| 国产不卡av在线免费观看| 福利视频一区二区三区四区| 国内一区在线| 欧美在线一区二区视频| 无码中文字幕色专区| 欧美人成在线视频| 国产精品久久久影院| 久久久久综合一区二区三区| 91久久精品日日躁夜夜躁国产| 国产欧美精品一区二区| 麻豆一区二区三区在线观看 | 欧美中日韩免费视频| 日韩av高清不卡| 亚洲永久一区二区三区在线| 久久国产精品免费视频| 国产精品第七影院| 国产精品久久久久久中文字| 久久精品一本久久99精品| 久久国产精品 国产精品 | 日韩免费在线看| 欧美一级片久久久久久久| 在线一区高清| 久久91亚洲精品中文字幕奶水| 国产精品久久久精品| 国产精品偷伦免费视频观看的| 久久久久久久9| 久久久久久久久久av| 国产xxxxx在线观看| 国产福利一区视频| 国产z一区二区三区| 久操手机在线视频| 久久99精品久久久水蜜桃| 久久福利电影| 日韩在线www| 久久精品电影网站| 国产成人久久婷婷精品流白浆| 久久精品视频16| 久久精品日产第一区二区三区乱码| 国产二区视频在线| 久久久久久网站| 北条麻妃一区二区三区中文字幕| 日韩在线资源网| 国产成人精品网站| 国产精品视频导航| 久久夜色精品国产欧美乱| 精品综合久久久久久97| 亚洲资源视频| 日韩av日韩在线观看| 青青久久av北条麻妃黑人| 欧美亚洲精品一区二区| 国内精品久久影院| 国产一区深夜福利| 国产精品一区av| 国产精品9999| 国产成人久久久| 久久福利网址导航| 一区二区三区精品国产| 天天摸天天碰天天添| 欧美综合国产精品久久丁香| 国产在线一区二区三区播放| y111111国产精品久久婷婷| 久久露脸国产精品| 国产精品久久久久久中文字| 一区二区精品在线观看| 日本高清不卡在线| 国产在线精品一区| av天堂永久资源网| 久久99久久99精品蜜柚传媒| 国产精品欧美日韩| 一区二区在线中文字幕电影视频| 午夜啪啪福利视频| 精品欧美一区二区久久久伦| 国产精品永久免费视频| 九一免费在线观看| 精品福利影视| 日韩国产精品一区二区| 国产综合久久久久久| 91精品国自产在线观看| 日韩视频免费在线| 一区二区冒白浆视频| 欧美牲交a欧美牲交aⅴ免费真| 国产午夜福利在线播放| 91成人国产在线观看| 国产精品美女久久久久av超清| 自拍另类欧美| 欧美大陆一区二区| 国产精品69久久久| 久久成人综合视频| 日本新janpanese乱熟| 国产日韩精品在线播放| 久久9精品区-无套内射无码| 精品免费国产| 日韩无套无码精品| 国产欧美精品va在线观看| 久久国产日韩欧美| 一区二区免费在线视频| 日日摸日日碰夜夜爽无码| 狠狠综合久久av| 国产成人永久免费视频| 欧美人与性动交a欧美精品| 日韩欧美在线播放视频| 豆国产97在线| 国产精品视频在线免费观看| 日韩一区二区三区高清| 国产欧美日韩伦理| 国产精品久久久久久久久婷婷| 日本国产一区二区三区| 91久久精品一区|