you'r right thats why it behaves incorrectly !
Its more complex than it seems !
Type: Posts; User: hadi0x7c7
you'r right thats why it behaves incorrectly !
Its more complex than it seems !
after some modification i ended up in this:
I can only take 26 steps [A-Z] and this prorgram should stop at most in 26 steps.
// Random walk
#include <stdio.h>
#include <time.h>
#include...
this is fault of emacs ;D
its a program to simulate a rondom walk.
for a 4x4 it would print like this:
A N M L
B C J K
. D I H
. E F G
the output is just an array of '.' !
what's wrong with this code ?
// Random walk
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
void set();
void print();
can you explain it more clearly?
i a loading a 24-bit bitmap with this code but i don't know whats wrong withit?
can any one help me?
typedef unsigned long DWORD;
typedef unsigned short WORD;
typedef struct {
int...