[DiscordArchive] I'm completely new to C and C++, but I know Scala, Python, Golang, Bash, Java, and R. I'm dissectin
[DiscordArchive] I'm completely new to C and C++, but I know Scala, Python, Golang, Bash, Java, and R. I'm dissectin
Archived author: Nick • Posted: 2023-01-12T01:38:41.792000+00:00
Original source
I'm completely new to C and C++, but I know Scala, Python, Golang, Bash, Java, and R. I'm dissecting https://github.com/azerothcore/mod-zone-...fficulty.h, trying to understand these #includes. I noticed a few includes -- which I assume work the same as imports in any other language, but I don't see where those imports are actually used. Do they provide some other importance that I'm not seeing?
Archived author: Nyeriah • Posted: 2023-01-12T01:53:22.291000+00:00
Original source
some of those includes are actually wrong as they should be in the cpp file
Archived author: Nyeriah • Posted: 2023-01-12T01:53:50.720000+00:00
Original source
they are used in the cpp file
Archived author: Nick • Posted: 2023-01-12T02:23:11.087000+00:00
Original source
That explains it! Thank you!
Archived author: Nyeriah • Posted: 2023-01-12T02:30:03.010000+00:00
Original source
I copy pasted the header from another module when I created it. Might've forgot to clean that up
Archived author: Bench • Posted: 2023-01-12T02:31:29.867000+00:00
Original source
Oof