title: Implementing an array of linked lists
body: <p>Working with graphs right now, and pretty stuck on creating an array of linked lists (adjacency list), tried few variations, but got this error:</p>
  
  <blockquote>
    <p>[Error] no match for 'operator>>' (operand types are 'std::istream {aka std::basic_istream}' and 'node*')</p>
  </blockquote>
  
  <pre><code>class node {
      int data;
      node* next;
      node(int x){
          data = x;
          next = NULL;
      }   
  };
  
  void SS_in(){
      int nver;
      node **listik;
      cout &lt;&lt; "vvedite kolvo vershin";
      cin &gt;&gt; nver;
      for (int i=0; i&lt;nver;i++){
          cout &lt;&lt; "V" &lt;&lt; i &lt;&lt; ": ";
          cin &gt;&gt; listik[i];
      }
  }
  </code></pre>