国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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在线免费观看
    日韩av电影免费在线| 久热99视频在线观看| 日韩美女av在线免费观看| 麻豆av一区二区三区| 国产精品10p综合二区| 国产精品久久久久av| 天堂а√在线中文在线| 日韩精品一区在线视频| 91av成人在线| 欧美激情在线视频二区| 免费av网址在线| 精品国产一区二区三区在线观看 | 久久精品国产v日韩v亚洲| 一本久久a久久精品vr综合| 欧美尤物巨大精品爽| 91久久在线视频| 久久国产精品免费视频| 欧美极品欧美精品欧美| 久久久久久久久久亚洲| 午夜午夜精品一区二区三区文| 黄网站色视频免费观看| www.日韩av.com| 日韩亚洲一区在线播放| 久久综合九色欧美狠狠| 亚洲欧洲国产精品久久| 爱福利视频一区二区| 久久久久久91香蕉国产| 国产精品揄拍一区二区| 久久久久久com| 欧美激情www| 久久黄色av网站| 日韩精品久久久| 国产精品99久久久久久久| 亚洲精品中文综合第一页| 阿v天堂2017| 亚洲视频电影| 国产在线精品一区二区中文| 久久精品国产一区二区三区| 热久久免费视频精品| 日日骚久久av| 欧美日韩精品一区| 69av在线视频| 午夜精品短视频| 69**夜色精品国产69乱| 亚洲日本无吗高清不卡| av电影一区二区三区| 在线天堂一区av电影| 成人久久18免费网站图片| 亚洲一区二区三区sesese| 久久一区二区精品| 日韩欧美视频一区二区| 国产成人精品在线视频| 欧美日韩性生活片| 精品久久久久亚洲| 成人在线小视频| 亚洲精品免费av| 国产不卡精品视男人的天堂| 日本欧美精品在线| 国产精彩视频一区二区| 性高湖久久久久久久久aaaaa| 91精品国产91久久久久久最新| 在线视频精品一区| 91精品在线观| 日本不卡视频在线播放| 国产高清精品软男同| 人体内射精一区二区三区| 国产精品视频自在线| 国产伦一区二区三区色一情| 亚洲欧美日韩国产成人综合一二三区 | 国产一级做a爰片久久毛片男| 久久不射热爱视频精品| 99国产盗摄| 午夜精品理论片| 久久久91精品国产一区不卡| 国产日韩久久| 欧美激情综合色| 丰满少妇大力进入| 午夜精品视频在线| 久久精品国产欧美激情| 国产精品一区二区电影| 日本www在线视频| 欧美成aaa人片在线观看蜜臀| 成人中文字幕在线播放| 日本a视频在线观看| 国产盗摄视频在线观看| 欧美精品一区二区三区国产精品| 97人人模人人爽人人喊中文字| 日韩av成人在线| 国产精品国产三级国产专区51 | 久久久久国产精品熟女影院| 秋霞毛片久久久久久久久| 国产精品高潮呻吟久久av黑人| 91精品久久久久久久久久久久久| 人人妻人人澡人人爽欧美一区| 精品国产av无码一区二区三区| 久久一区免费| 精品无人乱码一区二区三区的优势| 国产精品精品视频一区二区三区| 国产在线视频一区| 日韩精品福利片午夜免费观看| 国产精品免费看久久久无码| 97成人精品视频在线观看| 欧美乱偷一区二区三区在线| 亚洲欧美综合一区| 国产精品久久7| 色老头一区二区三区| 国产免费一区二区三区四在线播放| 日韩欧美黄色大片| 亚洲色成人一区二区三区小说| 精品国产91亚洲一区二区三区www| 久久国产精品亚洲va麻豆| 国产日韩欧美另类| 欧洲视频一区二区三区| 欧美成人一区在线| 国产精品久久久久久久小唯西川| www.亚洲一区二区| 国内视频一区| 人人干视频在线| 岛国视频一区| 中文字幕欧美日韩一区二区三区| 北条麻妃久久精品| 国产白丝袜美女久久久久| 91久久大香伊蕉在人线| 国产伦理一区二区三区| 蜜臀av性久久久久蜜臀av| 奇米一区二区三区四区久久| 亚洲精品乱码视频| 九九精品视频在线| 国产精品久久色| 国产精品久久中文| 久久精品国产欧美亚洲人人爽| 久久人人爽人人爽人人av| 成人精品网站在线观看| 国产一区在线观| 狠狠色伊人亚洲综合网站色| 欧美在线视频观看免费网站| 日韩免费在线免费观看| 色中色综合成人| 午夜啪啪福利视频| 午夜精品久久久久久久99黑人| 亚洲不卡中文字幕| 亚洲在线免费观看| 中文精品一区二区三区| 色阁综合伊人av| 色噜噜久久综合伊人一本| 久久99精品久久久久久三级| 99精品一级欧美片免费播放| 国产精品一区av| 国产免费成人在线| 国产日产欧美视频| 国产欧美综合一区| 国内精品一区二区| 高清视频一区二区三区| 97精品视频在线| 国产极品尤物在线| 97人人模人人爽人人喊38tv | 99视频国产精品免费观看| 国产精品亚洲天堂| www.欧美黄色| 成人a级免费视频| 91麻豆国产语对白在线观看| 国产一区玩具在线观看| 99精品在线免费视频| 久久久久久艹| www.日韩不卡电影av| 国产精品久久久久9999小说| 欧美成人亚洲成人| 欧美激情精品久久久久久蜜臀| 中文字幕日韩精品无码内射| 国产成人拍精品视频午夜网站| 久热精品在线视频| 欧美激情中文字幕在线| 亚洲精品久久区二区三区蜜桃臀| 欧美一区二区三区图| 日韩欧美三级一区二区| 欧美久久在线| 国产日韩在线亚洲字幕中文| 国产精品一久久香蕉国产线看观看| 久久综合亚洲精品| 国产精品视频网| 亚洲一区中文字幕在线观看| 日韩视频专区| 精品一区二区三区视频日产| 国产在线精品一区二区三区| 97精品久久久中文字幕免费| 九色91国产| 国产精品国产亚洲伊人久久| 亚洲图片在线观看| 欧美日韩精品免费看| 精品无人区一区二区三区 | 国产suv精品一区二区三区88区| 国产精品女主播视频| 久久久久国产精品免费网站| 日本女人高潮视频| 国产四区在线观看| 久久国产精品免费观看| 精品国产乱码久久久久久蜜柚 | 亚洲中文字幕无码中文字| 日韩美女免费观看| 国产精品一区二区三区久久久 |