Posts
 
Reputation
Joined
Last Seen
Ranked #630
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~451 People Reached
Favorite Forums
Favorite Tags
c++ x 10
Member Avatar for Avatar99

My overloaded operator isn't initializing the value passed through it. Please help!!! and yes I am aware that my insert function isn't complete... [CODE=c]#include <iostream> using namespace std; struct Node{ int value; Node * next; }; class linkedList { public: linkedList () {first=0; length=0;} bool operator > (int a) ; …

Member Avatar for Sky Diploma
0
108
Member Avatar for summey

Actually I think it's cout<< fixed << setprecision(2) and make sure you include iomanip

Member Avatar for summey
0
128
Member Avatar for gregarion
Member Avatar for Avatar99
0
80
Member Avatar for Avatar99

It compiles and executes but for some reason my vectors do not initialize in the fillarrays function. What am I doing wrong? [code]#include <iostream> #include <conio.h> // for getch() #include <vector> using namespace std; bool and (std::vector<bool> p, std::vector<bool> q, int i); // returns bool for and bool or (std::vector<bool> …

Member Avatar for Avatar99
0
135