Most voted "main" questions
8 questions
Sort by count of
-
7
votes4
answers4137
viewsIs there a "main()" function in Python?
In some languages, as in C, we have the function main() which is usually the default entry point of the program. There is something similar in Python?
-
6
votes2
answers165
views -
1
votes2
answers576
viewsFunction or Method to Restart an Application on the C#console
Is there any available function or method to Restart the application on the C console#? static void decision() { Console.WriteLine("\n Press the home key to recalculate. . .",…
c# visual-studio code-review main console-applicationasked 5 years, 5 months ago Gabriel Castilho 11 -
0
votes1
answer68
viewsClass recognition problem in Eclipse
There’s a problem in my project that’s supposed to be the main class .…
-
0
votes0
answers62
viewsWhat is it and how can I use extends and Abstract in a public main?
Hi, I’m a beginner in programming and am currently learning in the game development course. The course teacher couldn’t make it clear to me what it is and how to use extends and Abstract, I watched…
-
0
votes0
answers16
viewsWhat’s the difference between void and nothing in the parameter?
What’s the difference between: #include <stdio.h> int main(){ printf("hello world\n") return 0; } and #include <stdio.h> int main(void){ printf("hello world\n") return 0; } It’s just…
-
0
votes0
answers134
viewsIs it possible to transfer files from a branch to a main branch? (Github)
Hi guys! My question is about Github. I moved files to a branch that is not main, and I want to move to the main branch (main). Is there a command in Git Bash to do this? (In case it would be files…
-
-1
votes1
answer48
viewsChange global branch to main in Ubuntu 20
How do I permanently (globally) change the git branch from "master" to "main" in Ubuntu 20?