Maybe I'm using built-in functions ... Is there a way to archive it without using function pointers?
Thanks in advance.
Not in C. You can in C ++. A structure is just a class, with all members being publicly accessible by default in that language.
No, the structure only supports a function pointer.
C. ++.
, , ( ).
, , a, C, : , .
however, as pcent pointed out, a function pointer is a data type and can be stored in a structure.
Source: https://habr.com/ru/post/1749670/More articles:Groovy pretty print XmlSlurper output from HTML? - htmlUsing EJB inside a JAX-RS resource class in RestEasy? - jbossHow to create a Numbers table using objective-c? - objective-cКак запустить команду в удаленной системе Windows в качестве пользователя без администратора с WMI? - vbscripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1749669/what-are-the-different-ways-to-call-a-function&usg=ALkJrhgldLQgkZZ-yc66Z9EvAiEQ8qPWqgMicrosoft Visual Studio Professional Licensing - c #Choose one of several options with a certain probability - c #Hudson check the new Release directory in the SVN tag directory and create a new version - hudsonHow to index small words (3 letters) using full-text SQL search? - sql-servercreate child nodes from sibling nodes until another sibling occurs - xmlAll Articles