Master Chief
|
Me ajudem a montar um programa!
26-10-06, 14:03
#1
int main() {
|
||||
The Alpha Male
|
26-10-06, 14:14
#2
exit 1;
} |
Trooper
|
26-10-06, 14:23
#3
//este programa retorna 1
|
Master Chief
|
26-10-06, 14:25
#4
//soh resta comentar agora =[
|
The real (1)
|
26-10-06, 15:03
#5
///close topic
|
Trooper
|
26-10-06, 15:08
#6
///=
|
Trooper
|
26-10-06, 15:22
#7
haeuaheuaeuauahehaeuaheuaeuauahehaeuaheuaeuauaasdhe
haeuaheuaeuauahehaeuaheuaeuauahehaeuaheuaeuauaasdhehaeuaheuaeuauahehaeuaheuaeuauahehaeuaheuaeuauaasdhe curti a ideia... bora fazer 1... // observe o parametro int main(int a) { |
Trooper
|
26-10-06, 15:55
#8
int aCont=0, bCont=0, cCont=0
|
Trooper
|
26-10-06, 16:00
#10
podiam monta um q lê grafos pra mim já
|
Master Chief
|
26-10-06, 16:02
#11
ehauieha vamos tentar fazer algum mesmo? eiuoahe
|
Trooper
|
26-10-06, 16:03
#12
//não é VB isso donnz..
|
Banned
|
26-10-06, 16:04
#13
VB?? VB??? alguem falou vb?
dosShell("delete http://forum.darkside.com.br/vb/showthread.php?t=12443", 0) unload me |
Trooper
|
26-10-06, 16:16
#15
For (int i = 0; i <= DS.totalmembers; i++){
|
Master Chief
|
26-10-06, 16:23
#16
printf("Usuario numero %d: %s", i, showuser[i]");
|
Banned
|
26-10-06, 16:26
#17
if (usuario.nivel=="sniper) {
|
Trooper
|
26-10-06, 16:26
#18
while(){
printf("Declaro esse tópico uma bosta"); } |
Trooper
|
26-10-06, 16:35
#19
// Abaixo códigos nbs (retire este cometário)
|
wat
|
26-10-06, 16:52
#20
// colocar só a véia (retire esse comentario tb)
|
Master Chief
|
26-10-06, 16:53
#21
//cometário = lugar onde tem varios cometas???
|
Trooper
|
26-10-06, 17:02
#22
Vamos começar de novo.
Uma linha por user e tem que compilar. Nao compilou ta fora. (Teoricamente eu to fora pq acho q só essa linha nao compila.) #include <stdio.h> |
Banned
|
26-10-06, 17:21
#23
//vai dar pau na compilacao, comentário sem barrabarra é dose hein
|
Banned
|
26-10-06, 17:23
#24
Quote:
|
|
Master Chief
|
26-10-06, 17:26
#25
#include <math.h> //duvido q nao entre calculos ake no meio
|
Trooper
|
26-10-06, 17:56
#26
af ehasuhueash
essas parada de "if" "then" me lembra qndo eu fazia aliases pra trocar de arma no tf eashueahshesah |
Quagmire
|
26-10-06, 17:58
#27
O exit 1 lá em cima já daria erro de sintaxe, hehehe
|
Trooper
|
26-10-06, 18:07
#28
void ewok(int user.id){
|
Forever Young
|
26-10-06, 18:13
#29
Code:
MOV IE, #81H PEDESTRE MOV A, P1 PEDESTRE1 CJNE A, #01010001B, PEDESTRE2 LJMP PED1 PEDESTRE2 CJNE A, #01001010B, PEDESTRE1 LJMP PED2 PED1 MOV P1, #01010001B LCALL TIMER2S ;Chama sub rotina ( TIMER2S ) MOV P1, #10001001B LCALL TIMER10S ;Chama sub rotina ( TIMER10S ) RETI PED2 MOV P1, #01001010B LCALL TIMER2S ;Chama sub rotina ( TIMER2S ) MOV P1, #10001001B LCALL TIMER10S ;Chama sub rotina ( TIMER10S ) RETI |
Trooper
|
26-10-06, 18:18
#30
Porra... Assembly é foda... nem lembro mais
ehAUEHAU |
Trooper
|
26-10-06, 18:21
#31
Code:
for(;;) fork(); |
Trooper
|
26-10-06, 18:26
#32
//massa a ideia, será q conseguimos alguma coisa?
|
tony
|
26-10-06, 20:46
#33
//:o
|
Trooper
|
26-10-06, 21:03
#34
main ()
{ printf("Oi mundo"); printf("Oh noes"); printf("...."); } |
Trooper
|
26-10-06, 21:04
#35
/*Vamos começar de novo.
Uma linha por user e tem que compilar. Nao compilou ta fora. (Teoricamente eu to fora pq acho q só essa linha nao compila.)*/ #include <stdio.h> |
Trooper
|
26-10-06, 21:08
#36
on *:post:*:if ($nick != $me) { say NERD }
old times.. lol mirc scripting foi o ápice nerd da minha vida.. nao consegui passar disso :( ainda bem |
The Alpha Male
|
26-10-06, 21:09
#37
Quote:
// nao uso c a seculos, esqueci dos parenteses mesmo // q se foda heauhae |
|
Trooper
|
26-10-06, 21:11
#38
return(1);
|
Trooper
|
26-10-06, 21:13
#39
assembly rula as tetaaaaaaaaaaaaaaaaaaaaaa
|
Trooper
|
26-10-06, 21:29
#41
//2nerd4me
|
Trooper
|
26-10-06, 21:34
#42
for (User darknerd : DarkSide.getUsers()) {
if (!darknerd.getName().equals("ZeroCarontE")) darknerd.kill(); } |
Trooper
|
26-10-06, 22:15
#43
// to no topico denovo
// nao me matem |
Trooper
|
26-10-06, 23:05
#44
#include <stdio.h>
cout << " "; |
Trooper
|
27-10-06, 00:07
#45
Code:
.rdata $LC0: .ascii "Piada de nerd.\n\000" .text .globl main main: la $a0,$LC0 li $v0, 4 syscall jr $ra .end main |
The Alpha Male
|
27-10-06, 09:31
#46
se isso do vkMiau faz oq eu estou pensando, parei exatamente aqui de ler o topic
|
Trooper
|
27-10-06, 10:01
#47
hehehe... Desde que você não esteja pensando nada de mau... Escrevi um programa em MIPS que exibe na tela "Piada de nerd.". Para testar, pode usar o PCSpim (simulador para windows). Apenas ironizei o próprio programa, afinal, não seria mais fácil usar printf do C?
|
The Alpha Male
|
27-10-06, 10:04
#48
Quote:
hmmm menos mal aheuhea achei que ele iria escrever piada nerd e dar um PIII depois(barulho) ainda bem q nao sei mips se nao eu ia me internar |
|
Trooper
|
27-10-06, 10:10
#49
HSudHASDHaSU
Sim, eu não aprendi MIPS por livre e espontânea vontade. Aprendi por causa da facul, Organização e Arquitetura de Computadores. |
Trooper
|
27-10-06, 11:03
#50
printf ("\n Quem foi o infeliz?")
scanf ("%d",&darknerd") |
Master Chief
|
27-10-06, 11:16
#51
if (darknerd == serjaum){
|
Trooper
|
27-10-06, 12:03
#52
nossa, eu fiz colegial 3 anos de processamento de dados ...
tive programacao nos 3 anos ... e pra vcs terem uma nocao eu nem sei qual linguagem de programacao que era ... nao sei como passei, uaheuaheuahuehuae ! e quanto ao programa sei la ... eu soh sei q existe um tal de END IF ... nem sei se tem mtu a ver tbm, uaheuaheuhaeuhaue ! |
Trooper
|
27-10-06, 12:05
#53
hUIAHEIOUAEHIEA eu achei que você tava querendo virar puta serjaum.
|
Master Chief
|
27-10-06, 12:14
#54
vem q eu to fervendo ww
kru deve ter aprendido vb heauhe |
Trooper
|
27-10-06, 12:33
#55
Quote:
|
|
Master Chief
|
27-10-06, 12:47
#56
porra...mas o kru eh bem mais novo q eu se nao me engano euahea
pascal eu aprendi a mto tempo atras pqp |
Trooper
|
27-10-06, 13:15
#57
Eu tive colegas q quando entraram em outras faculdades (sem ser PUC) estavam aprendendo com pascal. Achei loucura. Aki na pucrs é Java/C++ logo nas primeiras cadeiras.
|
Trooper
|
27-10-06, 13:15
#58
/kill
|
Master Chief
|
27-10-06, 13:45
#59
onde eu estudo eh C no primeiro ano
e C / Java a partir do segundo ma a 6 anos atras em ciencias da comp eu aprendi pascal eaiouhea |
tony
|
27-10-06, 16:47
#60
map 2fort5
|
Trooper
|
27-10-06, 17:26
#61
#include <stdio.h>
main(t,_,a) char *a; { return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13? main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t, "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\ ;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \ q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \ ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \ iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \ ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')#\ }'+}##(!!/"):t<-50?_==*a?putchar(31[a]):main(-65,_,a+1): main((*a=='/')+t,_,a+1):0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1); } |
Trooper
|
27-10-06, 17:29
#62
caralho
isso eh uma funcao recursiva com o main? aUhAaUhauAhaUaHU |
Master Chief
|
27-10-06, 17:31
#63
pior q eu to kerendo testar essa porra ae eouiaheouiaheua
pqp |
Trooper
|
27-10-06, 17:50
#64
...
|
spkr
|
27-10-06, 18:03
#65
Quote:
|
|
Trooper
|
27-10-06, 18:07
#66
void main() { while (1) fork(); }
|
wat
|
27-10-06, 18:12
#67
<!--#include file="do_nothing.asp"-->
|
Trooper
|
27-10-06, 18:38
#68
Quote:
|
|
inativo
|
27-10-06, 18:50
#69
Quote:
Code:
On the first day of Christmas my true love gave to me a partridge in a per tree. On the second day of Christmas my true love gave to me two turtle doves and a partridge in a per tree. On the third day of Christmas my true love gave to me three french hens, two turtle doves and a partridge in a per tree. On the fourth day of Christmas my true love gave to me four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the fifth day of Christmas my true love gave to me five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the sixth day of Christmas my true love gave to me six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the seventh day of Christmas my true love gave to me seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the eigth day of Christmas my true love gave to me eight maids a-milking, seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the ninth day of Christmas my true love gave to me nine ladies dancing, eight maids a-milking, seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the tenth day of Christmas my true love gave to me ten lords a-leaping, nine ladies dancing, eight maids a-milking, seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the eleventh day of Christmas my true love gave to me eleven pipers piping, ten lords a-leaping, nine ladies dancing, eight maids a-milking, seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. On the twelfth day of Christmas my true love gave to me twelve drummers drumming, eleven pipers piping, ten lords a-leaping, nine ladies dancing, eight maids a-milking, seven swans a-swimming, six geese a-laying, five gold rings; four calling birds, three french hens, two turtle doves and a partridge in a per tree. |
|
🌀 Trooper
|
27-10-06, 19:09
#70
CHEATING!!!!!!
$ cat programa.c #include <stdio.h> main(t,_,a) char *a; { return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13? main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t, "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\ ;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \ q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \ ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \ iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \ ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')#\ }'+}##(!!/"):t<-50?_==*a?putchar(31[a]):main(-65,_,a+1): main((*a=='/')+t,_,a+1):0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1); } $ gcc programa.c $ ./a.out On the first day of Christmas my true love gaddddddve to me a partridge in a pedddddddddr tree. On the second day of Christmas my true love gaddddddve to me two turtle doves and a partridge in a pedddddddddr tree. On the third day of Christmas my true love gaddddddve to me three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the fourth day of Christmas my true love gaddddddve to me four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the fifth day of Christmas my true love gaddddddve to me five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the sixth day of Christmas my true love gaddddddve to me six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the seventh day of Christmas my true love gaddddddve to me seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the eigth day of Christmas my true love gaddddddve to me eight maids a-milking, seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the ninth day of Christmas my true love gaddddddve to me nine ladies dancing, eight maids a-milking, seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the tenth day of Christmas my true love gaddddddve to me ten lords a-leadddddddping, nine ladies dancing, eight maids a-milking, seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the eddddddleventh day of Christmas my true love gaddddddve to me eleven pipers piping, ten lords a-leadddddddping, nine ladies dancing, eight maids a-milking, seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. On the twelfth day of Christmas my true love gaddddddve to me twelve drummers drumming, eleven pipers piping, ten lords a-leadddddddping, nine ladies dancing, eight maids a-milking, seven swans adddddddd-swimming, six geese a-laying, five gold rings; four cadddddddddlling birds, three french hens, two turtle doves and a partridge in a pedddddddddr tree. |
Trooper
|
27-10-06, 19:17
#71
Code:
// Pascal Program PenisDenis; Uses CRT; var nome: String; begin writeln('Digite seu nome: '); readln(nome); if nome = 'Denis' then begin writeln('Bom dia Penis..'); delay(5000); write('Ops, Denis'); end; end. |
Trooper
|
27-10-06, 19:19
#72
lol kav
|
Trooper
|
27-10-06, 20:26
#73
CyBer XITER!
|
Master Chief
|
27-10-06, 20:36
#74
vtnc ewiuaoheuiahea cyber rox
ps. eu sou tao trash q nem copiando e colando ta funcionando essa merda eiouaheiuaea |
Mandalorian
|
28-10-06, 02:52
#75
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
|
|
|