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
~169 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for superrg86

I need to do a stack of strings but im getting problems can anyone help heres what I have so far: [code=cpp] #include <iostream> #include <string> using namespace std; class StringStack { private: string *stackArray; int stackVal; int top; public: StringStack(string); ~StringStack(); void push(string); void pop(string &); bool isFull(); bool …

Member Avatar for vmanes
0
85
Member Avatar for superrg86

i don't know how to fix this error can any one help me here's my code: [code=c++] StringStack::StringStack(string value) { stackArray = new string[value]; stackVal = value; top = -1; } [/code] and the erro says: error C2440: 'initializing;: cannot convert from 'std::string; to size_t' what does this mean and …

Member Avatar for WaltP
0
84