title: Trying to close c++ program at certain time returns value's (that i don't want)
body: <p>Running the code returns no errors, the problem is when I try to exit the program.
  Simply, when i use the exit, return or abort functions, i get this (picture below)
  <a href="https://i.stack.imgur.com/Ld361.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ld361.png" alt="enter image description here"></a></p>
  
  <p>see code below</p>
  
  <pre><code>//First 2 libs handle info exchange
  #include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;stdio.h&gt;
  #include &lt;string&gt;
  using namespace std;
  main(){
  
      string username;
      cout &lt;&lt; "Please enter a general use handel (\"username\")\n";
      cin &gt;&gt; username;
  
      fstream blockUsername;
  
      blockUsername.open("Player_Data/username.txt", ios::out); //out is for writing, in is for reading
      blockUsername &lt;&lt; username;  
      blockUsername.close();
  
      return 0;
  
  }
  </code></pre>
  
  <p>I'm aware that similar questions have been asked, but I have not succeeded in fixing my code with those.
  What I want is for the program to close with no exit values, even though I know that they are useful.</p>
  
  <p>PS: It very well could be something to do with my code editor (Dev C++), or my compiler which i broke and had to fix recently.</p>
  
  <p>Also side note how would i go about removing that address at the top of the terminal (and potentially replacing it with something else)?</p>