Question about including
#1

Hello everybody!
I have kinda dumb question about including files.

Let's say I want to include "myFile.txt", which is in "assets" folder ( this folder is in my gamemode folder ).
Which way is better to use ?

No. 1: #include "assets/myFile.txt"
No. 2: #include "assets\myFile.txt"

I'm just curious if it's better to use '\' or '/' when typing the path to file.
Thanks in advance!
Reply
#2

Is it that hard to use it from the include folder?
Reply
#3

Even if I do, I want to use folders for more organisation. And I'm only intrested in what slash should I use '\' or '/'.
Reply
#4

Quote:
Originally Posted by sw3das
Посмотреть сообщение
Even if I do, I want to use folders for more organisation. And I'm only intrested in what slash should I use '\' or '/'.
Forward slash " / "
Reply
#5

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)