Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] I'm completely new to C and C++, but I know Scala, Python, Golang, Bash, Java, and R. I'm dissectin

rektbyfaith
Administrator
0
01-12-2023, 01:38 AM
#1
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?
rektbyfaith
01-12-2023, 01:38 AM #1

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?

rektbyfaith
Administrator
0
01-12-2023, 01:53 AM
#2
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
rektbyfaith
01-12-2023, 01:53 AM #2

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

rektbyfaith
Administrator
0
01-12-2023, 01:53 AM
#3
Archived author: Nyeriah • Posted: 2023-01-12T01:53:50.720000+00:00
Original source

they are used in the cpp file
rektbyfaith
01-12-2023, 01:53 AM #3

Archived author: Nyeriah • Posted: 2023-01-12T01:53:50.720000+00:00
Original source

they are used in the cpp file

rektbyfaith
Administrator
0
01-12-2023, 02:23 AM
#4
Archived author: Nick • Posted: 2023-01-12T02:23:11.087000+00:00
Original source

That explains it! Thank you!
rektbyfaith
01-12-2023, 02:23 AM #4

Archived author: Nick • Posted: 2023-01-12T02:23:11.087000+00:00
Original source

That explains it! Thank you!

rektbyfaith
Administrator
0
01-12-2023, 02:30 AM
#5
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
rektbyfaith
01-12-2023, 02:30 AM #5

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

rektbyfaith
Administrator
0
01-12-2023, 02:31 AM
#6
Archived author: Bench • Posted: 2023-01-12T02:31:29.867000+00:00
Original source

Oof
rektbyfaith
01-12-2023, 02:31 AM #6

Archived author: Bench • Posted: 2023-01-12T02:31:29.867000+00:00
Original source

Oof

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)