Adding a single character to a char array?Here is my code: String540 & String540::append(char c){ strncat ((*this).astring, c, 256); r...
C style char arraysI have a class called stringcreator. A constructor in that class is defined as stringcreater ( co...
C style char arraysI thought a constructor in C++ initializes a char array?
C style char arraysIf I read in characters into a char array using cin, why do I need a constructor for the char array?
sortingi need to sort 3 values: -1, 0, 1. They are received from a function. Is there an easy way to do thi...