Hi, i'm a student with a simple C project, unfortunately my understanding of C is just as basic.
We have to create an interactive floor plan navigable in an .exe file. I have the main...
Type: Posts; User: stumped_student
Hi, i'm a student with a simple C project, unfortunately my understanding of C is just as basic.
We have to create an interactive floor plan navigable in an .exe file. I have the main...
rags_to_riches: yep. exact same class, I even know the guy. mine isn't even getting that far, no matter what code, or what machine, as long as it's my user profile it doesn't work.
Hmm....just tried my exact code on a mate's user profile signed into the same machine and it worked first time.
I guess the installation of the IDE is just screwed on my user.
Thanks for all...
So....I need to change
void main (){, to
int main (void){ ?
I'm so new to this I don't understand the significance of the difference, and can't tell if it is helping because I can't get around...
Here is the code;
--------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
typedef struct {
Wow, pretty dumb of me not to scroll up. That's how much of a rooky I am with this lol
You're right, there is more description in the output pane, it reads:
...
The compiler is CC386 IDE, I've used it throughout the year to learn C and it has never come up with that message (typically the deadline now looms).
I have tried it on a couple of different PCs...
I'm a student with a project on C (not C+ or ++), with a piece of code which should work. I am very new to the language, and only have a very basic grasp of it (at best).
When all legit errors...