User profile: Alrededor

User info
User name:Alrededor
Number of posts:163
Latest posts:

counting characters in object of class
Since the [i]that [/i]parameter in your copy constructor is [b]const[/b], the compiler will not let ...

How do I take a string of characters and sum their ascii values?
Since a character is an integral type, you can just use accumulate which is in <numeric>: [code]#in...

Ship Class Misunderstanding Problem
Also, you have defined two different [i]Ship [/i]classes, in one of which [i]year [/i]is a string an...

String Conversion Function Problem
A couple other points: 1) Your [i]getLine()[/i] function will not get the whole line but only the f...

String class implementation
Your length() function should be a const member function. Change line 14 to: [code]int length() con...

This user does not accept Private Messages

User: Alrededor

  • Public profile