How to add variables to char array [C++]
Go to solution
Solved by BuckGup,
4 minutes ago, Sauron said:If you can't use std::cout without breaking things there's something seriously wrong with your toolchain... try fixing that. There's no point in looking for hacks when you'll probably face other issues down the line anyway.
You should really be using strings or at least C++ native arrays or vectors rather than C style arrays.
I just realized I was compiling with gcc not g++ this whole time... damn well that explains a lot of the errors I was getting and working around.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now