All I am trying to do here is change the first letter to a capital. While I'm in the function makefirstcapital the first letter is changed, the odd part comes when I go back to main firstname is bumped to secondname, and firstname has random stuff in it.
Am I passing the pointer wrong? I appologize if this is a noobish question.
using namespace std;
int main(int argc, char *argv)
void makefirstcapital(char *name)