No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Guys, I have a question regarding the use of STL next permutation algorithm say I have a vector a[] = [ 52 3 4 2 49] How do I use the next_permutation algorithm for only the last 3 elements (in this case 4 2 and 49) and store those in … | |
Ok guys, I could sure use some help regarding this search methond in C++. I have a 2D vector which i read from a text file. It looks like this: 000000000 000100001 000010000 The idea here is I have to search for the leftmost '1' in the highest possible row … | |
Guys, Your help will be appreicated in this matter. i have to read a text file which has rows and columns into a vector. The text file could be of any size. 000000000 010010001 010010011 001001001 Now, how do I upload this text file on to a 2D vector? so … |
The End.