标题:關於指標的問題
取消只看楼主
btopcst
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2005-9-26
 问题点数:0 回复次数:0 
關於指標的問題

#include<iostream.h> #include<stdio.h> #include<stdlib.h> typedef unsigned char uint8_t;

struct yuv2rgb_factory_s { int gamma; int entry_size; uint8_t *table_rV[256]; uint8_t *table_gU[256]; uint8_t *table_bU[256]; }; void main(void) { yuv2rgb_factory_s *c_this; c_this->entry_size=4; c_this->gamma=10; for (int i = 0; i < 256; i++) { *c_this->table_rV[i] += c_this->entry_size*(20- c_this->gamma); *c_this->table_gU[i] += c_this->entry_size*(20 - c_this->gamma); *c_this->table_bU[i] += c_this->entry_size*(20 - c_this->gamma); } } 這段程序…我編譯ok了…但是執行有問題… 請問一下是什麼問題…那要怎麼改呢?? 能否給我個答案…謝謝

搜索更多相关主题的帖子: include 
2005-09-26 22:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-28760-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.076863 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved