the function gets that custom type as  a parameter
                  
                  
                  now i want to write prototype of the function in a header file but it gives me an error
                  
                  
                  header.h
                  
                  
                  ————-
                  
                  
                  void* myfunc(mytype* T);
                  
                  
                  ————
                  
                  
                  what should i do?
                  
                  
                
What error? Is the type defined in the scope of the prototype?
Also don't you have a header guard?
Обсуждают сегодня