title: Read line from file: Unable to use getline()
body: <p>I have the task to write a function that reads a line from a text file (renamed to <code>.dat</code>, however it contains only text), but I am out of options for a solution because of the following points:</p>
  <ol>
  <li><p>I am using <code>Borland C++ Version 5.02</code>, and no, I CAN´T download another compiler because I dont have admin rights on my laptop and the guy who has the needed password isnt there until next week.</p>
  </li>
  <li><p>The compiler does not accept <code>using namespace std</code>, and also it doesnt accept <code>getline()</code>, no matter if <code>string</code> and <code>iostream</code> are included or not.</p>
  </li>
  </ol>
  <p>I am trying to find a solution or at least the tiniest approach, but I am unable to find one.</p>
  <p>So my question is: How do I read a line from a simple textfile without using <code>getline()</code> (<code>cin.getline</code> works, the ones from <code>string</code> or <code>fstream</code> doesnt) ? The textfile contains several lines like these:</p>
  <blockquote>
  <p>1234;12.05.03;08:44:23; XY12-AB;A1-12;Timeout</p>
  <p>2345;12.05.03;09:04:34;XY1-CD;A22-9;Connection refused</p>
  </blockquote>
  <p>And the numbers/letters between the <code>;</code> need to be stored in variables so they can be worked with.</p>
  <p>Im not asking for you to write my code, but I am reallyreaylly frustrated and my instructor is no help.</p>
  <p>Live long and prosper,
  Me.</p>