Both dont work haha. The system / mingw compiler looks for ...gcc.exeinstead of
the location of gcc.exe so it wont find the necessary file. Idk how to fix it
because the Path variable is correct
I use
[https://github.com/FedericoCeratto/nim_project_maker](https://github.com/FedericoCeratto/nim_project_maker)
to initialize projects with some useful files
Just to be sure, are you using the command `Nim` (uppercase N) or `nim`
(lowercase n)? The command is `nim` (lowercase n).
And there is my next problem. If i try to run anything with Nim c -r
filename.nim it gives a file not found error. even if i use f6 in VS Code
Thank you for the links it was hard for me to find anything
Thank you, I'll look into it
This is project structure I use:
[https://github.com/treeform/nimtemplate](https://github.com/treeform/nimtemplate)
There's the Nim package manager [Nimble](https://github.com/nim-lang/nimble)
and its README has a section on [project
structure](https://github.com/nim-lang/nimble#project-structure).
Also, if you use `nimble init` on the command line, it will create the
structure for you to have an easy start.
Have you tried reading some tutorials?
[https://nim-lang.org/learn.html](https://nim-lang.org/learn.html)
There are also videos at youtube.
Generally in Nim we do not but all objects in its own source file as it is
common in Java. So generally You just create one single text file for your
code
Hello Everybody,
I am 100% new to Nim (I programmed exclusively in Java and a bit of Python
before) the only thing I did was Hello World and now I have a question to the
set up of a "real" project:
Do you write all code in one file or do you use multiple files for different
things (like class
10 matches
Mail list logo