Hehe. I tried googling this, but all I've come up was Visual C++ results. How would I go about reading from a VERY VERY basic ini file in console C++ Using DevC++?

The only things in the ini file are:

b=65.0
c=1.5
k=1.65

I'm linking to this ini so that the value of those numbers can be changed without recompiling the whole thing.

Hehe. I tried googling this, but all I've come up was Visual C++ results. How would I go about reading from a VERY VERY basic ini file in console C++ Using DevC++?

Why would VC be different than DEV?

Open the file
Read a line
Figure out what the line contains

and how would you do this?
how would you program this? If I just use:

#include "file.ini"

it gives errors. How do you read from it?

Also, VC++ uses completely different commands from console c++ and WinAPI...

You need to learn how to OPEN and READ a file. There are a lot of threads here that show how, and there are tutorials all over the web. As well as books galore.

We're here to help, not to teach the basics you can find everywhere.

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.