#How to call base class constructor from sub class constructor?

35 messages · Page 1 of 1 (latest)

empty wigeon
#

Please help. I don't know why I get this error.

lunar leafBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

runic tinsel
#

whats the error that it gives

#

@empty wigeon

#

when u hover over the red underline

empty wigeon
#

oh I fixed it

#

now I'm trying to initialize an array

runic tinsel
#

where are u learning c++ btw @empty wigeon

empty wigeon
#

the internet

#

self taught

runic tinsel
#

i dont think u can make an array declaration as an argument

#

i mean what resources on the internet btw

empty wigeon
#

can I do (arr){a,b,c,d}

#

C++ textbook I own, The Cherno, geeksforgeeks, w3schools

#

stack overflow

runic tinsel
#

ohh alr

empty wigeon
#

right now I'm making a game development tool kit of sorts

runic tinsel
#

cuz i want to try and become better

#

oh nice

#

which one do u find to be the most useful

#

which have u used the most

empty wigeon
#

idk I'm using raylib library

#

its way simpler than sdl imo

runic tinsel
empty wigeon
#

whatever comes up on search engine

#

or im watching atm

runic tinsel
#

okay

#

ill try w3schools maybe

empty wigeon
#

why your supposed to be the one answering the forum lol

runic tinsel
#

i just want to get better also

#

i dont know that much lol

faint wyvern
empty wigeon
#

solution was to initialize private var then use that in base constructoir

#

!solved