User profile: Shruthi LS

User info
User name:Shruthi LS
History
Joined:
Number of posts:17
Latest posts:

Passing list reference to other function
Hi all, int main(){ list<int> list1 = {1, 0, 0, 1}; for (auto& elem : list1) xor1(1,e...

Iterating over the keys in map without using boost library
Thank you all for the replies.

ERROR : narrowing conversion of ‘1952541746’ from ‘int’ to ‘char’.
Yes. Thank you so much.

ERROR : narrowing conversion of ‘1952541746’ from ‘int’ to ‘char’.
Yes that's exactly what I needed. Your code explanation was perfect. Can you please help me in getti...

ERROR : narrowing conversion of ‘1952541746’ from ‘int’ to ‘char’.
Orient is set to 0 by default. I am XORing list_1 value with the key[i] = Looping through the key ...