c - Compilation of a code: unkown type name string -
c - Compilation of a code: unkown type name string -
i have next lines of code compiler says following: "unknown type name 'string'" both in declaration , definition of function. can tell me what's wrong? thanks.
#include <stdio.h> #include <stdlib.h> #include <string.h> void frecognizeclient(string *actualclient)
there no string type in c. need utilize array so:
char array[10];
then can pass in function:
void frecognizeclient(char *actualclient);
c arrays string compilation
Comments
Post a Comment