title: request for member 'resize' in 'abs', which is non-class type 'char**'
body: <p>i have this code, and the compiler says in this line</p>
  <pre><code>abs.resize(jlh);
  </code></pre>
  <p>request for member 'resize' in 'abs', which is non-class type 'char**'.</p>
  <p>edit:i need abs and mhs to be in char so i can encrypt in the next step.</p>
  <p>what do i have to do? thanks!</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using std::cin;
  using std::cout;
  using std::endl;
  using std::string;
  
  int main(){
      int jlh,x,y;
  
      char **mhs=new char*[100];
      char **abs=new char*[100];
  
      cout&lt;&lt;&quot;enter students total: &quot;;
      cin&gt;&gt;jlh;
  
  
      abs.resize(jlh);
      for(x=0;x&lt;jlh;x++){
          cout&lt;&lt;&quot;enter students name: &quot;;
          mhs[x] = new char[1024000];
          cin&gt;&gt;mhs[x];
          cout&lt;&lt;&quot;enter students presensi: &quot;;
          cin&gt;&gt;abs[x];
          cout&lt;&lt;endl;
      }
  }
  </code></pre>