Search found 5198 matches

by BlueCrab
Tue Nov 12, 2002 8:13 pm
Forum: Programming Discussion
Topic: CS Course help!!
Replies: 14
Views: 791

It is possible to do a pointer, and then do an array from that pointer. Take this C code for instance:

Code: Select all

char * hpc;
hpc = (char *) malloc(10); 
You should be able to replace 10 with an integer variable. (I think) Then you can use it just like it was an array. Hope that helped.
by BlueCrab
Fri Nov 08, 2002 1:37 pm
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

Never mind, figured out a better way to do it. Thank you all for all of your help, and maybe after I get back from this church retreat that I have to attend, I'll have something interesting......
by BlueCrab
Thu Nov 07, 2002 10:39 pm
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

I have another question involving for loops. If I have a loop like so: for(l = 0; l <= 13; l++) { if(p[l]->stats.speed == stats[0].stats.speed) { turn = 0; } else if(p[l]->stats.speed == stats[1].stats.speed) { turn = 1; } else if(p[l]->stats.speed == stats[2].stats.speed) { turn = 2; } else if(p[l]...
by BlueCrab
Mon Nov 04, 2002 8:46 pm
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

That's ok, we all make mistakes.
by BlueCrab
Mon Nov 04, 2002 1:47 pm
Forum: Off-Topic Forum
Topic: why these forums are pointless...
Replies: 14
Views: 531

No it will either be locked or moved to either Null or Off-topic, because it has nothing to do with this section. Please people, post where stuff belongs, and don't turn every forum here into another null. But on the topic of the winCE kit, it is warez, it was probably stolen from Microsoft (or sega...
by BlueCrab
Mon Nov 04, 2002 4:39 am
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

That's what I figured the compiler messages meant, thanks for clearing it up for me.
by BlueCrab
Sun Nov 03, 2002 3:47 pm
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

I think that the compiler is complaining about the fact that I have a variable as the case. If statements will work just the same though. So I will continue to use them.
by BlueCrab
Sun Nov 03, 2002 10:55 am
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

My compiler doesn't seem to like the switch.... Here's what I got spewed at me. battle.c: In function `bat_order': battle.c:582: case label does not reduce to an integer constant battle.c:586: case label does not reduce to an integer constant battle.c:590: case label does not reduce to an integer co...
by BlueCrab
Sun Nov 03, 2002 8:42 am
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

Ok, that solves one problem. Now on to the next, If I wanted the loop to return to its countdown after executing either the bat_do_menu() or bat_enemy_ai() functions, would it just involve taking out the break; after them, or would something else have to be changed?
Once again, thanks in advance.
by BlueCrab
Sun Nov 03, 2002 8:15 am
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

Thanks a lot, I would've never caught that! Time to make sure it works!
by BlueCrab
Sat Nov 02, 2002 5:31 pm
Forum: Programming Discussion
Topic: for() loops
Replies: 15
Views: 1273

for() loops

Ok, I have another question for the programming people. I am trying to make a function that counts down from 255, and compares the value to a set variable, and then if it compares, sets another variable, and then does something based on what this last variable is. I figured that the best way to do t...
by BlueCrab
Tue Oct 29, 2002 8:16 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: LinuxDC Site update
Replies: 5
Views: 317

awesome, they should make it so the controller can act as a mouse like in the webbrowser. Agreed, but it would probably be a bit of work getting a joystick device (as linux sees the DC controller) to work as a mouse, but if they could, then maybe I'd be able to use it (x11 requires a mouse, and I d...
by BlueCrab
Tue Oct 29, 2002 7:47 pm
Forum: Homebrew Software and Indie Games Discussion
Topic: LinuxDC Site update
Replies: 5
Views: 317

LinuxDC Site update

The LinuxDC site has been updated (finally). And they have some news posted up there: LinuxDC Status as of October 29th, 2002: Adrian McMenamin has got his VMU filesystem driver to the point where it can list files off of the VMU. He's also working on using apache to serve pages from the VMU, once h...
by BlueCrab
Fri Oct 25, 2002 4:06 pm
Forum: Off-Topic Forum
Topic: Weird PSX Disk Scratches
Replies: 8
Views: 195

This happens to my computer cds every once in a while, but thats because I tilt/move the tower while a disc is spinning in the drive(BAD IDEA).
by BlueCrab
Wed Oct 23, 2002 8:57 pm
Forum: Programming Discussion
Topic: Programming: Where should i start?
Replies: 17
Views: 1323

If you're doing stuff for a windows PC you should get MinGW. MinGW programs, (at least in my experience) are smaller in size when compiled compared with cygwin compiled ones. Plus I've found that cygwin really hates windows 98.
by BlueCrab
Sun Oct 20, 2002 2:04 pm
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: What Dc accessories do you have?
Replies: 25
Views: 980

hmmm.... ~10 VMUs, 6 controllers, Sega.Net Keyboard, Many web-browser discs, Performance (i think) Jump pack, off brand standard memory card. I think that's about it, I'll check later on.
by BlueCrab
Fri Oct 18, 2002 8:48 am
Forum: Games and Software Hacking, Prototypes, and Devkits Discussion
Topic: Grandia II or Chrono Cross
Replies: 38
Views: 1532

Grandia II's a great game. I think I'd reccomend you getting another copy mariobro. It had a good story, good graphics, etc. One of my top 10 RPGs.
by BlueCrab
Wed Oct 16, 2002 2:30 pm
Forum: Programming Discussion
Topic: Newbie with some stupid questions....
Replies: 11
Views: 722

Yes the major trick with MinGW is getting genromfs to work, but when I get my site back up, I'll post a link. Sorry, but work, school and such has been keeping me busy lately.
Maybe over the next few days since I don't have school.
by BlueCrab
Wed Oct 16, 2002 2:08 pm
Forum: Programming Discussion
Topic: Integers and strings
Replies: 8
Views: 436

Thanks for all your help. Sorry to seem like such an idiot.
by BlueCrab
Wed Oct 16, 2002 4:42 am
Forum: Hardware Modification and Repair
Topic: Hard Drive
Replies: 16
Views: 925

But sadly it wouldn't work with commercial games. You can use this interface, but right now the only things that support it are LinuxDC (possibly, I'm not quite sure), NetBSD, and the navi part of KallistiOS.