Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How do I get rid of the main()?

0 votes
asked Aug 9, 2018 by 1freespirit69 (120 points)
Using Online GDB to practice Python scripting scenarios.  I do not need the main() for my simple practice scripts.

1 Answer

0 votes
answered Aug 24, 2018 by Aditya Mudaliar (280 points)
in C/C++ main is the entry point of any program,you can create a shared library .DLL or an .so without a main but to debug a function you will have to call it from a c/c++ program having main
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...