No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hello, I am trying to declare a 2D array (3x3) inside of a class. I have it set up like this: GameBoard.cpp[CODE] #include "GameBoard.h" #include <iostream> using namespace std; char board [3][3]; GameBoard::GameBoard() { board [0][0] = 'a'; board [0][1] = 'b'; board [0][2] = 'c'; board [1][0] = 'd'; … |
|
I need help writing functions. In this program I need to be able to implement a number of useful functions using a header file and an implementation file. I also need to place the prototypes for my function in a .h file, and implement these functions in a .cpp file. … |
|
I need help! I am learning how to write functions but I have no idea how to start this.... could some one help me. I would really appreciate it. Thank You. I need to implement a number of useful functions using a header file and an implementation file. I also … |
|
Hi.... I'm a beginner at this programming thing and I need some help using nested for loops this is an assignment i have to do for my class, basically the output should be something like this.. the characters depends on what the user inputs and how many rows the user … |