Communities

Total Articles 180
No.
Subject
Author
100 Change qmake.conf according to your MSVC 2008
[Level:16]gilgil
84866   Nov 21, 2011
[location] C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\mkspecs\win32-msvc2008\qmake.conf C:\Qt\4.7.4\mkspecs\win32-msvc2008\qmake.conf [changed] QMAKE_CC = cl QMAKE_LEX = flex QMAKE_LEXFLAGS = QMAKE_YACC = byacc QMA...  
99 Write floating point variable information with sign, exponent and significand. 1 file
[Level:16]gilgil
84735   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 ...  
98 Compiler Directive
[Level:16]gilgil
84481   Oct 17, 2011
/ ---------------------------------------------------------------------------- // Compiler Version // ---------------------------------------------------------------------------- /* __BORLANDC__ 0x0520 for C++Builder 1 0x0530 for C++Builder...  
97 Single precision floating-point format 1 file
[Level:16]gilgil
83840   Nov 08, 2011
[Source] // // Single precision floating-point format // // http://en.wikipedia.-org/wiki/Single_prec-ision_floating-point_format // // ---------+------------------+-------------------------+--------------------------------------------------...  
96 [ssl] How to install root certificate
[Level:16]gilgil
83694   Aug 05, 2015
sudo mkdir /usr/share/ca-certificates/extra sudo cp root.crt /usr/share/ca-certificates/extra sudo dpkg-reconfigure ca-certificates  
95 Does getsockname API return its correct local IP address during TCP connecting state? file
[Level:16]gilgil
83662   Apr 14, 2010
[Question] 1. Bind remote IP and remote Port(do not bind local IP and local Port) on TCP client socket handle. 2. Call "connect" API. 3. On the other thread after "connect" API is called,...  
94 make -t file
[Level:16]gilgil
83596   Sep 23, 2011
$ 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 warranty; not even for MERCHANT...  
93 [network] libnl example
[Level:16]gilgil
82942   Nov 14, 2014
http://src.carnivore-.it/users/common/nla-ddrs/tree/nladdrs.c  
92 [linux] remote packet capture
[Level:16]gilgil
82830   Aug 15, 2016
sshpass -p toor ssh -l root 10.1.1.12 tcpdump -nn -U -s0 -w - -i tap0 'not port 22' | wireshark -k -i - http://stackoverflow-.com/questions/19597-903/how-to-capture-remote-system-network-traffic  
91 The difference between global and static objects in run time file
[Level:16]gilgil
82338   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...  
90 Virtual function call in constructor and destructor in C++ file
[Level:16]gilgil
82057   Mar 13, 2010
See the following source code. Constructor, destructor and foo function contain the same codes. { foo(); // general function v_foo(); // virtual function } But they produce a little different assembly...  
89 voidrealms
[Level:16]gilgil
81433   Nov 28, 2011
http://www.voidrealm-s.com/  
88 [ubuntu] How to disable checksum offload
[Level:16]gilgil
81183   Oct 21, 2015
http://ubuntuforums.-org/showthread.php?t=2028534 sudo ethtool -K eth0 tx off rx off  
87 [linux] network configuration(change device name)
[Level:16]gilgil
79827   Dec 01, 2016
You can change the device name by defining the name manually with an udev-rule. For example: /etc/udev/rules.d/10--network.rulesSUBSYST-EM=="net", ACTION=="add", ATTR{address}=="aa:bb:cc:dd:ee:ff&qu-ot;, NAME="net1"...  
86 How many instances of template static member exist? file
[Level:16]gilgil
79821   Mar 07, 2010
[Question] How many instances of template static member exist? Guess the result of the following code. (1) 3 3 3 (2) 1 2 3 #include <stdio.h> template <class T> class TemplateObject { public: stati...  
85 boost library link test in mingw file
[Level:16]gilgil
79684   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...  
84 [qt] How to run qmake in command line
[Level:16]gilgil
79373   Sep 16, 2015
cd /usr/lib/x86_64-linux-gnu/qtchooser sudo touch default.conf sudo gedit default.conf /opt/Qt/5.7/gcc_64/b-in /opt/Qt/5.7/gcc_64/l-ib  
83 [qt] .gitignore file for Qt file
[Level:16]gilgil
79187   Feb 22, 2016
[How to create .ignore file for qt] Qt Creator - File - New - Non Qt Project - Plain C++ Application - Add to version control(Git) # This file is used to ignore files which are generated...  
82 Wireshark 802.11 Display Filter Field Reference file
[Level:16]gilgil
79036   Nov 22, 2016
http://www.willhackf-orsushi.com/papers/8-0211_Pocket_Referenc-e_Guide.pdf 80211_Pocket_Referen-ce_Guide.pdf  
81 How to overload new and delete operator in C++
[Level:16]gilgil
79023   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...  


XE Login