Blocare spam-uri in Windows Server 2012 R2
Situatie: Dorim sa blocam spamurile care intra pe email, serverul de email fiind Exchange.
[mai mult...]Soluții pentru problemele tale IT
Situatie: Dorim sa blocam spamurile care intra pe email, serverul de email fiind Exchange.
[mai mult...]Returns a pseudo-random integral number in the range between 0 and RAND_MAX
This number is generated by an algorithm that returns a sequence of apparently non-related numbers each time it is called. This algorithm uses a seed to generate the series, which should be initialized to some distinctive value using function srand.
RAND_MAX is a constant defined in <cstdlib>
A typical way to generate trivial pseudo-random numbers in a determined range using rand is to use the modulo of the returned value by the range span and add the initial value of the range:
|
|
Notice though that this modulo operation does not generate uniformly distributed random numbers in the span (since in most cases this operation makes lower numbers slightly more likely).
[mai mult...]Oglinditul unui numar are ca scop afisarea inversului unui numar dat.
Ex: 384629–>>926483
Algoritmul se bazeaza pe faptul ca aflarea cifrelor unui numar se realizeaza incepand cu cifra unitatilor,acestea eliminandu-se pe rand,pana cand numarul dat devine egal cu 0.
[mai mult...]Să se scrie o funcție C++ care să realizează permutarea circulară spre stânga a cifrelor unui număr natural. Numărul este transmis prin intermediul unui parametru care se întoarce din funcție modificat. Soluţia propusă va conţine doar definiţia funcţiei cerute. Prezenţa în soluţie a altor instrucţiuni poate duce erori de compilare sau de execuţie care vor avea ca efect depunctarea soluţiei.
[mai mult...]In response to the hugely popular Google Translate app, Apple has bundled its own version within iOS 14. It’s called Translate, and it does what you’d expect: translates text or voice from one language to another.
Right now, there’s support for English, French, Spanish, Arabic, Chinese (mainland), German, Italian, Japanese, Korean, Portuguese and Russian, with offline translation available for all languages – although it may not be as accurate as when you have an active connection. You’ve also got the option of favouriting handy translations, perfect for a quick reference when travelling in another country (whenever that happens again!).
[mai mult...]Widgets aren’t new – they were first introduced to the Today View in iOS 10 – but for the first time, you can place widgets on the Home screen alongside your apps. It’s a much-loved feature of Android, and it’s great to see Apple finally fully embrace widgets after all these years.
There are a bunch of new widgets for iOS 14, including those for fitness rings (ideal for Apple Watch owners), battery life, Maps, Photos and more. There’s also what Apple calls a Smart Stack widget that’ll provide you with Siri app suggestions directly on your Home screen. It’s all based on your habits, and we’ve found it to be pretty helpful – especially now that not all apps live on the Home screen.
[mai mult...]