can someone explain the difference between get functions in C++... like get() or getline()
and on what situation should we use any of these functions,

You should have used google to search it over.

But however here is a small explanation

get basically takes in one character from a particular input stream that you have used it with.

For Example

char a = cin.get();

The above statement takes in a character that a user types.

Getline()

Getline() Basically works in the same way as get but .
The difference to this from Get is that it takes in a number of characters that you tell it to.

For ex

string b;
cin.getline(b,10);

With the above statement it first takes in 10 characters from the user input and stores it into the variable b.

Not only to cin . both get () and getline () can be used to different input streams such as files etc.

commented: Works for me too :) +20