Hello all! I still consider myself a beginner in programming and so I assumed this question was best posted in the beginner's forum.
Currently I am working through the book: Sam's teach yourself C++ in 24 hours.
So far throughout the course I've been instructed to create console application programs, so they only run in the Command prompt window. I've been having a lot of fun with it and I've been learning tons of awesome new things. However I am wondering how you would write a program which has a Graphical User Interface. So instead of mere text on the black command prompt window I would like to make programs with colors, buttons, animations and so on. I wouldn't know where to start in the pursuit of this however. So how would I go about writing programs with these capabilities? Thanks in advance!
#include <nana/gui/wvl.hpp>
#include <iostream>
void clicked(const nana::arg_click & eventinfo)
{
std::cout<< "When the window fm is clicked, this function is called. \n";
}
int main()
{
usingnamespace nana;
form fm;
fm.events().click(clicked);
fm.show();
exec( );
}