Like does this not work? ```cpp Layer::Layer(int size = 0, float bias = 0.0f) { this->neurons =
Like does this not work?
12 Replies
It does, but the bias is still used if it's 0, as opposed to undefined
Then I'm not sure you can really simplify it down
But try this and see if it works, I don't actually have access to your code to try and run it but here ya go
Makes use of member initialization
bro wtf

Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
well thats the stupid thing
its thinking im creating a new array with a size of 0
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i should...
let me check
there is very much an array already named argv
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
huh that's weird 😂 can you send the code for context? 😅
the parameters are passed in from the main functino
Also, i think its important im compiling with
-Wpedantic
can't you just do
..path(*argv).filename
though? :Di dont think so