Loading

C++ Compiling SQLCipher for Windows x64

December 19th, 2014 Comments off

Viri:

  • http://thebugfreeblog.blogspot.com/2012/08/compiling-sqlcipher-for-windows.html

  • https://github.com/CovenantEyes/sqlcipher-windows

  • http://www.jerryrw.com/howtocompile.php

Categories: C++ Tags:

The Biggest Changes in C++11 and Why You Should Care

November 30th, 2014 Comments off

The Biggest Changes in C++11 and Why You Should Care

via The Biggest Changes in C++11 and Why You Should Care.

Categories: C++ Tags:

C++ Rvalue References Explained

November 24th, 2014 Comments off
source: http://thbecker.net/articles/rvalue_references/rvalue_references.pdf
 
Introduction
Rvalue references are a feature of C++ that was added with the C++11 standard. What makes
rvalue references a bit difficult to grasp is that when you first look at them, it is not clear what
their purpose is or what problems they solve. Therefore, I will not jump right in and explain
what rvalue references are. Instead, I will start with the problems that are to be solved and
then show how rvalue references provide the solution. That way, the definition of rvalue
references will appear plausible and natural to you.
Rvalue references solve at least two problems:
Implementing move semantics
1.
Perfect forwarding
2.
If you are not familiar with these problems, do not worry. Both of them will be explained in
detail below. We'll start with move semantics. But before we're ready to go, I need to remind
you of what lvalues and rvalues are in C++. Giving a rigorous definition is surprisingly difficult,
but the explanation below is good enough for the purpose at hand.
The original definition of lvalues and rvalues from the earliest days of C is as follows: An
lvalue
is an expression
e
that may appear on the left or on the right hand side of an assignment,
whereas an
rvalue
is an expression that can only appear on the right hand side of an
Categories: C++ Tags:

Qt translation

November 19th, 2014 Comments off
Categories: Qt Tags:

CMake and Visual Studio | Cognitive Waves

November 7th, 2014 Comments off

CMake and Visual Studio

via CMake and Visual Studio | Cognitive Waves.

Categories: Malo mešano Tags:

C++ split string

November 6th, 2014 Comments off

std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) {
	std::stringstream ss(s);
	std::string item;
	while (std::getline(ss, item, delim)) {
		elems.push_back(item);
	}
	return elems;
}

std::vector<std::string> split(const std::string &s, char delim) {
	if (s.length() <= 1){
		return std::vector<std::string>();
	}
	std::vector<std::string> elems;
	split(s, delim, elems);
	return elems;
}

Categories: Malo mešano Tags:

Binding With GetObject and ADsGetObject Windows

November 3rd, 2014 Comments off

&lt;br /&gt;<br />
	IADs *pObject;<br />
	HRESULT hr;
</p>

<p>
	// Initialize COM.&lt;br /&gt;<br />
	CoInitialize(NULL);<br />
	hr = ADsGetObject(L&amp;amp;quot;LDAP://CN=jeffsmith,DC=fabrikam,DC=com&amp;amp;quot;,&lt;br /&gt;<br />
	IID_IADs,&lt;br /&gt;<br />
	(void**) &amp;amp;amp;pObject);<br />
	if(SUCCEEDED(hr))&lt;br /&gt;<br />
	{<br />
	// Use the object.<br />
	// Release the object.&lt;br /&gt;<br />
	pObject-&amp;amp;gt;Release()&lt;br /&gt;<br />
	}<br />
	// Uninitialize COM.&lt;br /&gt;<br />
	CoUninitialize();&lt;br /&gt;<br />
	

via Binding With GetObject and ADsGetObject Windows.

Categories: Malo mešano Tags: , ,

OpenCV and Matlab mex

February 28th, 2014 Comments off
Categories: Malo mešano, Matlab Tags:

What is a Taylor Series Expansion explained for a novice?

February 23rd, 2014 Comments off

What is a Taylor Series Expansion explained for a novice?

via What is a Taylor Series Expansion explained for a novice?.

Categories: Fax Tags:

Network Motifs – scale free netorks

February 7th, 2014 Comments off

Network Motifs

via Network Motifs.

 

Categories: Fax Tags:

▶ HOW TO DO THE SPLITS QUICK & EASY – YouTube

January 23rd, 2014 Comments off

HOW TO DO THE SPLITS QUICK & EASY

via ▶ HOW TO DO THE SPLITS QUICK & EASY – YouTube.

Categories: Malo mešano Tags:

Tabs Open Relative :: Reviews :: Add-ons for Firefox

January 18th, 2014 Comments off

browser.tabs.insertRelatedAfterCurrent

via Tabs Open Relative :: Reviews :: Add-ons for Firefox.

Categories: Malo mešano Tags:

WordPress › Support » ckeditor cannot upload image using add media button

November 5th, 2013 Comments off

A quick hack that fixes the problem for me and allows me to insert images with a link, in the file wp-content/plugins/ckeditor-for-wordpress/plugins/wpgallery/plugin.js, replace line 251

data = data.replace( /\([^>]+?>)(.*?)\[\/caption\]/mig, function(match, captionAttr, imgTag, captionText)

with

data = data.replace( /\(.*>)([^< ]*?)\[\/caption\]/mig, function(match, captionAttr, imgTag, captionText)

via WordPress › Support » ckeditor cannot upload image using add media button.

Categories: Malo mešano Tags:
17138 pages viewed, 0 today
11135 visits, 0 today
FireStats icon Powered by FireStats