title: Code Blocks "It seems like project has not been built yet. Do you want to build it now?"
body: <p>Code blocks bee working fine for me.  But yesterday whenever I try to compile a small program a window appears showing</p>
  
  <blockquote>
    <p>It seems like project has not been built yet.
    Do you wan to build it now?</p>
  </blockquote>
  
  <p>I also found similar  questions but in all of them not a single program is working. But  in mine "hello world!" program and some other programs are working. </p>
  
  <p>This is the code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  void print(int b[], int s);
  
  int main()
  {
      int a[5] = {1,2,3,4,5};
      print(a, 5);
  }
  
  void print(int b[] , int s){
  
      for(int i = 0; i &lt; s; i++){
  
          cout &lt;&lt; b[i] &lt;&lt; endl;
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WdEGV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WdEGV.png" alt=""></a></p>
  
  <p>I installed code blocks in another computer and it's working fine.</p>
  
  <p><a href="https://i.stack.imgur.com/ixfl5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ixfl5.png" alt=""></a></p>
  
  <p>I'm still learning C++.</p>