Hello everybody,
I wanna help to writing this program.

Q/ Write Prog. that generates Random Binary sequenced by Using shiftRegister o f Length (10).

thnx 4 Help

Show your work... We will surely help you.

I don't know any thing about that :(
plz help

Its ok no problems...You can start reading now and post all your doubts here... You'll get help definitely...

i know some simple things about c++, and i know write some simple programs,
but till now I can't writing codes by my informations Idea..


sorry 4 my bad English


thanks a lot.

..so do you need to generate a random 10 digit binary sequence using the bitshift operators? (<< and >>)

generate a random 10 digit binary by Using (Shift Register)

thnx

You can try googling a Tausworthe generator - that's the most common random generation function that uses a shift register and I think that's what you'd want to use.

I couldn't find any concrete C++ examples but good luck anyway :|

I don't find from Google
please help... does any one can help me??? and wrote to me compelete program????

I don't find from Google
please help... does any one can help me??? and wrote to me compelete program????

I don't think you will get somebody to make your homework, put in the place of the other people, they would be working for free by doing other's homework.

Who is ordering you to make that program and why?

so a newbie:

start here

#include <bitset>
#include <cstdlib>

int main(){
// you will need some sort of a loop 
for (int i =0; i < 5; i++){ // go from 0..5, you could even use a while loop or a do-while loop
// here you generate number using that method shiftRegister()
// use method rand() to randomize  
}
return 0;

}

without more information i really can't help.

#include <iostream.h>
int main(){
// you will need some sort of a loop
int n;
for (int i =0; i < 10; i++){ // go from 0..5, you could even use a while loop or a do-while loop
// here you generate number using that method shiftRegister()
//i dont know how is shift register! (?)


// use method rand() to randomize
randomize();
n=random (10)+i;
}

can any one fix errors with me and help me?

thnx.

today is my last chance plz help.

Today is your last chance so you please try...

Salam Mr.Saad
this is not the way u ask.
show some code, or ur attempt, if u are stuck somewhere. we will help u.

create 50 years calender by using c++

create 50 years calender by using c++

Salam Mr.Saad
this is not the way u ask.
show some code, or ur attempt, if u are stuck somewhere. we will help u.

ok, i wanna to be learn this program but i don't know what is siftregister method

can u explain it for me?