Hi, basically im trying to read in a file that represents a matrix, where the first line is in the format of <number of rows> <number of collumns> then all lines after that follow the format
<row> <col> <value> i.e. the file would look like
2 2
1 1 2
1 2 3
would represent the matrix
| 2 3 |
| 0 0 |
im having trouble using fscanf to read the numbers into...
Hi all, sorted it, I did try making the name a pointer i.e. entry = {*name.. but i clearly didnt save before re compiling and trying all sorts of other rubbish...such a noob...oh well thanks anyways!
Error of : initialization makes pointer from integer without a cast
Hi there, im pretty new to this forum and would be grateful of some help. I've only started programming this year and am pretty lazy with it so please bare with me if im acting like a bit of a noob...
right basically im trying to define a struct that will hold names for a phonebook i.e. with a string and a number
i have #included<stdli b.h> and everything else I need, and the 2 parts im struggling with are as follows...
Leave a comment: