login::
pass::
name::
id::
node:
sheep counter
template:
4
parent:
pyxel's jokes for geeks
owner:
kyberbubus
viewed by:
created:
29.06.2008 - 17:48:07
updated:
29.06.2008 - 17:48:39
cwbe coordinatez
:
101
792011
1703701
4104306
ABSOLUT
K
YBERIA
permissions
you:
r,
system:
public
net:
yes
⠪
neurons
stats
|
by_visit
|
by_K
source
tiamat
K
|
my_K
|
given_K
last
commanders
polls
total descendants::
total children::1
show[
2
|
3
]
flat
SHEEP COUNTER in C
while (!=sleep; sheep++)
mačka mačká macka a máčanú matriošku v mačine!!!
title/content
title
content
user
0000010100792011017037010410430604109872
atticus
01.07.2008 - 20:47:50
, level: 1,
UP
NEW
Re: sheep counter
to ti aj ide skompilovat?
000001010079201101703701041043060410987204109904
kyberbubus
01.07.2008 - 21:03:55
, level: 2,
UP
NEW
Re[2]: sheep counter
hm, to neni moja tvorba, ale keď zadefinuješ premenné a stdio.h, tak jasné že ti to pôjde:)
mačka mačká macka a máčanú matriošku v mačine!!!
00000101007920110170370104104306041098720410990404110280
ksyz
02.07.2008 - 00:46:10
[
2K
] , level: 3,
UP
NEW
Re[3]: sheep counter
nepojde, mas to zle.
operator '!=' je binarny, takze potrebuje dva operandy. podmienka while musi obsahovat vyraz, ty tam mas dva prikazy, cize nie ';' ale ','. a while musi mat blok, aj ked prazdny, cize '{;}'/'{}'
navyse stdio.h nie je podmienkou prekladu dohoto programu lebo neobsahuje ani vstup ani vystup :]
0000010100792011017037010410430604109872041099040411028004110521
kyberbubus
02.07.2008 - 08:57:14
, level: 4,
UP
NEW
Re[4]: sheep counter
a nestačí toto:
while (!=sleep) sheep++;
???
(ja som to nepísal, iba pastol z internetu... a až teraz som si všimol, že to je chybne zapísané keď si mi to tuna takto tuna napísal.......)
mačka mačká macka a máčanú matriošku v mačine!!!
000001010079201101703701041043060410987204109904041102800411052104110665
ksyz
02.07.2008 - 10:05:07
, level: 5,
UP
NEW
Re[5]: sheep counter
stacilo by:
while (!sleep) sheep++;
popripade
while (!sleep || sheep++);
alebo milion inych moznosti :]
00000101007920110170370104104306041098720410990404110280041105210411066504112949
||
03.07.2008 - 00:06:11
, level: 6,
UP
NEW
Re[6]: sheep counter
pici hajlajt[=
00000101007920110170370104104306041098720410990404110280041105210411066504110761
ond
02.07.2008 - 10:40:47
(modif: 02.07.2008 - 10:41:25), level: 6,
UP
NEW
!!CONTENT CHANGED!!
Re[6]: sheep counter
sak hento by ti vzdy vratilo true(sheep++ nikdy nebude false) :)
0000010100792011017037010410430604109872041099040411028004110521041106650411076104110864
ksyz
02.07.2008 - 11:18:35
, level: 7,
UP
NEW
Re[7]: sheep counter
jo, mas pravdu, je to blbost :]
toto by mala byt finalna verzia
while (!sleep && ++sheep);
0000010100792011017037010410430604109872041099040411028004110521041106650411076104110780
catman
02.07.2008 - 10:50:24
, level: 7,
UP
NEW
Re[7]: sheep counter
sheep++ bude false ked stav stack_of_sheeps<1 a tak ti sheep++ prida ovciarskeho psa.
0000010100792011017037010410430604109872041099040411028004110423
repelent
02.07.2008 - 04:01:02
, level: 4,
UP
NEW
Re[4]: sheep counter
nestaci while();
?