Can i ask how to debug the error?
[Error] incompatible types in assignment of 'char' to 'char [30]'
#include <stdio.h>
struct record
{
char name[30], lat_dir[30], lon_dir[30];//declare...
Type: Posts; User: hij
Can i ask how to debug the error?
[Error] incompatible types in assignment of 'char' to 'char [30]'
#include <stdio.h>
struct record
{
char name[30], lat_dir[30], lon_dir[30];//declare...
no...my lecturer just asks me to do this...no more info
Can i know how to write C code for converting longitude and latitude from DD to DMS and also the cardinal direction? I have no idea on it.