|
-
March 25th, 2018, 08:23 AM
#1
binary digit matrix implementation by using 2D vector
How I can implement the following matrix by using just 2D vector (not matrix,...) in C++?
HTML Code:
0 0 0 1 1 1 1
0 1 1 0 0 1 1
1 0 1 0 1 0 1
Above matrix is just an example and its 3 digit binary numbers except column contain 0 0 0.
I need a code which I can extend a number of rows to 4 digits, 5, 6,... for other classes(in each class the number of rows will change)and I need a piece of code which I can use in all classes, commonly.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|