Ибраги́м
Anonymous
So that they know how not to blow up
Anonymous
I like unix philosophy
BinaryByter
they ONLY know how to write code that could blow up
Anonymous
Though I run systemd distro xD
BinaryByter
I like unix philosophy
unix philosophy != enter a mine field
BinaryByter
O
Anonymous
I really dislike handhold stuffs
Anonymous
Feels like somebody spoonfeeding me xD
Ибраги́м
So that they know how not to blow up
Nope, we're trying to prevent stupidity here. If u want the thrilling life, drown your self in the ocean of Templates
BinaryByter
standard template library
Anonymous
Idris is doing very good job these days
Anonymous
Strings are immutable
Anonymous
xD
Anonymous
funct programming though
Anonymous
Kinda improved haskell
Ибраги́м
STL?
Nah that's the library. I mean Templates itself. Function Templates Class Templates Partial specialization Variadics Type traits Metaprogramming Compile-time craziness ...
Ибраги́м
...the ocean is endless
BinaryByter
I never get the couted message
BinaryByter
;_;
Roxifλsz 🇱🇹
I never get the couted message
>top 10 saddest anime moments
BinaryByter
>top 10 saddest anime moments
looks like, indeed, tape_vector is never initialized
BinaryByter
but why?
Roxifλsz 🇱🇹
but why?
Because you fucked up somewhere, obviously
BinaryByter
but where?
BinaryByter
like
Roxifλsz 🇱🇹
but where?
I have no idea what your entire codebase is like, can't comment on that
BinaryByter
this is litterally a struct and the failure is in it's constructor
Roxifλsz 🇱🇹
this is litterally a struct and the failure is in it's constructor
Struct with constructor is a thing? I thought only classes had those
BinaryByter
Struct with constructor is a thing? I thought only classes had those
C++ structs are like classes with "public" as standard accessibility
Roxifλsz 🇱🇹
C++ structs are like classes with "public" as standard accessibility
Might as well use classes then, to be explicit about members being public
BinaryByter
structs are perfect for POD
BinaryByter
besides they are capable of being modified via GCC modifiers
Roxifλsz 🇱🇹
Alright anyway, can you provide some more context of where supposedly the vector gets initialised and what does this struct of yours look like?
BinaryByter
well i'd like the vector to be initialized before the constructor
BinaryByter
and it isn't
Roxifλsz 🇱🇹
well i'd like the vector to be initialized before the constructor
Initialize it in the very top of the constructor then maybe?
BinaryByter
doesn't work
Roxifλsz 🇱🇹
I tried that already
Well as I said, you'll need to provide some more code snippets or try to figure it out yourself...
BinaryByter
well yea
BinaryByter
BinaryByter
my class
BinaryByter
(I made it a class)
BinaryByter
I get a "double free or corruption (out)" on line 117
BinaryByter
okay
BinaryByter
i'M done
BinaryByter
now i'M getting a "Bus" error
BinaryByter
WHY ME? ;_;
klimi
Because
BinaryByter
I don't even fucking care anymore
klimi
I gave up already
klimi
T.T
BinaryByter
you know what?
klimi
I will lose that contest
Anonymous
now i'M getting a "Bus" error
it depends on what you are doing
BinaryByter
you know what?
let's just leave this as is
Anonymous
I only see a "tape" struct
BinaryByter
yea
klimi
let's just leave this as is
My program is more garbage than your maxi
BinaryByter
uck
BinaryByter
tomorrow i have to go to school ,-,
Roxifλsz 🇱🇹
Tried without inline?
BinaryByter
I tried every possible thing I could
Roxifλsz 🇱🇹
yep
Fucking hell
BinaryByter
yep
klimi
;_; I will have to try to complete the program
BinaryByter
exactly
Anonymous
Tried without inline?
most likely compiler won't even consider the idea to inline
klimi
So rokas will be spammed tommorow