[ prog / sol / mona ]

prog


use vs code to compile

1 2021-11-29 01:28

can i use vs code to compile games like doom source code and maybe modify it to become like android app and add multiplayer so on?

i just downloaded vscode to do firmware and since its so light i m wondering if it can but i havent found any nor am i actually versed in making programs...

2 2021-11-29 04:09

Visual studio... light weight...

Do yourself a favor and learn how to use command line. Windows is probably not the most useful environment for this but i guess there is some kind of linux subsystem these days. Maybe you can use that.

3 2021-11-29 10:51

>>2 what? what does command line have to do? you d be writing a compiler from scratchh? how do you even do that?

4 2021-11-29 13:23

>>3
You need to understand the culture surrounding SchemeBBS. Most people here:
* Use Unix-like operating systems (not Windows).
* Write programs using Emacs or Vim (not VS Code).
* Prefer command line interfaces over GUIs (therefore, no VS Code).
* Love Lisp (Scheme, Common Lisp, etc.)

P.S. At 40+ MB, VS Code is definitely not light.

5 2021-11-29 13:50

Do you want to develop firmware or port Doom for Android? They are two very different problems. Although if you have no programming experience whatsoever, you will need to learn programming before you can attempt either.

6 2021-11-30 00:50

>>4 >>5 ok then, how do you do it usually, in your ways? pls show me part of the example of the procedure... what you type or code i suppose over command lines and firmware/ports

7 2021-11-30 04:24

>>6
You should read The Linux Command Line by William Shotts. It will teach you the basics of using the command line on Linux, and some basic scripting. You can start from there.

The book is available for free from the author's website: https://linuxcommand.org/tlcl.php

8 2021-11-30 06:35

>>7 i just saw it and it doesnt seem like there is method on how to compile a running executable or apk. am i mistaken? or is it too advanced of a question? i may need something more direct on compiling and porting

9 2021-11-30 12:38 *

How can anyone think vs code is light? Are you talking about a light theme or something?

10 2021-11-30 18:31 *

>>9
It is light compared to Eclipse and the old-school Visual Studio.

11 2021-11-30 19:25

>>8 compilation on the command line usually involves a compiler like gcc, clang, etc. and a build system like make, cmake, autotools, etc.

12 2021-11-30 19:27

>>8 and this is covered in chapter 23 of tlcl.

13 2021-12-01 09:14

>>12 lol i thught we re still on writing shell script..so there s no way to type and compile from terminal?

14 2021-12-02 22:30

>>13 those are all command line tools.

15 2021-12-07 17:02 *

>>1
You should stop using computers.

16 2021-12-10 04:36

>>15 trying. what else?

17 2021-12-10 17:47

Open notepad

Type "#include <stdio.h>" Enter

Type "int main() { printf("Helol world!\n"); return 0; }"

Save the file as "general_ai.c" to disk C:\

Open command line

cd c:\

gcc -o conquer_the_world.exe general_ai.c

Open explorer, navigate to C:\ and run "conquer_the_world.exe"

If not there then install MinGW and repeat

18


VIP:

do not edit these