Sorry, I didn't mean to say getting the issue resolved; it has been a long day. It pointed to line 138:
(world->array[i][j]).neighbours[3] = &(world->array[i][j - 1]);
As for the line you had...
Type: Posts; User: O Mighty Nips
Sorry, I didn't mean to say getting the issue resolved; it has been a long day. It pointed to line 138:
(world->array[i][j]).neighbours[3] = &(world->array[i][j - 1]);
As for the line you had...
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#define YMAX 25
#define XMAX 80
#define cell fgetc(pFile)
typedef struct cell_t_ {
The functions tests to see what units are being used. Now I want to edit it to just take the units as letters in the scanf convert it to the basic SI units and then add everything and test for same...
I know the difference and everything. I want to edit this code that I already wrote to accept values such as "5 Hz", and when it sees "Hz" is sets the mag value to "5" seconds to "-1" and everything...
My bad I was wondering how I should go about doing this.
So I wrote this code a while back and now I want to change it to accept units as their symbol rather than their exponent.
Say when it asks me for the number, I want it to accept it when I type in...