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 635|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Shoutbox Topic - 384
spinal Mon 11:02
AGameAWeek : 2017 - Part One
Jayenkai Mon 09:28
For Greed
steve_ancell Mon 08:05
Puff Dog
spinal Mon 02:42
Crystal Maze
rychan Sun 11:59
CSS-Me-Do - SoCoder2
Jayenkai Sun 08:08
Buy Zelda
Jayenkai Sat 08:34
Welcome Caton
steve_ancell Sat 04:53
Update All Objects in Array?
Jayenkai Sat 03:34
2D Array?
Jayenkai Sat 03:29
More

Latest Items
Blog : Rewatching ''1 Litre of Tears''
Jayenkai Mon 02:52
Snippet : Twitter BBCode
Jayenkai Sun 02:44
Link : Learn C++
Pakz Sat 20:33
Dev-Diary : My Journey into NES Development
Jayenkai Thu 03:58
Showcase : A Civilization Clone v0.5
rychan Thu 03:27
News : Newsletter #320
Jayenkai Tue 18:47
Blog : sadas
hardcoal22 Tue 02:50
Showcase : Flappadiddle
Jayenkai Mon 08:20
Article : Cookie Information
rychan Sun 12:28
Dev-Diary : Wii to N64 adapter
spinal Sat 11:50
Link : MonkeyX code examples
Jayenkai Sat 06:42
Link : Available Languages
Jayenkai Thu 13:22
Blog : Mr Testo Tests
Socoder Tue 07:21
Showcase : Hives
zzoom Fri 16:10
More

Who's Online
Pakz
Mon, at 11:14
spinal
Mon, at 11:12
rychan
Mon, at 10:42
GfK
Mon, at 10:12
Jayenkai
Mon, at 10:11
rskgames
Mon, at 09:36
steve_ancell
Mon, at 09:25
Dan
Mon, at 08:22
shroom_monk
Mon, at 05:58
rockford
Mon, at 05:38
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.