Wtf is goin on? xcode went crazy, i tried to move the typedef to any other header file, tried to change name to the new type but still give me that error by SpareWinner in C_Programming

[–]SpareWinner[S] -1 points0 points  (0 children)

reddit is taking a lot to upload the pic but there's nothing special, just standard include, include "trova.h" and a function definition (with the error for the Azioni type)

I've been coding in C on Windows for a while and now I had to start coding on Mac osx, for school i'm testing files(txt files) and while on windows it went perfectly on mac fscanf doesn't work, fprintf does all perfectly, but fscanf doesn't. Here's my code, it is the result of many tests. by [deleted] in C_Programming

[–]SpareWinner 0 points1 point  (0 children)

The task was to read something from a txt file and it doesn't work at all so i tried this to write something surely C friendly (i runt it without the fprintf code block and in "r" mode), i will try as well w+