it was only a simple while()
in the main function. :o :o :o :o
Type: Posts; User: negevy
it was only a simple while()
in the main function. :o :o :o :o
so what do I have to do next?
Im doing the tower of hanoi but without recursion.
Im trying to do it with linked list.
I have managed to write the algoritm but I dont know how to make it repeat it self until it finds the...
it enters to endless loop
it doesnt stop for scanf it leaves the old values and enters to an endless loop.
can anybody explain to me please what am i doing wrong????
...
sorry I didn't make my self clear last time so Im
posting the same question again with another limitation.
Im allowed to use only <stdio.h>
I think that the problem is with the %d.
maybe it will...
I need to check if the user is ,for example, typing a letter insted of a number or that he is typing too many pieces ,for example
if i asked him to Enter an array of size 3 and he by mistake puts 4....
#include <stdio.h>
#define max_Size 19
#define max_pieces 10
void arrange(int width[], int height[], int size);
int check_full(int table[], int size);
void intial_table(int table[], int...
#include <stdio.h>
#include <stdlib.h>//for the abs
/*===========================================
checks wether there is a manace betwean
queens and returns values of zero as manace
and one as...
Hi all
Its my first time here.
I need to write a C program that uses a board of size height x width, and a set of rectangles ri=(heighti x widthi), and I want to find a solution how to cover the...