Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
68 views

I'm currently studying Java in general and inheritance in particular. When I run the code below in an online editor it throws an error related to the main method, however, when I modify it as ...
Robk29's user avatar
  • 23
0 votes
0 answers
50 views

I am trying to understand the entry point _start of a random C application which i had written, i wanted it to change to a different function so i changed it using the compiler flag while compiling my ...
Venu Gopal Atchyutanna's user avatar
-4 votes
1 answer
101 views

Since main() is made static so that JVM can access it without creating an object of the class in which it is defined, then what is the need for writing it in a class?
PS Nayak's user avatar
  • 423
0 votes
1 answer
324 views

When I try to execute the command uvicorn main:app --reloadfor start my local server, the VSCode terminal throws the error invalid command name 'main:app'. The code below imports a variable from the ...
RAFAEL HSL's user avatar
0 votes
0 answers
62 views

I am developing one DLL in VC++ and its working while testing with my Test.exe app in debug mode. But while running Test.exe in release mode I am getting "Entry point Not Found" error While ...
Sijith's user avatar
  • 4,018
0 votes
0 answers
80 views

I have a text editor, now I'm implementing licensing support. Licenses are managed on a third-party server (SAAS). Desired Flow The user opens the editor. If they have no license (first-time open): ...
André Polykanine's user avatar
0 votes
0 answers
69 views

I have an interface I've created called interface.py that runs a script based on the press of a button... def submit_action(selected_item): values = list(item_to_value[selected_item]) ...
intrepid's user avatar
0 votes
1 answer
93 views

This question came to me last night, and I couldn't find a definitive answer in my brief surf of Google. Should (or could) I use portable types (i.e int32_t) in the declaration of my program's main ...
Zenais's user avatar
  • 146
1 vote
1 answer
73 views

What's wrong with this code? Why I can see only one output? What returns futureUserByName function? onComplete doesn't work for it as well. It must be just simple Future, but it doesn't work. import ...
Dmitriy Kolesnik's user avatar
-2 votes
2 answers
109 views

i am currently working on a web browser on visual studio 2022 and every time I execute the program these errors show up LINK2001 unresolved external symbol main and LINK1120 1 unresolved externals. So ...
user25910489's user avatar
1 vote
1 answer
72 views

I'm receiving the error Plugin already initialized!. I already know that this means that I'm initializing my main class twice and Bukkit/Spigot doesn't like this. I cannot seem to figure out where I'm ...
quietWind01's user avatar
0 votes
1 answer
413 views

UPDATE: Nestled deep within the large accepted answer is the way to fix this; i.e. rename the method from main to something else, or rename the object Main to something else. The conflict is a case ...
chaotic3quilibrium's user avatar
0 votes
2 answers
26 views

<EditText android:id="@+id/et_name" android:layout_width="match_parent" android:layout_height="48dp" android:layout_margin="20dp" android:...
getoffmylap's user avatar
0 votes
1 answer
3k views

when you are in VS Code you start a new console, the program code generated has the new format where there is no main() section as in the old days. I like have the main() section. I should be able ...
jozef's user avatar
  • 101
0 votes
1 answer
129 views

I am getting this error: Error: Main method is not static in class oracle.Execution$, please define the main method as: public static void main(String[] args) When I run the command: java -jar ...
Shelen's user avatar
  • 169
0 votes
2 answers
749 views

I have a problem with my Maven project. The program was already running without any problem but now I can't start it anymore. It is important that the user can run this application by just double ...
Odosco's user avatar
  • 21
0 votes
0 answers
89 views

I have a small html on top of my electron app which has a input. I want to make it so that when i insert a url into it and press enter, url in my second BrowserView changes and loads that website. ...
staa's user avatar
  • 13
0 votes
1 answer
60 views

1- I get this error when I try to print a return value from inside main => " name 'conversion' is not defined " 2- I have some dummy prints to debug my code def main(): time = input(&...
JPnAZ's user avatar
  • 13
2 votes
2 answers
1k views

In .NET 6.0, the Main method is simplified by removing and main method. Now it's possible to start writing code directly without it. But I want to enable it back and don't want to write it by hand ...
livan3li's user avatar
  • 1,078
0 votes
1 answer
2k views

I am very new to this and I have a problem with this message that I get every time I try to run a program. I've tried a thousand things and I don't know what else to do. If anyone could help me I ...
Alejandro Ardila's user avatar
0 votes
1 answer
2k views

Solved this issue and posting to help future readers. This happened when switching a Windows Forms App to start with my own Main() instead of a form. After experimenting with many different ways of ...
Mike D's user avatar
  • 1
1 vote
1 answer
1k views

Been trying to write a function just to do this. fn main() -> Result<i32, i32> { let clargs: Vec<String> = env::args().collect(); // validate command line arguments if ...
Jeff's user avatar
  • 45
0 votes
0 answers
108 views

I have some custom extensions, which when i double-click on it, it launch program and every time as i do it, it creates new mainwindow. So i want not create, but update the first mainwindow. I searced ...
Bird's user avatar
  • 11
3 votes
1 answer
122 views

Whenever we see an introduction to Object Oriented Programming, we commonly come across this explanation, A class is a blueprint of an object, it can be used to represent a real world entity virtually,...
nick's user avatar
  • 31
0 votes
1 answer
60 views

I am creating a project where I have one model where one variable is always changing, namely ForecastMultiplier. I need to put the results of each iteration into an excel spreadsheet. You can find ...
Anduliska's user avatar

1
2 3 4 5
63