gcc oriented questions



hi,

here are two different questions:
- why are callback functions defined as 'static'? Is there an obligation to do so? Does it makes my app faster?
- can a C++/GTK+ app be as performant as its C/GTK+ counterpart? If C is faster, is there a program that would translate my C++ sources to C (eg. class -> struct etc.)?


Thanks,

                                    David.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]