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

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

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
  • 無相關信息
    合肥生活資訊

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

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

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

          9000px;">

                免费在线看成人av| 国产欧美日韩亚州综合| 亚洲成在人线免费| 亚洲va在线va天堂| 国产一区二三区好的| 日韩美女视频一区二区在线观看| 国产精品久久免费看| 91久久精品日日躁夜夜躁欧美| 午夜精品成人在线| 久久久久久久久久久久久久久99 | 亚洲国产精品久久不卡毛片| 91精品国产综合久久久久| 国产精品综合二区| 一区二区理论电影在线观看| 日韩精品一区二区三区视频播放| 岛国一区二区在线观看| 午夜精品爽啪视频| 国产精品网站在线| 欧美日本乱大交xxxxx| 国产精品亚洲视频| 日韩精品亚洲一区二区三区免费| 久久久99精品久久| 欧美日韩国产精品成人| 懂色av一区二区夜夜嗨| 日本美女视频一区二区| 中文字幕永久在线不卡| 日韩欧美你懂的| 99国产精品国产精品久久| 美女视频一区二区三区| 玉米视频成人免费看| 国产日本亚洲高清| 日韩一区二区视频| 欧美丝袜丝交足nylons图片| 成人三级伦理片| 国产老肥熟一区二区三区| 日本不卡视频在线观看| 亚洲一区二区视频在线| 国产精品视频第一区| ww久久中文字幕| 日韩美女视频一区二区在线观看| 欧美怡红院视频| 91福利资源站| 日本韩国一区二区| 色综合视频一区二区三区高清| 国产二区国产一区在线观看| 美女在线视频一区| 日韩精品久久久久久| 亚洲一区电影777| 亚洲欧美日韩在线不卡| 国产精品久久久久久妇女6080 | 91精品国产黑色紧身裤美女| 欧美在线免费观看亚洲| 欧美亚洲综合一区| 欧美三级韩国三级日本一级| 在线亚洲免费视频| 在线一区二区三区四区| 欧美中文字幕一区二区三区亚洲| 一本到三区不卡视频| 91九色最新地址| 欧美日韩国产免费一区二区| 在线播放日韩导航| 日韩免费看的电影| 久久精品网站免费观看| 中文字幕在线一区免费| 国产精品日韩精品欧美在线| 中文字幕一区av| 亚洲一区在线看| 蜜桃av一区二区三区| 国产在线观看免费一区| 国产成a人无v码亚洲福利| 91丨porny丨国产| 欧美日本免费一区二区三区| 日韩午夜电影av| 国产欧美综合色| 1000部国产精品成人观看| 夜夜精品视频一区二区 | 亚洲妇女屁股眼交7| 日本人妖一区二区| 国产黄色精品网站| 色偷偷久久一区二区三区| 欧美精品乱人伦久久久久久| 久久精品视频一区二区三区| 亚洲人成7777| 奇米色一区二区三区四区| 国产精品77777竹菊影视小说| 色哟哟欧美精品| 日韩精品一区在线观看| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 欧美丰满少妇xxxxx高潮对白| 欧美大黄免费观看| 一区二区三区中文字幕| 精品在线播放免费| 欧美日韩一级黄| 中文一区二区在线观看| 蜜桃av噜噜一区| 欧美视频一区二区三区| 国产精品女主播av| 精彩视频一区二区| 欧美日韩一区二区不卡| 亚洲欧洲精品天堂一级| 国产一区二区三区av电影 | 国产原创一区二区| 欧美中文字幕一区二区三区| 国产精品美女久久久久久2018| 免费成人美女在线观看| 99re视频精品| 国产精品国产三级国产普通话蜜臀 | 日韩国产欧美一区二区三区| 91啪在线观看| 国产欧美精品一区二区三区四区 | 成人亚洲一区二区一| 91精品国产丝袜白色高跟鞋| 亚洲精品精品亚洲| 国产suv精品一区二区三区| 精品国产乱码久久久久久图片 | 国产麻豆日韩欧美久久| 日韩视频一区二区| 热久久国产精品| 欧洲激情一区二区| 亚洲精选一二三| 色诱视频网站一区| 夜夜嗨av一区二区三区四季av| av不卡一区二区三区| 国产婷婷色一区二区三区| 国产在线不卡一区| 久久精品人人做人人爽人人| 国产福利电影一区二区三区| 亚洲国产成人午夜在线一区| 成人午夜在线免费| 一区二区中文视频| 色哟哟一区二区在线观看| 一区二区高清视频在线观看| 91精品办公室少妇高潮对白| 玉米视频成人免费看| 欧美私模裸体表演在线观看| 日韩中文字幕亚洲一区二区va在线| 欧美丰满少妇xxxbbb| 久久国产精品露脸对白| 精品免费国产一区二区三区四区| 国模少妇一区二区三区| 久久久国产一区二区三区四区小说| 国产精品亚洲专一区二区三区| 国产精品久久毛片a| 欧美日本视频在线| 国产在线一区二区| 中文字幕亚洲视频| 欧美区在线观看| 国精产品一区一区三区mba视频 | 夜夜嗨av一区二区三区中文字幕 | 欧美亚洲综合久久| 日本成人在线电影网| 国产香蕉久久精品综合网| www.欧美精品一二区| 午夜精品久久久久影视| 精品成人一区二区| 色哟哟亚洲精品| 国产麻豆视频一区| 亚洲国产精品人人做人人爽| 精品国产凹凸成av人导航| 99久久精品免费看| 美国十次了思思久久精品导航| 国产欧美精品国产国产专区| 91国内精品野花午夜精品| 狠狠色丁香婷婷综合| 亚洲国产三级在线| 中文字幕一区日韩精品欧美| 欧美一个色资源| 日本高清无吗v一区| 国产一区二区三区电影在线观看 | 中文字幕亚洲在| 久久亚洲一级片| 欧美日韩一卡二卡| 97久久精品人人爽人人爽蜜臀| 日韩va欧美va亚洲va久久| 日韩理论在线观看| 日本一区二区视频在线观看| 欧美一级黄色片| 在线观看日韩一区| 成人av在线观| 国产一区二区在线视频| 青青草视频一区| 亚洲综合色成人| 中文字幕永久在线不卡| 久久婷婷国产综合精品青草| 51精品国自产在线| 在线观看一区日韩| 在线观看日韩一区| 欧美片网站yy| 东方欧美亚洲色图在线| 蜜臀精品久久久久久蜜臀| 亚洲国产日韩综合久久精品| 亚洲欧洲三级电影| 欧美国产在线观看| 国产精品天美传媒| 国产精品美女久久久久高潮| 国产午夜亚洲精品午夜鲁丝片| 精品人在线二区三区| 精品国产一区a| 久久久精品免费免费| 中文字幕不卡在线观看|