加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做EIE111、代寫(xiě)C++語(yǔ)言編程

時(shí)間:2024-05-14  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



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.
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:COMP3013代做、代寫(xiě)Python設(shè)計(jì)編程
  • 下一篇:中國(guó)q1簽證多久審批 菲律賓申請(qǐng)中國(guó)q1簽證流程
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評(píng)軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設(shè)計(jì)優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
    出評(píng) 開(kāi)團(tuán)工具
    出評(píng) 開(kāi)團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士4號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
    合肥機(jī)場(chǎng)巴士3號(hào)線
  • 短信驗(yàn)證碼 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产99精品| 免费亚洲一区| 99精品国产一区二区三区| 日本视频免费一区| 蜜桃视频一区二区三区| 精品久久久久久久| 综合色一区二区| 男人天堂视频在线观看| 欧美精品一区二区三区久久久竹菊| 最新国产精品视频| 久久一日本道色综合久久| 国产精品蜜芽在线观看| 欧美二区不卡| 国产在线播放精品| 国产一区二区精品久| 日韩午夜视频在线| 亚洲精品福利电影| 久久不射2019中文字幕| 久久要要av| 国产精品毛片视频| 亚洲区小说区| 一区二区三区四区在线观看国产日韩| 亚洲成人va| 91一区二区三区四区| 亚洲女同中文字幕| 久久美女视频| 精品国产aⅴ| 日韩成人精品在线观看| 高清精品久久| 日韩高清在线电影| 精品福利在线| 国产一区 二区| 高潮一区二区| а√天堂8资源中文在线| 制服诱惑一区二区| 亚洲精品一区二区在线看| 国产99久久久国产精品成人免费| 超碰97久久| 911精品国产| 日韩电影在线观看网站| 综合色就爱涩涩涩综合婷婷| 日本不卡高清视频| 一区二区91| 久久精品人人| 老司机精品视频一区二区三区| 成人亚洲视频| 涩涩涩久久久成人精品| 亚洲高清国产拍精品26u| 日本电影久久久| 美女色狠狠久久| 岛国精品在线| 一区二区黄色| 永久亚洲成a人片777777| 欧美日韩一卡| 国产精品亚洲综合在线观看 | 亚洲天堂久久| 私拍精品福利视频在线一区| 日韩精品一卡| 亚洲一级网站| 中日韩男男gay无套| 久色成人在线| 四季av一区二区凹凸精品| 欧美高清视频在线观看mv| 日本蜜桃在线观看视频| 亚洲天堂免费电影| 四虎成人精品一区二区免费网站| 三级精品在线观看| 一区二区三区四区在线观看国产日韩 | 中文字幕一区二区av| www欧美在线观看| 亚洲黄页网站| 精品免费在线| 欧美在线亚洲| 日韩在线播放一区二区| 日韩午夜电影网| 国产欧美在线| 国产精品视频首页| 综合激情网...| 欧美 日韩 国产精品免费观看| 午夜欧美理论片| 黄视频免费在线看| 美女尤物国产一区| 成人动漫视频在线观看| 天堂精品久久久久| 亚洲福利精品| 乱人伦精品视频在线观看| 日韩欧美一区免费| 国内揄拍国内精品久久| 日韩欧美中文字幕在线视频| 亚洲二区在线| а√天堂8资源中文在线| 久久精品国产免费| 国产一区二区欧美| 99久久这里只有精品| 视频一区欧美日韩| 少妇精品视频在线观看| 最新国产精品视频| 亚洲私人影院| 亚洲插插视频| 国产videos久久| 青青视频一区二区| 美女尤物久久精品| 久久精品免费看| 精品伊人久久| 在线亚洲精品| 欧美一区在线看| 亚洲小说春色综合另类电影| 日韩视频一区| 国产成人a视频高清在线观看 | 日韩在线网址| 夜久久久久久| 久久精品国产在热久久| 激情综合五月| 久久午夜视频| 日本一区中文字幕 | 国产精品99久久| 91国拍精品国产粉嫩亚洲一区| 国产成人黄色| 午夜欧美视频| 一区二区黄色| 欧美高清视频看片在线观看| 欧美3p视频| 综合久久伊人| 亚洲精品网址| 日本怡春院一区二区| 欧美1区二区| 日韩国产网站| 国产精品一线| segui88久久综合9999| 国产精品一区二区三区av| 亚洲国产专区校园欧美| 成人精品国产| 国产精品久av福利在线观看| 激情黄产视频在线免费观看| 亚洲盗摄视频| 国产精品成人a在线观看| 高清一区二区三区av| 一本色道久久综合亚洲精品不| 日本在线播放一区二区三区| 欧美一级精品片在线看| 国产a亚洲精品| 成人婷婷网色偷偷亚洲男人的天堂| 欧美91看片特黄aaaa| 日韩欧美久久| 欧美色网一区| 欧美顶级毛片在线播放| 97精品国产99久久久久久免费| 国内精品麻豆美女在线播放视频| 美女福利一区二区三区| 亚洲欧洲国产精品一区| 日韩理论电影院| 欧美激情15p| 色999韩欧美国产综合俺来也| 精品美女视频| 麻豆国产精品官网| 天天影视天天精品| 欧美激情无毛| 亚洲欧美日韩国产综合精品二区 | 性欧美长视频| 国内精品久久久久久久影视简单| 蜜臀va亚洲va欧美va天堂| 精品视频在线观看免费观看| 国产在线精彩视频| 美女主播精品视频一二三四| 国产成人精品一区二区三区视频| 婷婷激情久久| 亚洲精品麻豆| 日本一二区不卡| 精品国产不卡| 亚洲乱亚洲高清| 免费精品视频| 99久久香蕉| 麻豆精品新av中文字幕| 一本久道久久综合狠狠爱| 日韩精品三级| 久久免费影院| 亚洲欧美日本日韩| 综合伊人久久| 日本免费一区二区三区等视频| 欧美在线网址| 亚洲视频一起| 亚洲区一区二| 97人人精品| 欧美美女一区| 亚洲盗摄视频| 久久久久黄色| 老牛嫩草一区二区三区日本| 国产精品17p| 欧美日韩综合| 丝袜美腿诱惑一区二区三区| 激情欧美日韩一区| 日韩二区在线观看| 美女高潮久久久| 中国色在线日|韩| 欧州一区二区| 视频在线一区| 一区二区三区四区日韩| 国产成人免费9x9x人网站视频| 日韩一区二区免费看| 51vv免费精品视频一区二区|