i want to import an external procedure in my program


I want to ask of the way that i can import an opengl or c procedure from an external file in my c porgram?
in other words
how can i call an external procedure in a separate file in my file while compilation or running it…!

Sorry but thats a very basic programming question.

To answer your question, you include the header file and the linker will do the rest.

sorry but i did not mean that
i mean what whan i want to call an external file which may contain a procedure such text file to my program,how can i do this?

Sorry, I wont start to teach you how to code. Just grap a beginners book about C/C++, its all in there.