void main() {
writeln("hello");
int q;
readf(" %s", &q);
}
Hi! so I'm probably being dumb here however I'm having an issue
getting readf and readln to work properly. It seems to be
superseding the rest of my code. Allow me to explain. No matter
where I put the readf/readln function it will get hung up in the
console waiting for input. An example is below where this occurs
(only after inputting an int and pressing enter does hello print)
I am using eclipse with the standard DMD compiler. Any help is
appreciated!
- readln and readf issues Jacob Marek via Digitalmars-d
- Re: readln and readf issues Robert burner Schadek via Digitalmars-d
- Re: readln and readf issues Daniel Kozak via Digitalmars-d
- Re: readln and readf issues Jacob Marek via Digitalmars-d
