It's saying I have 6 errors. Need help, please..or a push into the right direction. Thank-you. :)
#include <iostream>
#include <cctype>
using namespace std;
int Len_String(char *);
int CountCapitals(char *);
int CountVowels(char *);
int main()
{
char msg[] = "Strayer - what a University !";
char msg2[] = "Programming is a Challenge";
cout << msg << strlen(msg) << endl;
cout << msg << Len_String(msg) << endl;
cout << msg << CountCapitals(msg) << endl;
cout << msg << CountVowels(msg) << endl;
cout << msg2 << strlen(msg2) << endl;
cout << msg2 << Len_String(msg2) << endl;
cout << msg2 << CountCapitals(msg2) << endl;
cout << msg2 << CountVowels(msg2) << endl;
return 0;
}
int Len_String(char *p)
{
int line (char *p)
cout << "Enter a line of characters: " << endl;
cin.getline()
int length;
int *ch_ptr;
while (*char_p != '\0')
{
++length;
++ch_ptr;
}
return length;
}//End of Len_String()
int CountCapitals(char *p)
{
int length = 0;
int *ch_ptr;
cout << "Enter a line of CountCharacters: " <<endl;
while (*ch_ptr ! = '\0')
{
++count;
++ch_ptr;
}
}//End of Len_String()
int CountVowels(char *p)
{
int length = 0;
int *ch_ptr;
cout << "Enter a line of CountVowels: " <<endl;
while (*ch_ptr ! = '\0')
{
++count;
++ch_ptr;
}
}//End of Len_String()