Good day. I was surprised to see that there are no members on objects declared as IFSTREAM and OFSTREAM. I have this code;

ifstream indata;
ofstream outdata;

indata.open("");
outdata.open("");

It can't seem to recognize the member "open". Why is that? Any solution?

Should have treat me buffet lunch while i configure/setup Netbeans C/C++ module for you. Now, do you get code highlights/auto-completes when you type "." or "->" following a class?

No. When I type out "indata." a box would a appear below (indicating suggestions) then nothing happens. This is exactly what I was doing with MSVisual C++ before.

In netBeans, Tools -> Options -> Editor -> Code Completion shows the code completeion settings.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.