I have no idea on what the 1st question is about as i have never used
orkut...
1. Regarding the 2nd one. Maintain a adjacency list for both the
user's friends.
2. Move through the friends of user 1 and mark them grey.
3. Move through the user 2 friends and mark them grey if not marked
and mark them
enums are not allocated in memory - they exist only on compilation
stage.
But once a enum is declared then how are they made use of in the
program without declaring a variable for the enum
Ex:
enum abc
{
a,
b,
c};
Without abc a = a; we can access 'a' of the enum directly. How is that
made possibl
How to store references in C++ STL.
Pointers are allowed to be stored into vectors and stacks and such.
But how to store reference types.
char &x;
Is it possible and if so how ? Else is it not possible to do it ?
--
You received this message because you are subscribed to the Google Groups
"Algor