not callable error
Paul Backus via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Nov 3 19:59:49 PDT 2016
On Friday, 4 November 2016 at 02:28:17 UTC, bluphantom91 wrote:
> Hello,
>
> I am trying to finish up a group project but I am running into
> a small problem. I keep getting an error about fgetc not being
> callable. The purpose of my program is to count the number of
> characters in a file. Any bit of help is appreciated!
>
> Here's my code:
>
> import std.stdio;
> import std.file;
> import std.string;
>
Since you're using the C library stdio functions, you should
import core.stdc.stdio
More information about the Digitalmars-d-learn
mailing list