thanx mate, thats just what i was trying to do
thanx again
Jno
Type: Posts; User: jonny2002
thanx mate, thats just what i was trying to do
thanx again
Jno
still doesent work :(
no idea why though
ok, thats cool, i understand what it does and where it goes now,
just a couple of questions though
for ( ; ; ) {
it doesent seem to like that
i dont understand your code
and where would it go, and what would it replace?
Thanx
Jon
i dont understand?
if i cant call main(), then how can i tell it not to close if i press n and to close if i press y, nd to DO NOTHING when i press anyother button other than Y and N.
Anyone...
ok, my program is working, and infact im quite happy, the only reasons being, its MY program and it WORKS!!!! usually not two words used in the same scentance!!!!
just kiddin!!
Anyway, only one...
#include <stdio.h>
#include <dos.h>
#include <conio.h>
void main(){
int Led[4]={33,19,12,26};
int i=0;
int Seq;
while(!kbhit){
I wrote the code, but i had some help with parts of it from my tutor, he dident put any errors in it, cuz i wrote it and i had it workign at college, but i can figure out where ive gone wrong at...
#include <stdio.h>
#include <dos.h>
#include <conio.h>
void main(){
int Led[4]={33,19,12,26};
int i=0;
int Seq
while(!kbhit){
does anybody know if i can force the lights to turn off and respond the the program, is there soem code i can use to force the lights to turn off
tried all the settings mate, makes no difference, all the lights still stay on.
I cant understand this,
all the lights stay on whether or not any program is open, they just stay on as long as...
Hmm, im lost, i thought i would run a little test, so i set up another machine, this time an exact replica, an old p1, running Win 95, the same as college.
But the same problem occurred, but...
yes sorry for that, i use a different computer for that kind of work.
i am running .NET Server 2003 on the computer at home, and Windows 95 at college.
Thanx
jon
i must apologise, some of those errors, were typos on my part!! it was late!!
in my code there is no double ;; at the end, and on the if statement instead of a ; there is a {.
oh and i wrote...
Hi, Basically i have built an electronic project, it is a set of trafic lights using a Darlington Driver and a D25 connector, i built that no problems and it works, i know this because in college my...