Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDraw filled circle Pin
Anu_Bala31-Mar-10 23:48
Anu_Bala31-Mar-10 23:48 
AnswerRe: Draw filled circle Pin
«_Superman_»31-Mar-10 23:50
professional«_Superman_»31-Mar-10 23:50 
GeneralRe: Draw filled circle Pin
Anu_Bala31-Mar-10 23:54
Anu_Bala31-Mar-10 23:54 
GeneralRe: Draw filled circle Pin
«_Superman_»31-Mar-10 23:55
professional«_Superman_»31-Mar-10 23:55 
AnswerRe: Draw filled circle Pin
LittleYellowBird1-Apr-10 1:14
LittleYellowBird1-Apr-10 1:14 
AnswerRe: Draw filled circle Pin
Mohan Ramachandra1-Apr-10 1:15
Mohan Ramachandra1-Apr-10 1:15 
AnswerRe: Draw filled circle Pin
KarstenK1-Apr-10 2:11
mveKarstenK1-Apr-10 2:11 
QuestionButterworth low pass filter in C? Pin
nam4258931-Mar-10 21:47
nam4258931-Mar-10 21:47 
I am trying to make one, convert it to char, and then view it using XV

xlimit = 256;
ylimit = 256;
n = 2;
Do = 80;

for(i = 0; i < xlimit; i++)
for(j = 0; j < ylimit2; j++){
filter[i][j] = pow ( (pow((i - xlimit), 2) + pow ((j - ylimit2), 2)), 0.5);

filterpad[i][j] = 1 / (1 + pow ( (filter[i][j] / Do), 2 *n));
}
return filterpad;

I know everything is right, except this function,
when i do return filterpad i am just getting a black screen( all 0's)
QuestionRe: Butterworth low pass filter in C? Pin
CPallini31-Mar-10 23:13
mveCPallini31-Mar-10 23:13 
AnswerRe: Butterworth low pass filter in C? Pin
«_Superman_»31-Mar-10 23:48
professional«_Superman_»31-Mar-10 23:48 
AnswerRe: Butterworth low pass filter in C? Pin
LittleYellowBird1-Apr-10 3:43
LittleYellowBird1-Apr-10 3:43 
Questionany idea why my select does not work(visual c++ ?) Pin
Mugiwara31-Mar-10 20:23
Mugiwara31-Mar-10 20:23 
AnswerRe: any idea why my select does not work(visual c++ ?) Pin
hanq_3891013031-Mar-10 20:40
hanq_3891013031-Mar-10 20:40 
GeneralRe: any idea why my select does not work(visual c++ ?) Pin
Mugiwara13-Apr-10 3:44
Mugiwara13-Apr-10 3:44 
AnswerRe: any idea why my select does not work(visual c++ ?) Pin
Stuart Dootson31-Mar-10 20:57
professionalStuart Dootson31-Mar-10 20:57 
AnswerRe: any idea why my select does not work(visual c++ ?) Pin
Cedric Moonen31-Mar-10 21:22
Cedric Moonen31-Mar-10 21:22 
AnswerRe: any idea why my select does not work(visual c++ ?) Pin
Moak31-Mar-10 21:46
Moak31-Mar-10 21:46 
QuestionListview Sorting Pin
arun_pk31-Mar-10 18:38
arun_pk31-Mar-10 18:38 
AnswerRe: Listview Sorting Pin
Cool_Dev31-Mar-10 19:18
Cool_Dev31-Mar-10 19:18 
GeneralRe: Listview Sorting Pin
arun_pk31-Mar-10 19:22
arun_pk31-Mar-10 19:22 
GeneralRe: Listview Sorting Pin
Iain Clarke, Warrior Programmer31-Mar-10 21:23
Iain Clarke, Warrior Programmer31-Mar-10 21:23 
GeneralRe: Listview Sorting Pin
arun_pk31-Mar-10 22:02
arun_pk31-Mar-10 22:02 
AnswerRe: Listview Sorting Pin
Eugen Podsypalnikov31-Mar-10 19:40
Eugen Podsypalnikov31-Mar-10 19:40 
GeneralRe: Listview Sorting Pin
arun_pk31-Mar-10 19:50
arun_pk31-Mar-10 19:50 
GeneralRe: Listview Sorting Pin
Eugen Podsypalnikov31-Mar-10 20:39
Eugen Podsypalnikov31-Mar-10 20:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.