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
~766 People Reached
Favorite Forums
Favorite Tags
c++ x 12
Member Avatar for Hiiero

Can I not do the below code? [CODE] class box { public: box(){} box(int v){x=v;} ~box(){} int getx(){return x;} private: int x; }; ____________________________ #include <iostream> #include <queue> #include <cstdlib> #include <ctime> #include <windows.h> using namespace std; #include "Q4.h" int main() { queue<box> B; int a; cout<<"How many boxes would …

Member Avatar for jmichae3
0
171
Member Avatar for Hiiero

I am loading a set of integers int a binary which is no problem, its when Im trying to increase their frequencies I am running into some difficulties. As it stands the program crashs if any of the numbers repeat themselves, any suggestions? [CODE] void BST::insert(int d) { tree_node* t …

Member Avatar for mrnutty
0
132
Member Avatar for Hiiero

The program below makes two classes that when calling their generate functions in a .cpp file generates a list of soldiers and then a separate list of skills, I want to combine these 2 lists,that way you can say Soldier 1 has skill 1,4,7 while Soldier 2 has 3,4,5,6,7,8. How …

Member Avatar for thines01
0
152
Member Avatar for Hiiero

How would I go about refining a triangle? So far this is what my code looks like,not finished by far [CODE] class point {public: point(){} point(double i, double j,double k){x=i; y=j;z=k;} ~point(){} double getx(){return x;} double gety(){return y;} double getz(){return z;} bool operator == (point p){return (x==p.getx() && y==p.gety() && …

Member Avatar for thines01
0
166
Member Avatar for Hiiero

I am currently trying to create a list of skills and each list of skills generates 3 to 10 skills to put in the list and then randomly generates the skills that it places in that list. But I don't want skills repeating,meaning if I have 8 skills going in …

Member Avatar for Hiiero
0
145