联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2018-11-21 10:00

CSCI 1060U - Laboratory #9

(More) Programming Tic-Tac-Toe

Lab Due: midnight two days after your lab (Blackboard)

Introduction

The main purpose of this lab is to implement a two-dimension dynamic array.

Activity #1

You should start by downloading the tictactoe_final.cpp program

(http://www.sqrlab.ca/exercises/tictactoe_final.cpp) (alternatively you can start

from your Laboratory 6 submission). This program uses a two-dimensional array

for the tic-tac-toe board that is implemented using an ordinary (automatic)

variable:

string board[SIZE][SIZE];

For this lab you need to modify the board array to be implemented using dynamic

variables and update the rest of the program accordingly.

(Hint: a two-dimensional dynamic array is created using a pointer to an array of

pointers)

You should submit your source file (.cpp) for Activity #1 through the lab drop box

in Blackboard.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp