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
~606 People Reached
Favorite Forums
Favorite Tags
c++ x 11
Member Avatar for deicer

I have the following code which is working properly, what I'm looking to do is add an additional function to it, but I'm getting stuck. What I need to do is add a function to my class called DigitalTime::interval_since(const DigitalTime& a_previous_time, int& hours_in_interval, int& minutes_in_interval) What this function does is …

Member Avatar for deicer
0
131
Member Avatar for tehprince

I have the following program I need to write: I need to read in a line of text and then output a list of all the letters that occur along with the number of times each letter occurs. An array with a struct type as its base must be used …

Member Avatar for VernonDozier
0
147
Member Avatar for tehprince

I need to write a program that will take in a sentence and then outputs the # of words in the sentence, as well as the each letter with it's occurrence in alphabetical order. Example: Hello World. Would output: 2 words 1 d 1 e 1 h 3 l 2 …

Member Avatar for WaltP
0
126
Member Avatar for deicer

I have the following code which removes duplicates from an array: [code] #include <iostream> #include <algorithm> #include <vector> #include <iterator> using namespace std; char main() { char myarray[10] = {'a', 'b', 'b', 'b', 'b', 'c'}; int myarraylength = 5; string holdprogram; vector< char > myvector(myarray, myarray + (myarraylength + 1)); …

Member Avatar for tehprince
0
107
Member Avatar for tehprince

I'm a newbie to C++ and figured this would be a good place to ask for guidance. I need to write a program that reads input from a txt file which contains "grades" in numeric format, I.E. 92, 55, 88 and take those grades and calculate the average. Now my …

Member Avatar for tehprince
0
95