Skip to content
Register
English
Select Language
한국어
中文(中国)
日本語
Español
Русский
Français
中文(臺灣)
Home
Downloads
Communities
Communities(KR)
Test
Search
Communities
Total Articles
180
Join
Login
How to fix stdio buffering
gilgil
http://www.gilgil.net/?document_srl=789931
2014.10.20
09:47:48 (*.111.62.249)
86341
http://www.perkin.org.uk/posts/how-to-fix-stdio-buffering.html
You would..
List
No.
Subject
Author
Views
Votes
Date
120
Object parameter and Object return
gilgil
76442
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...
119
How to use property code in C++
gilgil
76500
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...
118
How to get real public IP on VPN host
gilgil
77005
Mar 27, 2010
117
Difference between MSVC and CBuilder when writing static data area
gilgil
77374
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"; ...
116
How to demangle class name using boost
2
gilgil
77639
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...
115
C++ examples (example source code)
gilgil
78003
May 02, 2010
http://www.java2s.co-m/Code/Cpp/CatalogCp-p.htm
114
An efficient way to pass a big-sized string into a function.
gilgil
78055
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...
113
[qt] How to add debug info in a project.
gilgil
78073
Aug 03, 2016
It add "-g" option in compiling a project. CONFIG += force_debug_info
112
Running specific test units selected by their name
1
gilgil
78412
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...
111
Be careful when you receive return value as reference or pointer type.
gilgil
78598
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 ...
110
Event for boost
gilgil
79210
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 // ---------------...
109
qt-everywhere-4.8.4-configure
1
gilgil
79213
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...
108
[linux] pipe_test
gilgil
79216
Dec 23, 2014
pipe_test.tar.gz
107
Sound Processing Library(soundtouch)
gilgil
79409
Jun 09, 2011
http://www.surina.ne-t/soundtouch
106
How to overload new and delete operator in C++
gilgil
79419
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...
105
Difference between exit() and _exit()
gilgil
79482
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() {...
104
[qt][android] how to run app in command line
gilgil
79584
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
103
[c++] cpp_virtual_function_and_assembly
gilgil
79789
Jan 19, 2016
[2016.01.19] cpp_virtual_function-_and_assembly_201601-19.tar.gz
102
[c++] Definitions of destructor
gilgil
79904
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...
101
boost library link test in mingw
gilgil
80119
Oct 14, 2011
[mingw version] [g++ version] $ g++ --version g++.exe (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warran...
List
Write
First Page
1
2
3
4
5
6
7
8
9
Last Page
Subject
Content
Subject+Content
Comment
User Name
Nick Name
User ID
Tag
Search
Cancel
Home
Profile
Contact
Links
Downloads
Communities
Communities(KR)
Test
Close Login Layer
XE Login
User ID
Password
Keep me signed in
Join
Find Account Info
인증 메일 재발송
Close Login Layer