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
~1K People Reached
Favorite Tags
c++ x 4
Member Avatar for Name_1

So I've been trying to make a circle class that can calculate the Area, Diameter, and Circumference of a circle. I wish to be able to do this so I can easily just input the raidus in my main and print the values out. I tried making a friend function, …

Member Avatar for David W
0
1K
Member Avatar for Name_1

So I'm trying to convert my code into 3 files, the main.cpp, a header, and the classbody.cpp. This was my original code: #include <iostream> using namespace std; #include <string> #include <ctime> #include <stdio.h> #include <stdlib.h> class colorPicker { private: string colorArray[7]; public: colorPicker() { colorArray[0] = "Red"; colorArray[1] = "Green"; …

Member Avatar for rubberman
0
277