国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CS111 編程代做、代寫 C++程序語言

時間:2024-05-27  來源:合肥網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






 

掃一掃在手機打開當前頁
  • 上一篇:長沙旅行社代辦越南簽證多少錢(怎么選擇好的旅行社)
  • 下一篇:代寫 Linear Equation System Solver
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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免费看| 国产高清精品一区| 日韩在线电影一区| 亚洲精品欧美日韩| 欧美激情精品久久久久| 欧美日本高清一区| 最新av在线免费观看| 一区二区传媒有限公司| 亚洲va欧美va在线观看| 日韩中文字幕亚洲精品欧美| 日日噜噜噜夜夜爽爽| 日韩精品在线观看av| 黄色激情在线视频| 国产伦精品一区二区三区精品视频| 国产裸体舞一区二区三区| 97福利一区二区| 久久99国产精品99久久| 久久天天躁狠狠躁夜夜爽蜜月| 国产精品入口夜色视频大尺度| 国产精品丝袜视频| 两个人的视频www国产精品| 中文字幕日本最新乱码视频| 春日野结衣av| 狠狠97人人婷婷五月| 成人国内精品久久久久一区| 国产精品91免费在线| www欧美日韩| 精品久久中出| 日本香蕉视频在线观看| 极品校花啪啪激情久久| 99久re热视频精品98| 色偷偷噜噜噜亚洲男人| 精品国产一区二区三区久久久久久 | 国产成人精品在线播放| 日韩亚洲在线观看| 欧美大成色www永久网站婷| 亚洲熟妇无码一区二区三区导航| 亚洲国产欧美不卡在线观看| 青青草国产免费| 国产精品一区=区| 日韩视频免费中文字幕| 色综合久久精品亚洲国产| 欧美一区二区三区在线免费观看| 欧美日韩亚洲第一| 91免费看蜜桃| 国产精品电影网| 欧美一级在线看| 国产一区二区视频在线观看 | 国产精品一区二区不卡视频| 日韩一区二区福利| 亚洲一区二区三区精品在线观看 | 91免费在线视频| 国产精品三级久久久久久电影| 一级特黄妇女高潮| 国语精品中文字幕| 久久久国产精华液999999 | 欧美综合在线第二页| 国产精品自拍合集| 日韩中文字幕在线视频播放 | 国产免费黄色一级片| 色噜噜狠狠色综合网图区| 一区不卡视频| 美女精品国产| 视频直播国产精品| 三年中国中文在线观看免费播放| 国产日韩视频在线播放| 精品国产欧美成人夜夜嗨| 亚洲精品乱码视频| 国产欧美精品一区二区| 久久久噜噜噜www成人网| 亚洲精品免费网站| 成人国产在线看| 精品中文字幕在线观看| 免费在线成人av| 深夜福利一区二区| 日本一区高清不卡| 国产精品∨欧美精品v日韩精品| 中文字幕久精品免| 国产伦精品一区二区三| 不用播放器成人网| 黄色动漫网站入口| 国产精品免费观看高清| 欧美精品国产精品久久久| 三级精品视频久久久久| 午夜精品久久久内射近拍高清| 99在线首页视频| 亚洲在线www| 91麻豆国产精品| 亚州av一区二区| 777久久精品一区二区三区无码| 欧美激情中文网| 国产日韩一区二区在线观看| 色综合久久久888| 高清视频一区| 亚洲国产精品久久久久婷蜜芽| 成人精品小视频| 亚洲资源视频| 91精品国产99| 日本不卡高字幕在线2019| 久久综合一区二区三区| 日韩av大全| 久久久精品2019中文字幕神马| 欧美午夜欧美| 欧美xxxx做受欧美.88| 国产欧美精品久久久| 中文视频一区视频二区视频三区| 成人免费在线小视频| 亚洲精品天堂成人片av在线播放| 久久久久久艹| 青青草国产免费| 国产精品久久久久不卡| 成人免费观看毛片| 日本精品视频网站| 国产精品视频自在线| 麻豆91av| 亚洲巨乳在线观看| 久久久久久久久久久一区| 激情五月开心婷婷| 欧美激情亚洲自拍| 国产成人一区二区三区免费看| 欧美中文在线观看| 精品久久久久久久免费人妻| 97精品一区二区三区| 热久久99这里有精品| 久久躁狠狠躁夜夜爽| 91免费看片网站| 欧美日韩精品免费看| 中文字幕成人一区| 日韩中文字幕不卡视频| 国内精品久久久久久久果冻传媒| 一区国产精品| 国产成人生活片| 国产精品亚洲不卡a| 日韩.欧美.亚洲| 国产精品国产精品国产专区不卡| 成人国产在线看| 欧美亚洲国产另类| 欧美极品在线播放| 国产成人免费av电影| 高清av免费一区中文字幕| 人妻无码视频一区二区三区| 欧美激情在线一区| www.日韩视频| 99精品一区二区三区的区别| 欧美精品久久久| 色乱码一区二区三区熟女| 欧美猛交ⅹxxx乱大交视频| 久久久久久久久一区二区| 国产麻豆日韩| 欧美日韩一区二区三区电影| 动漫一区二区在线| 美女av一区二区三区| 国产成人欧美在线观看| 国产精品18久久久久久麻辣| 国产欧美一区二区三区久久 | 韩国视频理论视频久久| 日韩av免费网站| 欧美激情aaaa| 国产精品高潮粉嫩av| 久久久久久久久久久久久久久久av | 日本精品久久久久久久| 国产精品极品美女粉嫩高清在线| 97精品国产97久久久久久粉红| 欧美综合国产精品久久丁香| 亚州av一区二区| 一区二区在线观| 国产精品久久7| 视频在线观看99| 久久男人av资源网站| av免费观看国产| 国产女人18毛片水18精品| 国内精品久久国产| 秋霞在线观看一区二区三区| 色香蕉在线观看| 亚洲国产日韩综合一区| 欧美黄网免费在线观看| 国产精品视频一区二区三区四 | 国产精品久久久久久久久久久不卡 | 久久久久久人妻一区二区三区| 国产欧美一区二区三区久久人妖| 欧美日韩另类综合| 日韩欧美第二区在线观看| 日本在线高清视频一区| 中文网丁香综合网| 欧美激情在线观看视频| 精品中文字幕乱| 精品中文字幕视频| 欧美激情区在线播放| 在线视频91| 亚洲欧美日韩国产成人综合一二三区| 精品久久久久av| 精品九九九九| 国产99久久久欧美黑人| 欧美激情欧美激情在线五月| 欧美精品在线网站| 中文字幕免费在线不卡| 亚洲伊人久久大香线蕉av| 欧美一区二区视频97| 日韩女优在线播放| 国内精品国产三级国产在线专|