It doesn't matter that much, as long as you are sure which way you are suppose to go.
I don't know much about math, can you do this on paper? As for this bit:
That means smatrix will...
Type: Posts; User: MK27
It doesn't matter that much, as long as you are sure which way you are suppose to go.
I don't know much about math, can you do this on paper? As for this bit:
That means smatrix will...
Barney S. doesn't like the term "c/c++" :p If you are supposed to be using C++, you have mostly been using vanilla C so far. If that matters you will want to use an fstream instead of cstdio to...
Okay, so probably 64 bytes is enough for the line, so the next bit starts:
while (fgets(line,64,input_1)) cout << line;
That does not happen automatically. Using C++, you could do that with an ifstream and getline().
getline - C++ Reference
Or you could use fopen and fgets from <cstdio>
fgets - C++...
The first thing you need to do is read the data from the file.
What is the purpose of:
char line[?];