i have some separate codes and all which i need to do is to combine them and make a single program. each one has int main ( ) parts so i am confused how to do it. please message me anyone who can help or guide.
That's a very broad, general statement. Do you need to combine then in any particular way? Are they completely independent, for example run one after the other, or summoned from a menu. Or Are they to interact, for example one existing code to call some function of a different existing program. The more detail and explanation you can give, the more likely you are to get a useful answer.