Category: C++/Qt

Qt QProcess Tutorial

When I use Qt, I try to used or start external program from Qt. After searching in qassistant, I get a class QProcess to used or start external program from Qt. So, I try to create Qt QProcess tutorial in my post. This my Qt QProcess tutorial is basic tutorial to use QProcess in Qt.

Qt: QTableView Tutorial I

I am interesting with QTableView. I try to search QTableView tutorial, but difficult to get this tutorial. So, I try to create basic QTableView Tutorial. This is output from my first QTableView Tutorial: First, copy this text and save as main.cpp. #include <QApplication> #include "tableview.h" int main( int argc, char **argv ) { QApplication app(

C/C++ : Passing Argument

I want create program with C/C++ with passing argument feature. We can input string, integer or float from this argument input. Create a file with name main.c and paste this code : /* * main.c * * Created on: Mar 24, 2011 * Author: toto */ #include <stdlib.h> #include <stdio.h> int main(int argc, char **argv)

C/C++ : Ascii to EBCDIC Converter

Continue from my last post about Convert EBCDIC to Ascii Convert, now I try to create a program with C/C++ to convert Ascii to EBCDIC (ascii to ebcdic converter). Create a file main.c and copy this code : /* * main.c * * Created on: Mar 22, 2011 * Author: toto */ #include <stdlib.h> #include