Skip to content
Snippets Groups Projects
Commit a2130ae4 authored by Daniel Olsson's avatar Daniel Olsson
Browse files

Changed back the array size to the proper one after report

parent 0e7430c8
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,8 @@ using namespace std; ...@@ -20,8 +20,8 @@ using namespace std;
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
int cur = 0; int cur = 0;
char *lines[16536]; char *lines[35000];
char line[80]; char line[700];
// Fix num lines, num columns, strdup-1 // Fix num lines, num columns, strdup-1
FILE *fin = fopen("bible.txt", "r"); FILE *fin = fopen("bible.txt", "r");
if (fin==NULL){ if (fin==NULL){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment