Communities

Total Articles 180
No.
Subject
Author
80 [qt][android] how to run app in command line
[Level:16]gilgil
79368   Nov 02, 2014
If project name is "untitied", you can run android application in the following command. adb shell am start -n org.qtproject.exampl-e.untitled/org.qtpro-ject.qt5.android.bin-dings.QtActivity  
79 Difference between exit() and _exit() file
[Level:16]gilgil
79306   Mar 15, 2010
[Question]Guess the result of the following codes. class Object { public: string name; Object(const string name) { this->name = name; cout << "Object::Object " << name << endl; } virtual ~Object() {...  
78 Sound Processing Library(soundtouch)
[Level:16]gilgil
79278   Jun 09, 2011
http://www.surina.ne-t/soundtouch  
77 How to overload new and delete operator in C++
[Level:16]gilgil
79276   Sep 03, 2011
[debug_new.h] #ifndef __DEBUG_NEW_H__ #define __DEBUG_NEW_H__ #include <malloc.h> #include <stdio.h> void* operator new(size_t size) { void* res = malloc(size); printf("void* operator new(size_t size) %u %p\n", s...  
76 qt-everywhere-4.8.4-configure 1 file
[Level:16]gilgil
79145   May 03, 2013
Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKESPEC environment variable and run configure again See the README file for a list of supported op...  
75 Event for boost
[Level:16]gilgil
79113   Sep 23, 2011
[Header] #include <boost/interprocess/s-ync/scoped_lock.hpp&-gt; #include <boost/thread/conditi-on.hpp> #include <boost/thread/mutex.h-pp> // ---------------------------------------------------------------------------- // Event // ---------------...  
74 [c++] cpp_virtual_function_and_assembly file
[Level:16]gilgil
79094   Jan 19, 2016
[2016.01.19] cpp_virtual_function-_and_assembly_201601-19.tar.gz  
73 [linux] pipe_test file
[Level:16]gilgil
79050   Dec 23, 2014
pipe_test.tar.gz  
72 [c++] Definitions of destructor
[Level:16]gilgil
79036   Jan 16, 2016
from : http://mentorembedde-d.github.io/cxx-abi/abi.html base object destructor of a class T A function that runs the destructors for non-static data members of T and non-virtual direct base classes of T. c...  
71 [Qt] How to create a library with Qt and use it in an application
[Level:16]gilgil
78857   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...  
70 Be careful when you receive return value as reference or pointer type. file
[Level:16]gilgil
78437   Oct 24, 2011
[Source] MyInt foo() { MyInt a(1000); return a; } MyInt& ref_foo() { MyInt a(2000); return a; } MyInt* ptr_foo() { MyInt a(3000); return &a; } void foo_test() { printf("\n-------- foo test --------\n"); { MyInt b ...  
69 Running specific test units selected by their name 1 image
[Level:16]gilgil
78316   Sep 02, 2011
> The Unit Test Framework > User's guide > Runtime configuration > Run by name Running specific test units selected by their name In regular circumstances test module execution initiates testing of a...  
68 An efficient way to pass a big-sized string into a function. file
[Level:16]gilgil
77952   May 06, 2010
Suppose that there exists a big-sized string, and I would pass this string variable into a specific function. What will be the best way for speed? [Test] 1. Make 10,000,000 byte length string varia...  
67 C++ examples (example source code)
[Level:16]gilgil
77886   May 02, 2010
http://www.java2s.co-m/Code/Cpp/CatalogCp-p.htm  
66 How to demangle class name using boost 2 file
[Level:16]gilgil
77425   Aug 31, 2011
[Source] #include <boost/units/detail/u-tility.hpp> #include <iostream> #include <typeinfo> namespace bud = boost::units::detail-; using namespace std; namespace ns { class MyClass {}; struct MyStruct {}; } void test() { cout << "i...  
65 [qt] How to add debug info in a project.
[Level:16]gilgil
77246   Aug 03, 2016
It add "-g" option in compiling a project. CONFIG += force_debug_info  
64 Difference between MSVC and CBuilder when writing static data area file
[Level:16]gilgil
77229   Mar 26, 2010
Guess the result of following code. void test1() { char str[] = "hello"; // string copy. printf("%s\n", str); *str = 'H'; // copied data would be changed. } void test2() { char* str = "world"; ...  
63 How to get real public IP on VPN host moviefile
[Level:16]gilgil
76885   Mar 27, 2010
 
62 How to use property code in C++
[Level:16]gilgil
76399   Apr 05, 2012
To enhahce code readibility, C++ programmers sometime prefer property code(getter, setter) to access member function. Here is a sample code. class Person { protected: int m_age; public: __declspec(property (get...  
61 Object parameter and Object return file
[Level:16]gilgil
76335   Sep 13, 2011
[Class] class String { public: // // constructor // String() { cout << this << "::constructor() "; } String(char* p) { cout << this << "::constructor(char*)- "; } String(const char* p) { cout << this << "::constr...  


XE Login