« first day (3047 days earlier)
← previous day
next day →
last day (1989 days later) »
The Mattbat999
3:01 AM
@Almo reminds of Endor from Star Wars. The little short teddy bear lookin guys lived up in those thingied
Except the forest lacked that lake
14 hours later…
user92578
4:38 PM
at first I was like "CTAD is awesome", but now I'm like "eh, I could definitely do without this"
user92578
it's fucking up my default template parameters which I would like not to happen :(
user92578
hmm so looks like there is a workaround, like using
std::common_type<T>::type
, which cannot be deduced
Gabriele Vierti
6:26 PM
I'm using C for the first time
didn't know
bool
had to be included by "stdbool.h"
user92578
bool was only added to the language in C99
user92578
C is a lot of work
Gabriele Vierti
yeah
that tells you how much experience i have with it
:D
C is useful if you are making a library, it makes integration with other languages a bit easier
Gabriele Vierti
7:11 PM
reminds me of GLFW :D
also it seems that pointers in c get treated as regular variables, which is kind of cool
user92578
as opposed to..?
Gabriele Vierti
8:57 PM
@Tyyppi_77 I meant to say that in C you don't explicitly need to delete pointers
which is pretty neat :)
user92578
9:20 PM
@GabrieleVierti you mean free the memory you have mallocced? that's not true
Gabriele Vierti
9:33 PM
you are right, my bad!
Almo
If you approach C lightly, it will bite the shit out of you. :)
@TheMattbat999 Yeah. :) It's a shot from Myst.
Pikalek
10:27 PM
@GabrieleVierti Aside from someone else's API, why would you need
bool
in C?
Almo
so you can use
if(var == true)
sometimes true/false is easier to read than 0/1
that's all I can think of at the moment
doesn't appear to do anything clever under the hood
wait
that was for C++
Also, looks like
bool
was not added to C until the '99 standard.
« first day (3047 days earlier)
← previous day
next day →
last day (1989 days later) »
all rooms
Transcript for
Dec
6
Dec '18
8
Dec
9
Game Development
Game development and other polite discussion. Game development...
3
game-design
game-industry
rubber-ducks
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile