Thanks anon, i added an extra if statement for when the list is empty and it seems to be working now. Well except for some run time errors but that will get fixed later =)
Type: Posts; User: Furbiesandbeans
Thanks anon, i added an extra if statement for when the list is empty and it seems to be working now. Well except for some run time errors but that will get fixed later =)
OK, so im fairly new to pointers and Node types, etc... I'm trying to use a function to insert an item (first item) in a list, but my program crashes whenever i try to set the front pointer to that....
IDK what ur problem is, but as far as im concerned, u cant declare a static array using a variable. U have to manually put in the number, or make it a dynamic array
OMG i love u anon
here is the fixed version
void rotate90counter(char & direction)
{
if (direction == 'N')
direction = 'W';
u can have them spaced by something like -
or learn how to do trees and put them all into 1s and 0s
edit: i think this is how it could work with all of them jumbled
do something where it...
k, here is my visual studio folder, it has all the .cpp files and .h files
http://187combat.com/forums/index.php?act=attach&type=post&id=1440
i dont know how to do that...
ok, this is what happens now....
XXXXXXXX
X X X
M X X
X X
XXXXXXXX
First of all, this is my first post on this forum =)
k, anywho..
im having problems with the algorithm of the mouse getting through a maze created. The maze is a 2-dim char array, the walls...