...it's the same program i've been trying to finish for weeks now. I still can't get it to work properly.
Can some loving person please help. I know this is qiute a bit of code to spiel....but this...
Type: Posts; User: doampofo
...it's the same program i've been trying to finish for weeks now. I still can't get it to work properly.
Can some loving person please help. I know this is qiute a bit of code to spiel....but this...
Hi,
this little function is finally able to solve the maze. However it prints out all the moves (even the once that lead nowhere). I can't figure out where to pop of the moves in order to print out...
I really need your help. I've been at this for a week now and I can't seem to find what i'm doing wrong. it's either I end up printing "this maze can't be soved" or I wait forever and the solved...
Is this better?
.
struct move_record{
int horizontal;
int vertical;
};
I heeded the advice I was given. I made my code more readable... I thought through it. I sought help from my peers and my proff, but still to no avail. I really need help. Can some lovely person...
Well..i didn't want to drive anyone off by pasting all the code. However I think that's what I have to do now. My program solves a maze... or attempts to...using standard library template deques.
...
That makes soo much sense. I feel soo silly now.
Thanks eMMeMM....
I was just wondering whether there was a way to convert structs to chars.
I'm trying to solve a maze using deques. I want to push the different moves onto the deque as I go along... however the...
thanks, that worked. I wonder how people like you get this good.... I guess it's just practice , paractice....I've got a long way to go then.
well, I know this is pretty fundmental but I'm getting debug assertion errors and I don't understand why.
The user enters a file name, I use getline to extract it.. then in my read file fuction ,...
Thanks JasonD,
I didn't think about it that way. I just changed my code. And it works the same way.
However, my problem still persists.
lets say i add 456 to639 ( i'm using small integers for...
This funtion adds two long intergers of the same length, this one seems to be fine.
.
void add_integers(INTDEQUE &sum, INTDEQUE X, INTDEQUE Y)
{
int x,y;
int carry =0;
int result =0;
.
#include <stdio.h>
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
.
#include <stdio.h>
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#include <conio.h>
typedef struct {
int age;
double off_time;
int main()
{
char line[200];
int icount = 0;
age_record females[100];
age_record males[100];
runner_t person;
This is a small part of my program. The sscanf is creating run time errors. Could you please tell me what i'm doing wrong and how t o correct it?
thanks
paren_ptr = strchr (line, '(');...