Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/27/26 22:06
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, Quad, AndrewAMD), 4,941 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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 | 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