Communities

Total Articles 117
No.
Author
57 Tip&Tech Running specific test units selected by their name 1 image
[Level:12]gilgil
18863   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...  
56 Tip&Tech How to demangle class name using boost 2 file
[Level:12]gilgil
19635   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...  
55 Tip&Tech How to remove ^M from file
[Level:12]gilgil
18175   Aug 29, 2011
In vi editor, do the following: :g/^M/s/// ^M has to be entered with the key strokes "ctrl-v followed by ctrl-m".  
54 Tip&Tech How to remove folders recursively
[Level:12]gilgil
18247   Aug 27, 2011
[Linux] find . -name .svn -exec rm -rf {} \; [Windows] for /d /r . %d in (.svn) do @if exist "%d" rd /s/q "%d" However, you can use my tool "rm_folder". http://www.gilgil.ne-t/9075  
53 Tip&Tech malloc_test file
[Level:12]gilgil
17846   Aug 15, 2011
[Source code] #include <list> #include <stdlib.h> #include <stdio.h> void usage() { printf("malloc test made by gilgil\n"); printf("syntax : malloc_test <count> <size1> <size2> ... \n"); printf("example : malloc_test 10 ...  
52 Tip&Tech Default STL Allocator
[Level:12]gilgil
18966   Aug 15, 2011
template<typename T> struct Allocator : public std::allocator<T> { Allocator() { } template<class Other> Allocator( const Allocator<Other>& _Right ) { } inline typename std::allocator<T>::pointer allocate(t...  
51 Tip&Tech cache test file
[Level:12]gilgil
18087   Aug 10, 2011
.. cache test source code files.cache.zip  
50 Tip&Tech How to measure time difference
[Level:12]gilgil
18857   Aug 10, 2011
[Windows] #include <windows.h> DWORD begTick = GetTickCount(); foo(); DWORD endTick = GetTickCount(); printf("%d\n", endTick - begTick); [Linux] #include <sys/time.h> struct timeval begTick; gettimeofday(&begTic...  
49 Tip&Tech Add make option in bashrc file(Ubuntu)
[Level:12]gilgil
19030   Aug 08, 2011
In linux, when you make cpp project, you might have a case that you are always forced to set default include path and default library path. This is a quick tip for you to solve this problem. original ...  
48 Tip&Tech Write floating point variable information with sign, exponent and significand. 1 file
[Level:12]gilgil
20110   Jul 26, 2011
[Source Code] #include <iostream> #include <string> typedef unsigned int uint32; std::string tobin(int significand) { std::string res = (significand == 0) ? "1" : "1."; int mask = 0x00400000; while (significand ...  
47 Tip&Tech How to disable other adapters on Windows
[Level:12]gilgil
18306   Jun 29, 2011
netsh interface isatap set state disabled netsh interface teredo set state disabled netsh in 6to4 set state disable  
46 Tip&Tech boost serialize example file
[Level:12]gilgil
19566   Jun 10, 2011
Person.h #ifndef PersonH #define PersonH #include <string> // for std::string #include <boost/serialization/-access.hpp> class Person { public: Person(); public: int age; bool sex; std::string name; private: friend class ...  
45 Tip&Tech Sound Processing Library(soundtouch)
[Level:12]gilgil
18508   Jun 09, 2011
http://www.surina.ne-t/soundtouch  
44 Free Photoshop on the web
[Level:12]gilgil
22100   Jun 07, 2011
http://pixlr.com/edi-tor  
43 Tip&Tech How to make soft AP on Windows7
[Level:12]gilgil
19726   May 07, 2011
[install] netsh wlan set hostednetwork mode=allow "ssid=gilgil" "key=1234567890" keyUsage=persistent [uninstall] netsh wlan set hostednetwork mode=disallow [start] netsh wlan start hostednetwork [stop] netsh ...  
42 Tip&Tech Network Device Icon ( iconworld_ppt_090313.ppt ) file
[Level:12]gilgil
18484   Jun 18, 2010
from : Siemens  
41 Tip&Tech An efficient way to pass a big-sized string into a function. file
[Level:12]gilgil
18409   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...  
40 Free SSLStrip for Windows Demonstration 2 imagemoviefile
[Level:12]gilgil
41555   May 04, 2010
These are video clips of SSLStrip for Windows demonstration. This application(SSLStrip-.exe) will be released sooner or later(for educational purpose only). [paypal.com and openweb.or.kr with Mo...  
39 Tip&Tech C++ examples (example source code)
[Level:12]gilgil
18282   May 02, 2010
http://www.java2s.co-m/Code/Cpp/CatalogCp-p.htm  
38 Tip&Tech The difference between global and static objects in run time file
[Level:12]gilgil
18295   Apr 21, 2010
I do not know the difference between global and static objects execution so far. They differ a little in run time. [Code] class Object { public: char* name; Object(char* name) { printf("Obje...  


XE Login