Talk:Hello world/Newbie: Difference between revisions

→‎.exe Portability: Compiled and standalone
(→‎Plain English: new section)
(→‎.exe Portability: Compiled and standalone)
 
(6 intermediate revisions by 2 users not shown)
Line 7:
 
== Plain English ==
==== Directory name ====
 
It's my understanding the name of the directory in which the text file is created will be used as the name of the .exe file. I don't see that noted in the "(Plain) Console HelloWorld" or the "Plain Graphical HelloWorld" section.
<br />
[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 19:18, 1 December 2020 (UTC)
:It is already noted somewhere in the Console section (the one where the "HelloWorld1.exe" is located); maybe it's not clear. Btw I already edited that by copying your sentence. I decided to not repeat it in the Graphical version because the newbie is already assumed to have experience programming. --[[User:Simple9371|Simple9371]] ([[User talk:Simple9371|talk]]) 03:22, 3 December 2020 (UTC)
:: And maybe I wasn't reading as carefully as I thought. Having it stated in the sentence you added does slow one down enough to "Take note ..."
:: Thank you
::[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 16:21, 3 December 2020 (UTC)
==== .exe Portability ====
I had another thought, but have not taken the time to confirm this. It seems to me, the resulting .exe is standalone. That is, it does not require the IDE as a runtime. One could move the new .exe to another Windows machine and run it successfully.
<br />
[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 16:21, 3 December 2020 (UTC)
: Well, I just took the time to find out.
: One CAN move the .exe and run it on another machine just using the Microsoft Windows capabilities. I even ran it from a shortcut on my desktop.
: I don't, yet, have access to [https://www.WineHQ.org Wine] or another Windows look alike, but that might be an interesting experiment.
:[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 16:49, 3 December 2020 (UTC)
:: Honestly, I expected a standalone EXE because it is 'compiled.' Anyways, I already added "standalone" in "Upon running the code..." sentence. --[[User:Simple9371|Simple9371]] ([[User talk:Simple9371|talk]]) 04:20, 4 December 2020 (UTC)
::: Compiling some source doesn't automatically create a standalone .exe. The Plain English compiler generates calls to several Windows .dll files, so it can't be run on a bare X86 motherboard or some other software stack.
:::[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 14:33, 4 December 2020 (UTC)
1,606

edits