Communities

Total Articles 180
No.
Subject
Author
120 touch for windows file
[Level:16]gilgil
69513   Mar 15, 2014
touch.zip  
119 HTTP Strict Transport Security for Chrome
[Level:16]gilgil
69305   Mar 07, 2014
http://dev.chromium.-org/sts  
118 gettimeofday function for windows
[Level:16]gilgil
69635   Feb 23, 2014
#include <windows.h> int gettimeofday(struct timeval* tv, struct timezone* tz) { static LONGLONG birthunixhnsec = 116444736000000000; /*in units of 100 ns */ FILETIME systemtime; GetSystemTimeAsFileT-ime(&sy...  
117 How to call a constructor on a already allocated memory file
[Level:16]gilgil
113237   Feb 22, 2014
[Source] #include <new> #include <VInt> #include <VDebugNew> class MyObj { public: VInt i; public: MyObj() { printf("MyObj::MyObj\n"); } virtual ~MyObj() { printf("MyObj::~MyObj\n"); } void foo() { printf("MyObj::foo...  
116 [Qt] How to create a library with Qt and use it in an application
[Level:16]gilgil
76229   Feb 18, 2014
from : http://qt-project.org/wiki/How-_to_create_a_library-_with_Qt_and_use_it_-in_an_application How to create a library with Qt and use it in an applicationIntroduct-ionThis tutorial illustrates different approac...  
115 [Qt] QByteArray::setRawData (shallow copy or deep copy?) 1 file
[Level:16]gilgil
69450   Feb 18, 2014
Is QByteArray::setRawDa-ta() , are bytes copied or not? I do now know very well the difference beteen test1() and test2() function listed below. :( [source] void test1(){ char buf[] = "abcde"; QBy...  
114 [Qt] QByteArray setRawData example file
[Level:16]gilgil
91030   Feb 17, 2014
QByteArray & QByteArray::setRawDa-ta ( const char * data, uint size )Resets the QByteArray to use the first size bytes of the data array. The bytes are not copied. The QByteArray will contain ...  
113 [Qt] QEvent example file
[Level:16]gilgil
119083   Feb 16, 2014
In working thread, you need to switch into a main thread. In this case, you can use QEvent class. [myobj.h] class MyObj : public QObject { Q_OBJECT public: bool event(QEvent* event); }; [myobj.cpp] bool...  
112 Git Data Transport Commands imagefile
[Level:16]gilgil
85794   Jan 28, 2014
from : http://blog.osteele.-com/posts/2008/05/my--git-workflow  
111 qt static build 1 imagefile
[Level:16]gilgil
70547   Nov 27, 2013
[Environment] Microsoft Windows 7 Microsoft Visual Studio 2012 64bit compiler(or 32bit compiler) Qt 5.1.1 [Required] Download and install ActivePerl (version 5.16.3 or higher) and check system path ...  
110 The static object difference between local and global file
[Level:16]gilgil
106347   Nov 21, 2013
[LocalObject] class LocalObject { static LocalObject& instance(); }; LocalObject& LocalObject::instanc-e() { static LocalObject localObject; // declared as local // --- (1) --- return localObject; // --- (2) --- } ---...  
109 qt hello world example
[Level:16]gilgil
68941   Nov 16, 2013
 
108 Network Headers
[Level:16]gilgil
69439   Nov 03, 2013
http://www.troyjessu-p.com/headers/  
107 qt configure -help (5.1.1) 1
[Level:16]gilgil
115829   Oct 23, 2013
+ cd qtbase + C:\Qt\5.1.1\qtbase\configure.bat -help Usage: configure [options] Installation options: These are optional, but you may specify install directories. -prefix <dir> ...... This will install ev...  
106 false_sharing_test
[Level:16]gilgil
69028   Oct 23, 2013
[Source Code] #include <iostream> #include <boost/date_time/posi-x_time/posix_time.hp-p> #include <boost/thread.hpp> void run(char* p, int size, int count) { boost::posix_time::p-time begTick(boost::posix-_time::microsec_cloc-...  
105 Fedora installation for Qt
[Level:16]gilgil
69109   Oct 23, 2013
Fedora installation Change display Change root login Security Update yum install gcc yum install gcc-c++ yum install make Install Qt(4.8.1) yum install libpng-compat ( for libpng12.so file ) yum install xterm ...  
104 C++ unmnamed class
[Level:16]gilgil
69523   Oct 23, 2013
class { public: int no; } obj; int main() { obj.no = 5; }  
103 20 issues of porting C++ code on the 64-bit platform
[Level:16]gilgil
69533   Oct 23, 2013
http://www.viva64.co-m/en/a/0004/  
102 qdir_test for qt
[Level:16]gilgil
69629   Oct 23, 2013
[Source Code] #include <QDir> #include <QDebug> void static_test() { qDebug() << "separator =" << QDir::separator(); qDebug() << "currentPath =" << QDir::currentPath(); qDebug() << "homePath =" << QDir::homePath(); qD...  
101 QDomNodeList foreach
[Level:16]gilgil
69590   Oct 23, 2013
[define] #define xml_foreach(node, list) \ int __i = 0; \ int __count = (list).count(); \ if (__count > 0) \ for (QDomNode node = (list).at(0); __i < __count; __i++, node = (list).at(__i)) [usage 1] ...  


XE Login