私達を別の例をよりよくポインターの使用を理解するために見ることを許可しなさい

Files Recovery Software
連絡先の詳細 顧客サポート ダウンロードのデモ 製品  

 
 

私達を別の例をよりよくポインターの使用を理解するために見ることを許可しなさい:

#include <stdio.h>
#include <string.h>

int main()
{

char strg[40], *there, one, two;
int *pt, list[100], index;

strcpy(strg, "This is a character string.");

/* strcpy機能は()別のものへ1つのひもをコピーすることである。 私達は後でひもセクションのstrcpy ()機能について読む*/

one = strg[0]; /* 1つおよび2つは同一である */
two = *strg;

printf("The first output is %c %c\n", one, two);

one = strg[8]; /* 1つおよび2つは同一である */
two = *(strg+8);

printf("The second output is %c %c\n", one, two);

there = strg+10; /* strg+10はである&strg [10]と同一 */

printf("The third output is %c\n", strg[10]);
printf("The fourth output is %c\n", *there);

for (index = 0 ; index < 100 ; index++)

list[index] = index + 100;
pt = list + 27;

printf("The fifth output is %d\n", list[27]);
printf("The sixth output is %d\n", *pt);

return 0;
}

プログラムの出力はこれのようである:

The first output is T T
The second output is a a
The third output is c
The fourth output is c
The fifth output is 127
The sixth output is 127


Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18

 
 

page 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34

 
 

page 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50

 
 

page 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60

Next page
 
 
データ回復図書
 
章1 データ回復の概観
章2 ハードディスクの導入
章3 ディスクおよびosへの論理的なアプローチ
章4 ナンバーシステム
章5 cのプログラミングの導入
章6 コンピュータ基本原則への紹介
章7 必要なdosは命じる
章8 ディスクBIOSは作用し、cとの処理を中断する
章9 大きいハードディスクの処理
章10 買収されたフロッピィからのデータ回復
章11 バックアップの作成
章12 プログラミングを用いる読み、変更MBR
章13 プログラミングを用いる読み、変更DBR
章14 「未加工ファイル」回復のためのプログラミング
章15 データワイパーのためのプログラミング
章16 ディスクのためのより多くの実用性の開発
付録 データ回復言葉の語集
 
 
Pro Data Doctor

製品

連絡先の詳細

顧客サポート

ダウンロードのデモ

契約条件

 
Pro Data Doctor