Dialogue Scrips for Game?

Hi! So I am making a game and I wish to add dialogue. It will only be dialogue, not where the player makes a choice in response.

I know enough C++ to make something like this that would run in a Mac terminal, or just when compiling and running a program.

However, I was wondering how I would get this into the game, and what program to write it with. I have some coding software on my Macbook Pro. Should I use the script editor that comes with Unity to make them? Or is it best to use another program and then transfer the script into the game?

If it is the second, what programs would you recomend that are C++ and available on Mac for free or low cost? And how would I compile it in a script that would work in Unity? (A link to a guide/tutorial is fine.)