C++ to C Code?

I am writing a C code that reads numbers from a file and I am stuck on how to write the following in C, I know the C++ equivalent which is what I have here:

ifstream inFile;

inFile >> rows;

inFile >> matrix[i][j];

sumOfRows[i] += matrix[i][j];

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 QUIZLS.COM - All rights reserved.