The problem is that you have defined your courses as type "string" but are accessing them like a "char*" (or in your case "char[]" which is pretty much the same thing). All you would need to do is change this line:
if (strcmp(name, courses[0][0]) == 0)
to this:
if (strcmp(name, courses[0][0].c_str()) == 0)
Note the "c_str()". This simply returns a char* pointer of your string which can be used in strcmp().
As an aside: is there any particular reason you have gone from using std::string to char*? The reason I ask is because char* is more of a C-style way to program. The std:string type was designed for C++ and contains built in comparison operators for other strings (and I believe even char*s). Generally when programming in C++, it's best to use C++ style types whenever possible as there are a lot of advantages (RAII memory managements, standard algorithms, utility methods, etc...).