In codeblocks if we cant take more than one main method in one project. Is there a way i can write more than one code in one pro | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In codeblocks if we cant take more than one main method in one project. Is there a way i can write more than one code in one pro

30th Sep 2017, 9:23 AM
Farhan Raza
Farhan Raza - avatar
4 Answers
+ 1
so that means i cant write and run a program in another class. then whats its need.
1st Oct 2017, 11:50 AM
Farhan Raza
Farhan Raza - avatar
0
is there a way i can run more than one program in one project or i jave to create a new one everytime???
30th Sep 2017, 1:06 PM
Farhan Raza
Farhan Raza - avatar
0
OK SO IF I WANT TO WRITE ANOTHER CODE TO PRACTICE I HAVE TO CREATE ANOTHER PROJECT. IS THERE ANY OTHER IDE WHICH WILL HELP ME TO COMPILE AND RUN ALL THE CLASSES IN ONE PROJECT LIKE BLUEJ???? OR I HAVE TO CREATE NEW PROJECT FOR EVERY CLASS TO RUN????
1st Oct 2017, 1:17 PM
Farhan Raza
Farhan Raza - avatar
0
im sorry, for caps lock im trying to practice my programs/code on codeblocks. but when i write more than one (in console app.)program they say there cannot be multiple main. so that means i cannot practice more than one program in one project? and have to create another project for each code/program.
1st Oct 2017, 3:01 PM
Farhan Raza
Farhan Raza - avatar