bamp
Type: Posts; User: Campocalypse
bamp
The last comment is the expected output. Figured you would need to know what I'm trying to get if you wanted to help me
Technically a homework question, though the deadline is past due. For learning purposes only, I want to know what was wrong with my code when I submitted. It's a Traveling Salesperson Problem, and...
Only one problem left and my code will be perfect. No matter what number I set i = to my for loop always comes out 1 increment short. If I have 4 people to process, it gives me 3. If I have 3, it...
That moment when you wasted hours trying to find some way to fix this, and the answer was really that simple -_-
Thank you Caligulaminus
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define StringSIZE 81
char tempString[StringSIZE];
Never got the damn thing to work :/
Warnings everywhere...
The assignment is past due -I was just having the same errors. And I was warning him not to post his code on here. My friend gave me the link, and this guy is most definitely in our class. If anyone...
1. Call swap with
swap( between[y], between[y+1]);
2. Put a for loop in swap to swap 21 elements of p1[i] and p2[i][/QUOTE]
I did both in the code and I'm still getting errors. Can you give...