Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help on a programm that works with byte positioning ???

Status
Not open for further replies.

boris1979

Programmer
May 28, 2007
1
RO
ok here is the problem:

you read 3 integer numbers: x,n,p. The program have to ask you to display:
-the number formed of the n bytes from the position p
-number formed by setting n bytes strting with position p
-number formed by erasing n bytes starting with position p
-number formed by reversing n bytes starting with position p.

I don't even understand the problem. Somebody could help me please? I've worked in C but not this chapter related to bytes.

Thank You
 
Did you ask your teacher what the question is asking you to do?

As it stands, I don't think there is enough information there to accurately describe what the program should do (unless you make some assumptions, which could be completely wrong).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top