Search This Blog

Sunday, September 16, 2012

Incepe scoala: :-) sau :-(

0 comments
Fie ca va place sau nu, maine incepe scoala. Dupa o amanare de o saptamana de la programul initial, maine va avea loc in fiecare scoala deschiderea oficiala a anului scolar 2012-2013. Structura anului este aproximativ cea de anul trecut, exceptie facand vacanta de Paste de o singura saptamana. Mai exact, primul semestru se va termina inainte de Craciun, urmat de o vancanta de 3 saptamani si un al doilea semestru foarte lung. Dupa cum spuneam, vacanta de Paste are o singura saptamana in loc de 2 si nu cuprinde sarbatoarea pascala de pe 5 mai, vacanta situandu-se intre datele de 15-21 aprilie.

Revenind la evenimentele apropiate, in a doua saptamana de scoala se vor da TESTELE PREDICTIVE, care (pentru cei ce nu-si mai aduc aminte) sunt acele teste care nu se trec in catalog, dar conteaza enorm pentru prima impresie a profesorilor, deci... MULT NOROC!

Si in incheierea acestui articol vreau sa va urez SUCCES tuturor celor ce (re)veniti in bancile scolii de maine si ultime ore de vacanta placute!

Wednesday, August 29, 2012

"Knowing" - a great mystery, drama and Sci-Fi story

0 comments
"Knowing" is a quite old movie, from 2009, which brings Nicolas Cage and Chandler Canterbury in the center of a story categorized by some critics as a thriller, but in fact nothing scarier than just a very exciting combination of mystery, Sci-Fi and some of a drama.

Anyway, the movie presents the story of a teacher which opens a time capsule with drawings of the future made 50 years ago by some old students and gives an envelope with a drawing to every pupil at that school. An astro-physics professor's son gets a "drawing" with a lot of numbers, apparently random, which proves to be a...

Sunday, August 19, 2012

How to download an entire photo album from Facebook?

0 comments
I'm sure that sometimes you needed to download an entire album from Facebook and your only solution was to manually download every single picture, but today I'll show you 2 quick methods to solve this problem:



  1. PICK 'n ZIP it's a simple online software which downloads albums from your Facebook account, your friends' accounts or other accounts' albums in which you're tagged. You don't need to install anything on your computer, just log in to Facebook through picknzip.com and follow the steps there.

  1. If you navigate with Google Chrome (and if you don't, today it's a great day to start) download from the Chrome Webstore the DOWNLOAD Fb ALBUMS extension.

Friday, August 17, 2012

C++: The "strcat" and "strcpy" functions

0 comments
Today I'm going to introduce you 2 new functions from the "string.h"  library: "strcpy" which copies the content of a string in another one and "strcat"  which concatenates 2 strings.
I can't show you the syntax of these to functions better than with an example, so let's try to solve the following problem: In the input file there are 2 strings, "x" and "y". You have to create a "z" string with the content from the "x" string, followed by the content from the "y" string and between them the word "and". After that, print on the screen the 3 strings
problem.in

apples
pears

problem.out

the x string is apples
the y string is pears
the z string is apples and pears

Here you are the source-code for the problem, using the 2 functions:
#include <string.h>
#include <stdio.h>
int main ()
{
         freopen("problem.in", "r", stdin);

         freopen("problem.out", "w", stdout);
        char x[1000],y[1000],z[1000];
        int i;

        //now we'll read the 2 strings from the input file
        gets(x);
        gets(y);

        //in the next we'll copy the string "x" in the string "z"