Untitled

Run Settings
LanguageC++
Language Version
Run Command
// EarlyGrid.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include <iostream> using namespace std; const int MAXGRIDS = 100; void CreateGrid(int anArray[], int size); void DrawGrid(Grid grid, int size); void DivideGrid(Grid grid, int divider); void FlipGrid(Grid grid); class Grid { int rows; //x int columns; //y Square field; public: void SetXY(int x, int y) { rows = x; columns = y; return; } public: void DisplaySize() { cout << "Rows = ", rows, "Columns = ", columns; } }; struct Square { int number; bool blank; }; int main() { const int sizeOf = 6; int grid[sizeOf] = {2, 6, 8, 3, 1, 9}; CreateGrid(sizeOf); } void CreateGrid(int size) { Grid sketch; sketch.SetXY(size, size); } void DrawGrid(Grid grid, int size) { for (int i = 0; i < size; i++) { } } void DivideGrid(Grid grid, int divider) { return; } void FlipGrid(Grid grid) { return; }
Editor Settings
Theme
Key bindings
Full width
Lines