| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 523 人关注过本帖
标题:關於指標的問題
取消只看楼主 加入收藏
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
快速回复:關於指標的問題
数据加载中...
 
   



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

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