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
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 9
io x 2
Member Avatar for gdubz

I run the program and nothing prints out.. #include <iostream> #include <vector> #include <windows.h> using namespace std; void check_neighbors(vector<vector<char> >, int [22][88]); void generation(vector<vector<char> >); void display(vector<vector<char> >); int main() { vector<vector<char> > world(22, vector<char>(88, '.')); int neighborArray[22][80]; //Intial condiion world[3][3] = '*'; world[3][4] = '*'; world[4][4] = '*'; world[3][7] …

Member Avatar for Lerner
0
133
Member Avatar for gdubz

I keep getting a run time error, i think i has to do with the generate and/or checkNeighbor methods [CODE] #include <iostream> #include <vector> #include <windows.h> using namespace std; void display(vector<vector<char> > grid) { for(int x = 0; x < grid.size(); x++) { for(int y = 0;y < grid[x].size();y++) { …

Member Avatar for VernonDozier
0
1K
Member Avatar for gdubz

Im trying to cin >> a string consisted of numbers and letters such as 3j4583 and storing each separate char to a separate index of an array can u help provide the proper syntax?

Member Avatar for subith86
0
125
Member Avatar for gdubz

Im trying to take input data from a user as a string of number or letters and store each char on a different array, whats the proper syntax fro this?

Member Avatar for Zvjezdan23
0
224