Oh no this is really bad

Talk about making games.

Oh no this is really bad

Postby bat78 » Sun Jun 28, 2015 5:11 pm

I've just discovered that gE's EiC C89 Interpreter doesn't support K&R C style function declaration/definition. :(
I mean yes it is obsolete but still valid in most recent days..
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Oh no this is really bad

Postby knucklecrunchgames » Sun Jun 28, 2015 6:24 pm

K&R?

They have an official book on c programming correct?

And please explain all that what you have written for dummys like me :P
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: Oh no this is really bad

Postby bat78 » Sun Jun 28, 2015 7:14 pm

knucklecrunchgames wrote:K&R?

They have an official book on c programming correct?

And please explain all that what you have written for dummys like me :P

k 1st, congratz to your 1k posts. From here it looks regal.

K&R are the authors of C and yes, they have a good book related to the C programming language, specifically version "K&R C".

The old way of function declaration and definition looks like this:
Code: Select all
void foo(arg1, arg2)
int arg1;
float arg2;
{
}


Which is equivalent to this:
Code: Select all
void foo(int arg1, float arg2)
{
}
The future of "Game-Editor" here
User avatar
bat78
 
Posts: 816
Joined: Sun Dec 14, 2008 9:13 pm
Location: Bulgaria, Sofia
Score: 88 Give a positive score

Re: Oh no this is really bad

Postby knucklecrunchgames » Sun Jun 28, 2015 8:58 pm

Thanks for covering that up for me. And I just seen now that it's my 1000th post. (Although it's 1001)
User avatar
knucklecrunchgames
 
Posts: 1071
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron