Author |
Message |
Topic: Function pointer as a parameter |
hasanunal
Replies: 21
Views: 48145
|
Forum: General CCS C Discussion Posted: Thu Jan 31, 2019 6:50 am Subject: Function pointer as a parameter |
Yes. 99% of CCS C, is directly K&R (Kernighan and Richie - the people who
originally developed C). The bracketed form shown, is how this type of
call is done in their original book..
Don't we ... |
Topic: Function pointer as a parameter |
hasanunal
Replies: 21
Views: 48145
|
Forum: General CCS C Discussion Posted: Thu Jan 31, 2019 2:38 am Subject: Function pointer as a parameter |
Straining back in the memory (that compiler must be about 8 years old...).
I think you had to explicitly use the standard C syntax to call the pointer
on these older versions. So in PCM_Programmers ... |
Topic: Function pointer as a parameter |
hasanunal
Replies: 21
Views: 48145
|
Forum: General CCS C Discussion Posted: Wed Jan 30, 2019 6:03 am Subject: Function pointer as a parameter |
I see.
I compiled them on CCS - PCW (v4.057).
Should it be a matter? I mean, this syntax is C right?
Why would I concern about IDE... |
Topic: Function pointer as a parameter |
hasanunal
Replies: 21
Views: 48145
|
Forum: General CCS C Discussion Posted: Wed Jan 30, 2019 5:05 am Subject: Function pointer as a parameter |
Hi all,
First of all, I have a strong understanding on c#.
and a total newbie on C language.
The thing is, I want to write a function which accepts another function as a parameter.
I rese ... |
|