Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
    bool tramp[4][13];
    for(int a = 0; a < 4; ++a) {
        for(int b = 0; b < 13; ++b) {
            tramp[a][b] = false;
        }
    }
    
    int N;
    string kind;
    int number,e;

    cin >> N;

    for(int c = 0; c < N; ++c) {
        cin >> kind >> number;
        if(strcmp(kind,"S")) {
            e = 0;
        }else if(strcmp(kind,"H")) {
            e = 1;
        }else if(strcmp(kind,"C")) {
            e = 2;
        }else if(strcmp(kind,"D")) {
            e = 3;
        }
        tramp[e][number] = true;
    }

    string kind2;

    for(int f = 0; f < 4; ++f) {
        for(int g = 0; g < 4; ++ g) {
            if(number[f][g] == false) {
                if(f == 0) {
                    kind2 = "S";
                }else if(f == 1) {
                    kind2 = "H";
                }else if(f == 2) {
                    kind = "C";
                }else if(f == 3) {
                    kind = "D";
                }
                cout << kind2 << " " << g << endl;
            }
        }
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:19: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   20 |         if(strcmp(kind,"S")) {
      |                   ^~~~
      |                   |
      |                   std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/14/cstring:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:121,
                 from a.cc:1:
/usr/include/string.h:156:32: note:   initializing argument 1 of 'int strcmp(const char*, const char*)'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
a.cc:22:25: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   22 |         }else if(strcmp(kind,"H")) {
      |                         ^~~~
      |                         |
      |                         std::string {aka std::__cxx11::basic_string<char>}
/usr/include/string.h:156:32: note:   initializing argument 1 of 'int strcmp(const char*, const char*)'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
a.cc:24:25: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   24 |         }else if(strcmp(kind,"C")) {
      |                         ^~~~
      |                         |
      |                         std::string {aka std::__cxx11::basic_string<char>}
/usr/include/string.h:156:32: note:   initializing argument 1 of 'int strcmp(const char*, const char*)'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
a.cc:26:25: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
   26 |         }else if(strcmp(kind,"D")) {
      |                         ^~~~
      |                         |
      |                         std::string {aka std::__cxx11::basic_string<char>}
/usr/include/string.h:156:32: note:   initializing argument 1 of 'int strcmp(const char*, const char*)'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
a.cc:36:22: error: invalid types 'int[int]' for array subscript
   36 |             if(number[f][g] == false) {
      |                      ^