I've got two weird c++ problems

I’m making a game in workspaces but two things are wrong. First, whenever I use std::cin and compile the code, it just skips over that line completely and sets whatever I assigned the std::cin to just sets to blank. Second, I’m trying to use ANSI but its just printing white no matter what I make the color. Does anyone know how to fix either of those?

most of the Codecademy workspaces can’t handle user input, so std::cin probably won’t work right in the workspace.

2 Likes

thanks _____________________________________________