pragya.gupta15 0 Newbie Poster

How can I write the code such that -

  1. I am reading the file which may contain numbers such as 23 34 45 56.
  2. After reading the contents of the file, the contents of the file get stored to struct array such as struct abc in the above code...
  3. struct abc later gets called under the int main().
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.