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
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dreday92

For some reason I keep getting the errors: "cop4530::BST<int>::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: "cop4530::BST<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: Im positive that it has to do with something with the function that that begins at line 114, please help.

Member Avatar for RonalBertogi
0
279
Member Avatar for dreday92

I am having a few compiling errors due to the syntax confusion on some the functions, Im confused to what im doing wrong, I know its a simple solution I've just been looking at this for hours and cant figure it out. //Header File #ifndef BST_H #define BST_H #include <iostream> …

Member Avatar for rubberman
0
252
Member Avatar for dreday92

I am having an issue implementing the Breadth First Search, Im trying to find the shortest distance between the source city and the destination city. Here is what I have so far, Im stuck and dont know what to do about this issue. #include <iostream> #include <string> #include <fstream> #include …

Member Avatar for dreday92
0
215
Member Avatar for dreday92

All my function work besides one, and it is because I can't find whats wrong with my syntax on line 22, could someone please help me? I know it has to be a simple solution that I am overlooking. #include "Vector.h" #include <iostream> using namespace std; const int zero = …

Member Avatar for rubberman
0
169
Member Avatar for dreday92

So for my assignment I have to create the Vector class and apply it .hpp to include the "Vector.h" file and no include the original Vector class. I have a few of the member functions done but am not sure how to begin with the other ones and im wondering …

Member Avatar for dreday92
0
515
Member Avatar for dreday92

Can someone tell me why I get this error "terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check Abort trap" when i run the following code? user and reservations are vectors of two classes else if (str == "lookup") { getline(cin, Name, '\n'); if (Name == user.at(i).getName()) { for …

Member Avatar for deceptikon
0
723
Member Avatar for dreday92

My program wont compile because of this one function, can someone explain to me why it is says "forbids comparison between pointer and integer" Any help would be appreciated void ReadBitPattern (ifstream& infile) { int x; x = cin.get(); if(cin.get() == "0") { for (int index = 0; index < …

Member Avatar for NathanOliver
0
102
Member Avatar for dreday92

I was wondering why the compiler keeps telling me #include <iostream> #include <fstream> #include <iomanip> #include <cstdlib> #include <string> using namespace std; const int PatternSize = 8; typedef int OperandArray[PatternSize]; // the major data structure, the BitPattern class class BitPattern { public: // default constructor, sets all bits to zero …

Member Avatar for sfuo
0
95
Member Avatar for dreday92

Can someone tell me why i get the error code "ISO C++ forbids comparison between pointer and integer" for lines 135 and 149 #include <iostream> #include <iomanip> #include <string> using namespace std; //Structure used to store the name, number of the players, and the number of points of each player …

Member Avatar for Geli19
0
168
Member Avatar for dreday92

// Can Someone help me with the last function at the bottom. I am trying to display the top scorers, not just top scorer. If someone could point me in the right direction it would be greatly appreciated. #include <iostream> #include <iomanip> #include <string> using namespace std; struct Players { …

Member Avatar for WaltP
0
279
Member Avatar for dreday92

///Can someone tell me why I am having an issue calling my functions?!?!?! #include <iostream> #include <iomanip> #include <string> using namespace std; struct Players { string name; int numPlayer; //Number of the Player int numPoints; //Point's scored by Player }; const int SIZE = 50; const int MAXPLAYERS =3; typedef …

Member Avatar for Ancient Dragon
0
170