Hello,
I am trying to create a simple console application and keep getting the following run-time error from the CVI compiler:
NON-FATAL RUN-TIME ERROR: "c:\CVI Programs\struct2.c", line 20, col 17, thread id 0x00004D6C: Parameter type mismatch; expecting pointer to char but found pointer to aggregate or userdefined.
It's talking about line 20 in my code. I don't get it, I have had no issues with this using the GCC compiler. Can anyone take a look? below is the code.
#include <stdio.h>
#include <string.h>
#define NAME_SIZE 40
struct employee
{
char name[NAME_SIZE];
char hireDate[15];
float salary;
};
int main (void){