blondu08 Posted February 28, 2012 Report Share Posted February 28, 2012 Salut! Vreau un program in C++ de generat coduri....vreau sursa programului daca se poate.ex: jgtava45as5ef sau ceva asemantor ..... Quote Link to comment Share on other sites More sharing options...
verde_888 Posted February 28, 2012 Report Share Posted February 28, 2012 program ganerat coduriCe e aia?Ce sa ganareze? Quote Link to comment Share on other sites More sharing options...
blondu08 Posted February 28, 2012 Author Report Share Posted February 28, 2012 pai nu stiu ...un cod acolo ex: jgtava45as5ef sau ceva asemantor ..... orice:D Quote Link to comment Share on other sites More sharing options...
blondu08 Posted February 28, 2012 Author Report Share Posted February 28, 2012 aaa acuma am vazut ...ma scuzati...ma doare un pic capu`...."generat"..... scuze....Rog un moderator sa corecteze.....imi cer scuze inca odata. Quote Link to comment Share on other sites More sharing options...
Paul4games Posted February 28, 2012 Report Share Posted February 28, 2012 Ceea ce vrei tu este un random string generator, doar cauta pe goolge si o sa gasesti destule snippeturi. Quote Link to comment Share on other sites More sharing options...
Ghett0 Posted February 28, 2012 Report Share Posted February 28, 2012 Ceva de genul?#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <windows.h>int main() {char letters[] = "abcdefghijklmnopqrstuvwxyz";char mixed[] = "01234567890abcdefghijklmnopqrstuvwxyz";char abc;abc = strlen(letters);char len;len = strlen(mixed);srand(GetTickCount());printf("%c", letters[rand()%abc]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);return printf("\n\n");}Data viitoare ai grija cand scrii titlul, e ca si cum ai gresi fix titlul cartii cand o publici PS: Incearca sa nu mai faci dublu post. Quote Link to comment Share on other sites More sharing options...
blondu08 Posted February 28, 2012 Author Report Share Posted February 28, 2012 ok ...am inteles.Si multumesc mult. Quote Link to comment Share on other sites More sharing options...
blondu08 Posted February 28, 2012 Author Report Share Posted February 28, 2012 La programul tau Ghett0 .....nu stiu ce e cu el , nu imi da nici eroare in C++ dar nici nu mi se executa programul adica se executa si dispare intr-o secunda. Quote Link to comment Share on other sites More sharing options...
adonisslanic Posted February 28, 2012 Report Share Posted February 28, 2012 pune si tu getch(); la sfarsit :\ Quote Link to comment Share on other sites More sharing options...
virusz Posted February 28, 2012 Report Share Posted February 28, 2012 sau compilezi ce ti-au dat baietii si faci ceva de genu::lofisier.exe>>Generated.txtgoto losalvezi ca *.bat si ii dai drumuah: http://www.onlinecompiler.net/upload/tmp/npLcDPkY.exe Quote Link to comment Share on other sites More sharing options...
Ghett0 Posted February 28, 2012 Report Share Posted February 28, 2012 Uite si cu getch();#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <windows.h>#include <conio.h>int main() {char letters[] = "abcdefghijklmnopqrstuvwxyz";char mixed[] = "01234567890abcdefghijklmnopqrstuvwxyz";char abc;abc = strlen(letters);char len;len = strlen(mixed);srand(GetTickCount());printf("%c", letters[rand()%abc]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);printf("%c", mixed[rand()%len]);return printf("\n\n");getch();} Quote Link to comment Share on other sites More sharing options...
Starker Posted February 28, 2012 Report Share Posted February 28, 2012 Un system("pause") sau un simplu cin>> ti-ar rezolva problema. Quote Link to comment Share on other sites More sharing options...
raynor009 Posted February 28, 2012 Report Share Posted February 28, 2012 Sa inteleg ca vrei sa faci un keygen? Quote Link to comment Share on other sites More sharing options...
blondu08 Posted February 29, 2012 Author Report Share Posted February 29, 2012 ca tot venii vorba de keygen ....cum se face unul...? Quote Link to comment Share on other sites More sharing options...
AdyAdy12 Posted March 3, 2012 Report Share Posted March 3, 2012 Care ma ajuta si pe mn sa fac un hack de conquiztador in microsoft C++ 2010 express mullt...sau macar sa ma ajute cu un hack tot de conquiztadorCine vrea id meu este adynaruto48 Quote Link to comment Share on other sites More sharing options...
totti93 Posted March 3, 2012 Report Share Posted March 3, 2012 @Ady Nimeni nu o sa-ti dea programul. Du-te si invata, nu intinde mana!L.E.: Ai f*tut threadul cum ai deschis gura... Quote Link to comment Share on other sites More sharing options...