Jump to content
Patrunjel

Reclama la blog

Recommended Posts

Posted (edited)

Salut.

Alaltaieri mi-am tras blog, si pot sa zic ca-i pizdos...adica bloguiala chiar e o chestie misto de facut la plictiseala...

Intrebarea mea e : Cum pot sa-mi fac reclama la blog? ( nu spam sau de-astea, ma gandeam la ceva "legit" )

Pana acum ce-am facut a fost sa-mi pun blogul la semnatura pe dreamincode (si asta mi-a adus o vizita, azi :) ) .

Eventual un nume de carte, ceva, sa pricep si eu cum merge treaba cu tagurile...practic orice sfat / carte care ma poate ajuta sa-mi fac vizite e binevenita :)

O chestie care, zic eu, conteaza, e ca bloguiesc in engleza :)pseudolearn

De pe RST am primit 3 vizite, tot atatea am primit in 3 zile, din celelalte surse ale mele :)) Ce pizdos, deja am gasit o metoda :)) (lol)

Edited by Patrunjel
Posted

Off Topic cum ar fi :) despre contentul blogului tau

:) Scriptu tau de generare a parolei e cam .. slab ? check this :)

#include <iostream>
#include <string.h>
#include <time.h>

using namespace std;

char pickone[] = "qazwsxedcrfvtgbyhnujmikolpQAZWSXEDCRFVTGBYHNUJMIKOLP1234567890";// 62 total !
int i,a;
char last[25];

int main(){
srand((unsigned)time(0));
for(i=25;i--{
a = rand();a=a%100;
if(a>62){a= 62 - 2 * i ;}
last[i]=pickone[a];
}
cout<<endl;
for(i=1;i<=25;i++){cout<<last[i];}
system("Pause");
}

Si daca vrei sa faci neaparat cu optiune de ales caracterele folosti faci inloc de char -> string si o sa faci ceva de genu :

3 strings : " numbers , characters , special caracters "

faci string final = string 1 + string 2 + string 3 , sau care le vrei .

! String Final fiind pickone[] defapt , ca poate nu ai inteles :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...