StackOverflow Questions for Tag: main-method

Blackforest
Blackforest

Reputation: 1069

crt1.o: In function `_start': - undefined reference to `main' in Linux

Score: 57

Views: 166713

Answers: 10

Read More
AndreaNobili
AndreaNobili

Reputation: 43057

Can I have more than one class containing the main() method in a Java project?

Score: 12

Views: 22720

Answers: 5

Read More
AndreaNobili
AndreaNobili

Reputation: 43057

How exactly works the Java application exit code of the main() method?

Score: 27

Views: 41056

Answers: 4

Read More
Shehan_pra
Shehan_pra

Reputation: 1

Can we use multiple main methodes in a same package?

Score: -4

Views: 64

Answers: 0

Read More
Ewoud
Ewoud

Reputation: 14405

Can't execute jar- file: "no main manifest attribute"

Score: 1419

Views: 2567076

Answers: 46

Read More
Adityaaa
Adityaaa

Reputation: 27

Why does school teach void main() in C++

Score: 0

Views: 165

Answers: 1

Read More
Joel
Joel

Reputation: 15526

What should main() return in C and C++?

Score: 850

Views: 476939

Answers: 19

Read More
inkfil
inkfil

Reputation: 21

linking issues in QT. 6.2.4 for missing entrypoint "_main"

Score: 1

Views: 362

Answers: 0

Read More
Miguel Ruivo
Miguel Ruivo

Reputation: 17766

How do you pass arguments from command line to main in Flutter/Dart?

Score: 57

Views: 49399

Answers: 7

Read More
PS Nayak
PS Nayak

Reputation: 421

Need for encapsulating main()

Score: -4

Views: 82

Answers: 1

Read More
SuaveSouris
SuaveSouris

Reputation: 1342

Compiler error: expected a "{" before "int main"

Score: -3

Views: 8510

Answers: 3

Read More
Lijin Durairaj
Lijin Durairaj

Reputation: 5240

NameError: name 'main' is not defined - Is it the indentation?

Score: 0

Views: 4359

Answers: 1

Read More
Neal
Neal

Reputation: 141

FATAL Exception Main android

Score: 0

Views: 16452

Answers: 5

Read More
David Gordon
David Gordon

Reputation: 91

Is there a way to have a short and two long command line argument alternatives for a parameter?

Score: 9

Views: 376

Answers: 1

Read More
Stephen C
Stephen C

Reputation: 719561

What does "Could not find or load main class" mean?

Score: 1938

Views: 4703268

Answers: 66

Read More
Shabbyrobe
Shabbyrobe

Reputation: 12628

PHP equivalent of Python's __name__ == "__main__"?

Score: 45

Views: 7431

Answers: 5

Read More
user1299661
user1299661

Reputation: 193

Calling the main function in C++ is ignored using CodeBlocks

Score: 4

Views: 947

Answers: 3

Read More
Arjun Nayini
Arjun Nayini

Reputation: 93

Main Function Error C++

Score: 1

Views: 429

Answers: 2

Read More
Tasos Papastylianou
Tasos Papastylianou

Reputation: 22255

How to set up a java module to run directly (not via a .jar file) without having to specify a main class

Score: 0

Views: 70

Answers: 1

Read More
jozef
jozef

Reputation: 101

dotnet new console --use-program-main does not work

Score: 0

Views: 2182

Answers: 1

Read More
PreviousPage 1Next