The bool
type is one of the c++ fundamental data type , a fundamental data type has a cpu hardware mapping .
The bool
type is used for boolean values . A boolean value is the result of a … Read More
The bool
type is one of the c++ fundamental data type , a fundamental data type has a cpu hardware mapping .
The bool
type is used for boolean values . A boolean value is the result of a … Read More
A symbol is an atom , an atom is everything which is not a cons . A list is anything which is enclosed by parenthesis .
(1 2 3 ) (defun square(num ) (* num num ) ) ;;;Two… Read More
When compiling C++ files using cc
, you might face an error of :
/*Error output under macOS .*/ Undefined symbols for architecture x86_64: "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from: std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned… Read More
When compiling a java file you might face an error of :
error: package org.apache.http does not exist
Just download the Apache HttpComponents , and select the appropriate version . For example the HttpClient 5.0.3
version , or the … Read More
To capture and select images or videos , using cordova , the plugin cordova-plugin-camera can be used .
$ cordova create demo-camera com.twiserandom.mobileapps.demo.camera "Demo Camera" # Create an application , in a folder named # demo-camera , with an… Read More
There are two plugins to get battery status using Cordova, the first one is called phonegap-plugin-battery-status , and the second one is cordova-plugin-battery-status .
The phonegap-plugin-battery-status
plugin is deprecated , but it is still working .
It can … Read More
The storage classes in C++ are : auto
, static
, extern
, mutable
, register
, and thread_local
. They are used in declarations to specify how a definition takes place .
Definition for a variable , is … Read More
A scope is where an identifier is declared , it can be thought of , as containing a list of identifiers . There are multiple scopes in C++
, hence multiple places , where … Read More