I need help with fixing my errors in my code, you can test mycode to see what the problem is.
I have a code like this:
#include <iostream>
#include <fstream>
#include <cstring>
#include <iomanip>
#include <stdio.h>
#include <string.h>
const int STR_SIZE = 256;
const int ARRAY_SIZE = 256;
struct breedInfo {
char name[STR_SIZE];
char description[STR_SIZE];
char classification[STR_SIZE];
double avgWeight;
double avgHeight;
char origin[STR_SIZE];
};
int loadBreeds(breedInfo breeds[]);
bool addABreed(breedInfo breeds[], int & count);
bool searchBreeds(breedInfo breeds[], char searchName[], intcount);
void listBreed(breedInfo breeds[], int num);
void listBreeds(breedInfo breeds[], int count);
int main() {
breedInfo breeds[ARRAY_SIZE];
std::cout << “Welcome to the dogbreed information program.”;
int totalBreeds =loadBreeds(breeds);
if (totalBreeds == 0) {
return 0;
}
char choice;
while (1) {
std::cout<< “What would you like to do? (S)earch for a breed, (L)istall breeds, or
PayPal Gateway not configured
PayPal Gateway not configured