Sign in to follow this  

File io help

Recommended Posts

ifstream fin;;
fin >> entry.left >> entry.right >> >> entry.bottom;
fin >> text.left >> text.right >> >> text.bottom;
fin >> drag.left >> drag.right >> >> drag.bottom;
int a = 0;
fin >> a;

The first part works fine but then I open ConsolCommands.txt and try to input the first int a always always stays equal to zero. Any help would be great thanks!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this