title: segmentation fault process returned 139 (0x8b)
body: <p>I'm new to Linux &amp; codeblocks. When building the code below i receive this error:</p>
  
  <blockquote>
    <p>"segmentation fault process returned 139 (0x8b)"</p>
  </blockquote>
  
  <p>I know it has something to do with memory but I cannot find the problem. While compiling the files with a Makefile or separately in the terminal I don't receive any errors.</p>
  
  <p>The <code>main</code> receives 2 arguments <code>(argv) ComputersInNet.txt - &gt; argv[1] Simulation.txt -&gt; argv[2]</code></p>
  
  <p>AND I cannot figure out how I add these files to the project using codeblocks, ALSO in Windows (Visual Basic) the codes works perfectly.</p>
  
  <p>I couldn't paste the codes correctly (5 files: 2 .h and 3 .cpp) you can download them from the link below, including both txt files I use as arguments. </p>
  
  <p><a href="http://depositfiles.com/files/cv2bwmz74" rel="nofollow">http://depositfiles.com/files/cv2bwmz74</a></p>