Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
Hi all, Could someone tell me what's wrong with this code? I'm using MS Visual C++ IDE and I'm getting a syntax error when compiling this program. [CODE]#include<stdio.h> struct _test { int iNum[5]; }; typedef struct _test test; int main(int argc, char** argv) { test newTest; newTest.iNum = {1,2,3,4,5}; printf("%d\n",newTest.iNum[0]); … |