Greetings.
Can Command Prompt on Windows be used to turn texts in notepad into program?
I asked because I haven't downloaded Visual Studio Community, because of its large size.
So I'm thinking and guessing if there's an existing alternative on windows by default.
Okay, got it. I hope I am not sounding like unnecessary rush and hustle, but I am so eager to learn
you confused a different option in windows, one that works in an entirely different way.
The file extension tells windows which program is supposed to handle a file, and on doubleclick the contents of that file are send to the program handling that form of data.
for text files, the program is called notepad and simply displays the content.
however, there are other programs that work in a different way.
HTM for example is the extension for html-code, which is basically text in the specific html format, and when doubleclicked that gets opened in a browser that does not simply display the text, but instead executes the html-code to create the display.
So if you have written a textfile containing code for a specific interpreter (as opposed to compiler), then ou can change the extension of the text file to have windows call the interpreter that can execute that code like a program.
But that is not the same as turning a textfile into a program, just redirecting it to a different program than notepad that does something different with it: analysing and interpreting the text inside as a program code without it being a program in itself.
EDIT: Partially ninja'd due to having written more details
Wow, the more I ask, the more I'm shown. Thanks for the education!
Let me relay to you the intention of my question.
Well, uh, I thot that I can use command prompt to, whatchu call it, compile, the code in the notepad, so that it can become, I just learnt this term, exe which means executible file..
Turns out I was so confused.
Right,.I can see that. And with more choices of language that be, rite
Sound! And heard.
Copy that, aye.
I feel certain this has been said before, but I'll give it one more go.
Are you following any kind of actual tutorials on the subject you're trying to learn about? That can be an actual tutorial on a site like w3schools, a book, night class, whatever.
It just seems to me that a lot of the super confusing posts you've thrown up here have things that, if you were following any established program with a logical progression, would be nowhere near each other. (I'm not even sure how you'd find them in any relation to each other doing random Google searches 🤣)
If the answer is no, you're not following the progression of a tutorial...dear god, why? 😛
and that weakness can prevent you from ever getting anywhere and ever having any success.
as I said in the other topic you need to finish one project just to learn to pace yourself, and without that you will never get anything finished.
I usually say that one can learn the basics in a month or so when following a structured tutorial.
since you are at it for much longer and still missing most of those basics, that should tell you how big your problem is if you don't learn to focus.
I agree. And I can clearly feel that I haven't even grab most of the fundamentals