Latest Uploads
Invasion V ... prototype

rychan

Invasion V ... Prototype

rychan

Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

Pakz

Forum Home

god damn c variables!

UserMessage
Posted : Friday, 10 March 2017, 09:18 | Permalink
spinal


Can someone please tell my why this doesn't work? --

-->

int's in a .h file and I get
-->

-----
Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage : http://spinalcode.co.uk
Posted : Friday, 10 March 2017, 09:32 | Permalink
Jayenkai


WW Entries : 106
things I'd try.
1. Add your first numbers on the top-most line.
2. Isn't it square brackets? It is on other languages...
3. Add that closing bracket to the end of the last line, instead of the line afterwards.

But otherwise, no idea!

-----
'Load, Next List!'
Homepage : http://AGameAWeek.com
Posted : Friday, 10 March 2017, 09:47 | Permalink
spinal


I hate programming.
Homepage : http://spinalcode.co.uk
Posted : Friday, 10 March 2017, 09:50 | Permalink
Jayenkai


Aw, you don't..
Homepage : http://AGameAWeek.com
Posted : Saturday, 11 March 2017, 01:39 | Permalink
HoboBen


WW Entries : 9
What's PROGMEM defined to?

Without it being defined to anything, the C compiler would be seeing this and getting confused:

static const char myVariableOne myVariableTwo[73]=

-----
Posted : Saturday, 11 March 2017, 12:20 | Permalink
rychan


WW Entries : 1
n64.h

Ohhh, some lovely n64 homebrew a brewin' there then?

-----
Web / Game Dev, occasionally finishes off coding games also!

Refresh Games - Game Dev Blog
Homepage : http://www.refreshgames.co.uk/
Posted : Saturday, 11 March 2017, 12:27 | Permalink
spinal


I'm slowly getting through it, there's actually a lot of errors, which seem to come down to an included file in c, still acts way too differently to an included file in BASIC for me to remember that you have to actually jump through hoops.

rychan - nope, not unless you call an ps2 to n64 adapter homebrew!

-----
Download "Don't Flip Out!" Directly to your OUYA! (Click Here).
Homepage : http://spinalcode.co.uk
Posted : Monday, 13 March 2017, 11:31 | Permalink
rychan


That's homebrew enough to be homebrew
Homepage : http://www.refreshgames.co.uk/
Posted : Tuesday, 14 March 2017, 03:12 | Permalink
HoboBen


WW Entries : 9
Oh! I also remembered, sometimes this error means that the file you included *previously* to n64.h may be missing a semi-colon at the end.

-----
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 581|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Manchester Arena Explosion
Jayenkai Wed 04:17
Family
Jayenkai Wed 04:06
RIP - Sir Roger Moore
rockford Tue 15:56
CSS-Me-Do - SoCoder2
Jayenkai Tue 09:41
Any Feature Requests?
spinal Mon 12:02
Switch - Mini Dock
Jayenkai Mon 06:26
AGameAWeek : 2017 - Part One
rychan Mon 05:17
ArdWiiNo?
spinal Sun 12:42
Great Big Youtube thread
Jayenkai Sun 11:13
Time for a new Android Test Doohickey
Jayenkai Sun 07:00
More

Latest Items
Dev-Diary : My Journey into NES Development
rychan Tue 01:53
Showcase : Flappadiddle
Jayenkai Sun 14:39
Snippet : QFind
Jayenkai Sun 13:02
Showcase : Tiny Blocks
Jayenkai Sun 04:08
Showcase : Read Error A
rychan Fri 05:13
Blog : All my makes!
Jayenkai Tue 05:48
Showcase : Infinitron
rychan Mon 18:03
Showcase : Hives
rockford Wed 12:53
Showcase : Quadoban
rskgames Fri 10:11
Blog : My Arduino experience.
steve_ancell Wed 17:02
Showcase : Roguelike Explorer
Pakz Fri 06:59
News : Newsletter #311
Jayenkai Thu 17:27
Link : Super Shapes Exploration Kit
Andy_A Thu 11:09
Dev-Diary : Sensitive - Arduboy!
rychan Thu 17:27
Snippet : Skylines
steve_ancell Tue 14:25
More

Who's Online
Jayenkai
Wed, at 05:34
Socoder
Wed, at 05:30
HoboBen
Wed, at 04:23
rskgames
Wed, at 03:31
therevillsgames
Wed, at 03:26
steve_ancell
Wed, at 03:22
Pakz
Wed, at 03:21
rockford
Wed, at 02:15
spinal
Wed, at 01:19
Dabz
Tue, at 22:58
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.