New features are added over time, so the said method probably did not exist in the older version. It’s not a good idea to use c++ from 1998 when it’s 2024. You can use a newer version to run older code (backwards compatibility) but not the other way around.
great tutorial
nice tutorial
How come when i try to use the same method of using the vector it gives me an error message because im using c++ 98?
New features are added over time, so the said method probably did not exist in the older version. It’s not a good idea to use c++ from 1998 when it’s 2024. You can use a newer version to run older code (backwards compatibility) but not the other way around.
@@KennyYipCoding Yeah I figured it out thank you my compiler for some reason was running 98 👍