Character Arrays

Hello! I am new to C++ and I am having a difficult time understanding why the following code is not compiling. It says I'm doing an invalid conversion. I'm not sure exactly what that means. Any suggestions?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <sstream>
using namespace std; 


int main () { 

	char C[4]; 
	C[0] = "j";
	C[1] = "o";
	C[2] = "h";
	C[3] = "n";

	cout << C; 
return 0; 
}
Try single quotes instead of double quotes.
... oh my goodness. I'm so dumb. Thank you.
Topic archived. No new replies allowed.