I am a beginner in C++ coding. Now I am making a little text based game and i need to do a loading screen. I've kind of made one but i want to fill it with this shape ■. What i know is that the ascii code for it is "\u25A0".
The code looks like that.

#include <iostream>
using namespace std;

int main ()
{
    cout << "                                LOADING", _sleep(300), cout << " .", _sleep(300), cout << " .", _sleep(300), cout << " ." << endl;
    cout << "                     [";
    for (int a = 1; a<30; a++) 
    {
        _sleep(200);
        cout << "■";
    }
    cin.sync(); cin.ignore();
    _sleep(200);
    cout << "]" << endl;

    return 0;
}

A good start but is there a question or are you asking folk to run this code and see if it works?