called object is not a function
I have two structs in a header file.In the first one i have an array that's type is of the second struct. Something like this
Code:
typedef struct transaction {
int type;
char name[40];
int moment;
} transaction;
typedef struct account {
...
transaction pinakas[20];
...
} account;
And i want to call sprintf function to to write some data like this
Code:
sprintf(t," &s", sm_data->pinakas(i).name);
and i'm getting this error i'm mentioning in the thread's title.Any help"????