They seem to make lots of good flash cms templates that has animation and sound.

[ Pobierz całość w formacie PDF ]

know hexadecimal format if you need to use these operations). Run the
program and observe the output.
Shift instructions
The last two operations to be covered in this section are the left shift
and the right shift instructions; their use is illustrated in the next
example program [SHIFTER.C].
#include "stdio.h"
void main( )
{
int small, big, index, count;
printf(" shift left shift right\n\n");
small = 1;
big = 0x4000;
for(index = 0; index
printf("%8d %8x %8d %8x\n", small, small, big, big);
small = small
big = big >> 1;
}
printf("\n");
count = 2;
small = 1;
big = 0x4000;
for(index = 0; index
printf("%8d %8x %8d %8x\n", small, small, big, big);
small = small
big = big >> count;
}
}
The two operations use the following operators:
>> n Right shift n places.
Once again the operations are carried out and displayed using the
hexadecimal format. The program should be simple for you to
understand on your own as there is no tricky or novel code.
Page 813-44
Module 815 Data Structures Using C
Exercise 7
Using the reference manual of your C compiler, describe any operations
on characters and bits that it provides that are not described in this
section, particularly those that are described in the ctype.h header file.
Page 813-45 [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • docucrime.xlx.pl