Jump to content

Hi there

Having a little trouble trying to work out how to read then separate data from a text file. I have we will say 3 datasets like Dataset 1 and 3 pieces of data {Data 1} all separate and i was wondering how do i read these in then bring them together And check that there is the same number of Datasets as data to use?. I have attempted to just separate datasets but cant make it work. Any ideas? its all in c# btw.

Project type.PNG

Capture.PNG

Link to comment
https://linustechtips.com/topic/1184799-reading-specific-data-from-a-text-file/
Share on other sites

Link to post
Share on other sites

You could place the different pieces of data in different vectors and check that the lengths match, then place the various elements that have the same index in an object or struct that represents the dataset.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

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

×