Latest Uploads
Platdude Spotting

Jayenkai

Nom nom nom

Jayenkai

Rainbow Trout

Pakz

King Salmon

Pakz

Snooker

Jayenkai

You've ... o have you

Jayenkai

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 599|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Laptop Aaargh...
Jayenkai Fri 17:32
GamerBlock
rockford Fri 16:51
A New Korg Gadget!
Jayenkai Fri 16:35
Happy Birthday, Spinal
Jayenkai Fri 08:40
Watch Switch - Fitbit Blaze
rockford Fri 03:52
London Car/Stab Incident
Jayenkai Thu 13:36
Happy Birthday Evil Roy Ferguson
rockford Wed 16:21
Spinal's Return to Android
Jayenkai Tue 13:41
AGameAWeek : 2017 - Part One
Jayenkai Tue 08:10
Poll : Cooking
Jayenkai Mon 05:11
More

Latest Items
Blog : My Arduino experience.
steve_ancell Fri 13:45
Snippet : Skylines
spinal Fri 06:13
Showcase : Infinitron
rychan Tue 03:02
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32
More

Who's Online
rskgames
Fri, at 23:01
therevillsgames
Fri, at 21:13
9572AD
Fri, at 18:07
steve_ancell
Fri, at 18:03
Jayenkai
Fri, at 17:53
rockford
Fri, at 16:55
Krakatomato
Fri, at 15:38
spinal
Fri, at 15:28
Pakz
Fri, at 14:13
shroom_monk
Fri, at 13:09
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.