Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~143 People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for ch1ck3n

My code is below. I'm pretty sure my issues are spanning my my .resize(). It's possible I'm doing my hashing completely wrong too, but it was right at one point. This code wont run at all right now, but it compiles. Is there a better way to go about sizing …

Member Avatar for ch1ck3n
0
76
Member Avatar for ch1ck3n

[CODE] #include <iostream> // required for input and output #include <fstream> #include <cstdlib> // required for rand() function using namespace std; // function prototypes void storeData(char cellArray[][18]); void printArray(char cellArray[][18]); int checkNeighbors(char cellArray[][18], int row, int col); void makeContagious(char cellArray[][18], int dayArray[][18], int row, int col, int neighbors); int main() …

0
67