Skip to content
Snippets Groups Projects
Commit 140295af authored by Feryandi Nurdiantoro's avatar Feryandi Nurdiantoro
Browse files

Delete Printing

parent 02054dbd
No related merge requests found
File added
...@@ -25,9 +25,9 @@ int *createArray (int num_elements) { ...@@ -25,9 +25,9 @@ int *createArray (int num_elements) {
for (i = 0; i < num_elements; i++ ) { for (i = 0; i < num_elements; i++ ) {
rand_nums[i] = (rand() % 100); rand_nums[i] = (rand() % 100);
printf(":%d ", rand_nums[i]); //printf(":%d ", rand_nums[i]);
} }
printf("\n"); //printf("\n");
return rand_nums; return rand_nums;
} }
...@@ -93,14 +93,14 @@ void printBucket (Bucket b) { ...@@ -93,14 +93,14 @@ void printBucket (Bucket b) {
int i = 0; int i = 0;
printf("print: "); printf("print: ");
for (i = 0; i < b.size; i++) { for (i = 0; i < b.size; i++) {
printf("[%d]", b.content[i]); //printf("[%d]", b.content[i]);
} }
} }
void printArray (int *array, int size) { void printArray (int *array, int size) {
int i; int i;
for (i = 0; i < size; i++) { for (i = 0; i < size; i++) {
printf("[%d]", array[i]); //printf("[%d]", array[i]);
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment