Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, AndrewAMD), 1,292 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
'API' undeclared identifiers #222599
08/20/08 03:56
08/20/08 03:56
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
I'm trying to access the "stdio.h" file but get an error message, 'API' undeclared identifiers. It specifically mentions line 212 of stdio.h. I included stdio.h by, #include <stdio.h>. I'm not sure how to access and use this header file. I'm also saving my script as a .c file.

Re: 'API' undeclared identifiers [Re: SirCamaris] #223019
08/21/08 22:26
08/21/08 22:26
Joined: Aug 2007
Posts: 38
Pasadena, TX
Volund Offline
Newbie
Volund  Offline
Newbie

Joined: Aug 2007
Posts: 38
Pasadena, TX
Is it linked or added? Also inside stdio.h it calls for
#include <stdarg.h> ... check in stdio.h about line 77. Do you have any more info, you could be doing a lot of different things, some things that the engine may not even support. If your playing with win API dont forget to include windows.h

Re: 'API' undeclared identifiers [Re: Volund] #223543
08/25/08 01:50
08/25/08 01:50
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
I'm trying to run the following code but still receive error messages after including these two header files. I looked for stdarg.h in the include folder but couldn't find it.
#include <windows.h>
#include <stdio.h>


main()
{
printf ("Howdy, neighbor! This is my first C program. \n");
return 0;
}
Thanks for your help.

Re: 'API' undeclared identifiers [Re: SirCamaris] #223550
08/25/08 04:48
08/25/08 04:48
Joined: Aug 2007
Posts: 38
Pasadena, TX
Volund Offline
Newbie
Volund  Offline
Newbie

Joined: Aug 2007
Posts: 38
Pasadena, TX
So, you do not want API? I misunderstood. For your example I believe the only includes you need are

#include <acknex.h>
#include <default.c>

There are some programming tutorials starting in AUM 67 for A7 lite-c. I think once you start reading those you will undertsand right away smile


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1