On Monday, 15 December 2014 at 22:20:53 UTC, ketmar via
Digitalmars-d-learn wrote:
On Mon, 15 Dec 2014 22:09:28 +
CraigDillabaugh via Digitalmars-d-learn
wrote:
Given the following program:
import std.string;
import std.stdio;
void main()
{
File file = File("blah.txt", "r"
On Mon, 15 Dec 2014 22:09:28 +
CraigDillabaugh via Digitalmars-d-learn
wrote:
> Given the following program:
>
> import std.string;
> import std.stdio;
>
> void main()
> {
> File file = File("blah.txt", "r");
>
> while( !(file.eof()) && count > 10 ) { //line 8
>
CraigDillabaugh:
Given the following program:
import std.string;
import std.stdio;
void main()
{
File file = File("blah.txt", "r");
while( !(file.eof()) && count > 10 ) { //line 8
//
}
}
I get the error message:
line(8): Error: void ha
Given the following program:
import std.string;
import std.stdio;
void main()
{
File file = File("blah.txt", "r");
while( !(file.eof()) && count > 10 ) { //line 8
//
}
}
I get the error message:
line(8): Error: void has no value
If I co