99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

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

時間:2024-05-14  來源:合肥網(wǎng)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簽證流程
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          亚洲精选在线| 亚洲愉拍自拍另类高清精品| 日韩午夜电影在线观看| 欧美日韩一区二区三区在线观看免 | 国产精品人人做人人爽| 欧美国产91| 久久这里有精品15一区二区三区| 国产精品99久久久久久www| 在线观看欧美一区| 国产在线视频欧美一区二区三区| 国产精品国产三级国产专播精品人| 欧美粗暴jizz性欧美20| 麻豆av一区二区三区久久| 久久精品综合一区| 欧美一区二区三区在线| 亚洲精品久久久蜜桃| 亚洲国产精品va在线看黑人动漫| 国产日韩亚洲欧美精品| 国产精品yjizz| 欧美先锋影音| 国产精品视频久久一区| 在线观看亚洲精品| 亚洲人成精品久久久久| 亚洲日本成人女熟在线观看| 亚洲国产小视频在线观看| 亚洲国产精品精华液2区45| 亚洲国产精品第一区二区| 在线成人中文字幕| 亚洲综合色噜噜狠狠| 性欧美1819性猛交| 欧美日韩成人在线观看| 国产精品久久久久9999吃药| 亚洲精品123区| 久久国产一二区| 男男成人高潮片免费网站| 欧美国产一区视频在线观看| 国产日韩一区二区三区在线播放| 国产一区二区久久| 亚洲一区免费视频| 亚洲影视在线| 欧美专区日韩专区| 国产精品久久久久毛片软件 | 欧美日韩亚洲网| 国产精品大片| 黑人一区二区| 日韩午夜激情| 欧美日韩高清在线播放| 国产精品视频免费在线观看| 国内久久视频| 一级成人国产| 久久精品夜色噜噜亚洲aⅴ| 欧美成人小视频| 国产精品久久久久久影院8一贰佰| 国产一区在线观看视频| 亚洲精品综合| 久久精品国产99国产精品澳门| 欧美成人日韩| 国产一区二区三区久久久| 亚洲视频在线看| 免费精品99久久国产综合精品| 韩日欧美一区| 六月丁香综合| 国产区欧美区日韩区| 亚洲综合丁香| 国产婷婷成人久久av免费高清 | 欧美另类高清视频在线| 国产综合欧美| 亚洲一区二区日本| 国产精品美女诱惑| 久久福利毛片| 欧美四级剧情无删版影片| 亚洲免费成人av电影| 久久亚裔精品欧美| 国产九九精品| 99re6这里只有精品| 欧美日韩另类在线| 性xx色xx综合久久久xx| 伊人久久亚洲热| 欧美一区二区三区在线看| 欧美日韩视频在线第一区| 亚洲黄色在线看| 欧美三级日韩三级国产三级| 亚洲人成小说网站色在线| 欧美日韩综合网| 欧美伊人久久久久久午夜久久久久| 在线观看日韩一区| 欧美图区在线视频| 亚洲视频一区二区免费在线观看| 欧美xxx在线观看| 夜夜躁日日躁狠狠久久88av| 欧美xx69| 亚洲国产一区二区三区青草影视 | 亚洲国产精品第一区二区三区| 欧美老女人xx| 日韩一级成人av| 欧美激情在线狂野欧美精品| 亚洲狠狠丁香婷婷综合久久久| 欧美视频精品一区| 久久久国产午夜精品| 国产综合一区二区| 欧美日韩午夜激情| 亚洲影视九九影院在线观看| 伊大人香蕉综合8在线视| 狂野欧美一区| 午夜一区二区三视频在线观看| 国产精品视频你懂的| 午夜精品一区二区三区在线| 国产欧美一区二区三区久久人妖| 欧美大色视频| 老**午夜毛片一区二区三区| 亚洲欧美综合v| 国产一区日韩欧美| 两个人的视频www国产精品| 亚洲欧美日本另类| 91久久精品日日躁夜夜躁欧美| 国模私拍一区二区三区| 国产精品稀缺呦系列在线| 欧美中文字幕视频在线观看| 一本色道久久综合亚洲精品不| 亚洲第一精品福利| 国产精品国产福利国产秒拍| 欧美精品国产| 欧美91视频| 免费观看日韩av| 麻豆精品在线视频| 久热精品在线| 美女视频一区免费观看| 久久久久久有精品国产| 99国产一区| 野花国产精品入口| 狠狠综合久久av一区二区老牛| 国产日韩精品久久| 欧美国产91| 欧美激情视频一区二区三区不卡| 女同性一区二区三区人了人一| 亚洲一区二区三区在线视频| 亚洲视频二区| 亚洲欧美日产图| 欧美在线一二三区| 亚洲视频999| 亚洲欧美在线一区| 亚洲精品视频啊美女在线直播| 欧美三级视频在线观看| 欧美四级在线| 国产精品婷婷| 国自产拍偷拍福利精品免费一| 欧美日韩国产亚洲一区| 欧美日本精品一区二区三区| 欧美香蕉大胸在线视频观看| 国产精品久久久久99| 欧美精品三区| 国产精品福利av| 欧美剧在线免费观看网站| 欧美精品偷拍| 国产精品入口| 激情欧美一区二区三区在线观看| 国产精品丝袜xxxxxxx| 国产一区二区三区无遮挡| 有码中文亚洲精品| 韩国欧美国产1区| 日韩一级精品视频在线观看| 亚洲在线免费| 欧美波霸影院| 国产乱码精品一区二区三区不卡| 国内精品视频在线播放| 亚洲区一区二区三区| 亚洲国产高清自拍| 亚洲国产精品福利| 一本色道久久综合狠狠躁篇的优点 | 国产情人综合久久777777| 在线观看成人一级片| 99国产精品久久久| 久久久精品午夜少妇| 欧美人妖另类| **性色生活片久久毛片| 国产揄拍国内精品对白| 9l国产精品久久久久麻豆| 亚洲精品永久免费| 久久大香伊蕉在人线观看热2| 欧美乱大交xxxxx| 国产在线日韩| 在线一区免费观看| 蜜臀va亚洲va欧美va天堂| 欧美www在线| 国产欧美视频在线观看| 亚洲理伦电影| 久久久水蜜桃av免费网站| 老司机免费视频一区二区| 国产精品日韩一区二区| 亚洲看片免费| 欧美14一18处毛片| 欧美日韩一区二区三区| 国色天香一区二区| 亚洲欧美美女| 欧美视频在线观看免费| 亚洲第一天堂av| 亚洲一级二级| 欧美午夜无遮挡| 在线欧美日韩精品| 欧美一区二区三区男人的天堂|