Search This Blog

Saturday, May 26, 2012

Samsung Galaxy xCover: a "rugged" smartphone

0 comments
Are you clumpsy and you use to change phones frequently because they fell once in water or on any hard ground and were damaged beyond repair? If you do, maybe that's why you can't afford to have a smartphone...
Since now, this will never happen again! Today I'm going to present you a "rugged" smartphone: SAMSUNG GALAXY XCOVER! It is dust-proof, water-proof, shock-resistant and it has the latest "Gorilla Glass" touch-screen, but xCover is not just an incredible resistant smartphone: his OS is...

Wednesday, May 23, 2012

Stiati ca...

0 comments


  • in China si Thailanda, la numerotarea caselor, se "sare" peste cifra 4?
  • cel mai lung cuvant din limba romana este   pneumonoultramicroscopicsilicovolcaniconioza?
  • tara cu cele mai mari castiguri zilnice este Panama, din America Centrala?
  • cuvantul "COP" din engleza americana este de fapt un acronim, de la "Constable on Patrol" din engleza britanica, unde inseamna "politisti in patrulare"?
  • multe dintre telefoane au o incarcare de rezerva in baterie de aproape 50%, care se activeaza la apelarea codului *3370#?
  • Leonardo da Vinci a inventat foarfeca?
  • dalmatienii se nasc fara nicio pata?

Tuesday, May 15, 2012

Albert Einstein

0 comments
Albert Einstein is one of the most well-known geniuses in the history. His most famous discovery is E=mc^2, but also The Theory of Relativity was signed by him and many others.
Einstein lived in the 20th century and he made huge progresses in Physics and Mathematics.
He was known as a good person and he like to help kids. Einstein was married twicw and he had a daughter and two sons.
His theories wore and still are very controversed and missunderstood, especially The Special Relativity.
He was born on the 14th of March, in 1879, in Germany and he died on the 18th of April, in 1955, in United States. During his life, Albert Einsteinlived in 7 countries and received 6 different citizenships
Einstein's notable awards are:

  • Nobel prize in Physics (1921)
  • Matteucci Medal (1921)
  • Copley Medal (1925)
  • Max Planck Medal (1929)
  • Time Person of the Century (1999)

C++: Functia “sort”, cea mai rapida metoda de sortare a vectorilor

0 comments
Pana acum cunoastem ca metoda de sortare a vectorilor bubble sort-ul, adica algoritmul cu for in for sau cel cu do while, dar astazi vreau sa va arat o functie care sorteaza vectorii, reprezentand  si cea mai rapida metoda posibila si cea mai scurta din punct de vedere al codului.
Aceasta functie se numeste sort si face parte din biblioteca <algorithm>. Iata-i codul in program pentru cazul ordonarii crescatoare a vectorului “v” cu “n” elemente, care a fost citit incepand cu pozitia 0:
sort(v, v+n);
In cazul in care scrierea in vector se incepe de pe pozitia 1, apelarea functiei va arata astfel:
sort(v+1, v+n+1);
Poate ca acum ma veti intreba cum se realizeaza ordonarea descrescatoare. Ei bine, pentru aceasta mai trebuie definita de catre utilizator urmatoarea functie (pentru a afla cum se defineste o functie vezi articolul: Functii definite de catre utilizator) :
bool  descr(<tip> a, <tip> b)
{