Some Advice Ubuntu
I'm looking to make a few simple programs for Ubuntu, they will just be used by myself and given free to anyone who wants them.
They won't be require a great deal of speed/power.
The main functionality is simply opening, writing text files and sending emails.
Qt seems to have a lot of options...
I did C++ for a few months but found it too difficult and gave up, so would sooner avoid C++ although I did look at C++ with QT examples and it does look far easier.
I also noticed the HTML5 option, if I use this where can I find the functions I need for sending email and opening/writing text files?
File operations and sending emails is best handled by the C++ part. HTML5 and QML (the new UI framework) is focused on the GUI. I'm not saying it can't be done in JS, though.
As usual, I recommend 2 books: the old-but-great "link":https://qt-project.org/books/view/c_gui_programming_with_qt_4_2nd_edition_the_official_c_qt_book and a new one "link":http://qmlbook.org/. Also, Qt documentation is superb, so I advise to take a look into it. Don't be afraid of the C++ in Qt, it is made much easier by various enhancements that Qt brings with itself.
While I understand C++ would be far faster and better, I'm really just trying to make a few simple applications for my own use because they don't exist on Ubuntu so I have to switch to windows.
It really doesn't matter if the application is less efficient.
Check out the SameGame example: it does everything in JS, or at least it used to.
You might be able to import "Node.js":http://nodejs.org/docs/latest/api/fs.html to do this, but I've never tried it with QML. Give it a shot, and let us know how you go :)
Anyway, to write to a text file in C++:
myFile.open(QFile::WriteOnly | QFile::Text);
You are right that is very easy, maybe I could use C++ with Qt when I tried to learn C++ all the memory stuff was just too hard.