Hi,
I need to write a program which can produce all different combinations of a 10 binary digit sequence. e.g 2^10 or 1024 different binary values.
e.g 0000000000, 0000000001, 0000000010, 0000000011, ..........., 1111111111
Anyone knows how to produce such a sequence?
Jialat liao........i have to complete it by tomorrow and I don't know how to write
2007-02-13
18:44:19
·
3 answers
·
asked by
ZhiYi
1
in
Computers & Internet
➔ Programming & Design
The language I am using is C++ and the datatype used are integers (1 and 0).
2007-02-13
19:07:48 ·
update #1