Vrundesha Joshi has Published 289 Articles

C++ Standards Support in GCC

Vrundesha Joshi

Vrundesha Joshi

Updated on 11-Feb-2020 12:54:12

1K+ Views

GCC supports different dialects of C++, corresponding to the multiple published ISO standards. Which standard it implements can be selected using the -std= command-line option.C++98 − GCC has full support for the 1998 C++ standard as modified in 2003 and renamed to C++03 and some later defect reports.C++11 − GCC ... Read More

How can I profile C++ code running in Linux?

Vrundesha Joshi

Vrundesha Joshi

Updated on 11-Feb-2020 10:28:25

988 Views

There are many great profiling tools for profiling C++ programs on Linux. The most widely used tool is Valgrind. It is a programming tool for memory debugging, memory leak detection, and profiling. You can use valgrind by passing the binary to it and setting the tool to callgrind. First generate ... Read More

Equality Operators: == and != in C++

Vrundesha Joshi

Vrundesha Joshi

Updated on 11-Feb-2020 05:58:08

843 Views

The equality operators in C++ are is equal to(==) and is not equal to(!=). They do the task as they are named. The binary equality operators compare their operands for strict equality or inequality. The equality operators, equal to (==) and not equal to (!=), have lower precedence than the ... Read More

What is Pointer operator * in C++?

Vrundesha Joshi

Vrundesha Joshi

Updated on 10-Feb-2020 13:32:01

3K+ Views

C++ provides two pointer operators, which are Address of Operator (&) and Indirection Operator (*). A pointer is a variable that contains the address of another variable or you can say that a variable that contains the address of another variable is said to "point to" the other variable. A ... Read More

HTML5 drag and drop will not drop

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jan-2020 06:52:23

510 Views

It is because there is no dragover event handler; however, default event handler of dragover event is used. After that, no drop event is triggered.e.preventdefault is needed for dragover event before drop event.If you want to allow a drop, then default handler is prevented for canceling the event. This can ... Read More

What MySQL returns if I use enclosed set of unit values with INTERVAL keyword?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jan-2020 05:19:14

107 Views

In this case, MySQL will take into consideration the first value out of two provided in the enclosed set of unit values. It will return the output along with warning after calculating the interval, based on the considered value from an enclosed set, on the unit given in INTERVAL keyword. The ... Read More

Example of createSignalingChannel() in HTML5

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 10:12:57

140 Views

Web RTC required peer-to-peer communication between browsers. This mechanism required signalling, network information, session control and media information. Web developers can choose different mechanism to communicate between the browsers such as SIP or XMPP or any two way communications. An example of createSignalingChannel():var signalingChannel = createSignalingChannel(); var pc; var configuration ... Read More

innerHTML adds text but not HTML tags

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 08:18:47

222 Views

Maybe, you are using += with innerHTML. Try the following:var myNum = [1,2,3]; var myStr; myStr = ""; for( var a in myNum) myStr += "" + a + ""; myStr += ""; id("numberList").innerHTML = myStr;

Example of Event Handlers in HTML5 CORS

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 07:27:21

186 Views

Cross-origin resource sharing (CORS) is a mechanism to allows the restricted resources from another domain in a web browserFor suppose, if you click on HTML5- video player in html5 demo sections. It will ask camera permission. If the user allows the permission then only it will open the camera or ... Read More

Filter gray image, black around png in Internet Explorer 8

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 06:27:59

135 Views

The filters to be applied must be formed in a single filter call. Set like this:progid : DXImageTransform.Microsoft.BasicImage(grayscale = 1)The CSS should work like the following:.demo {    background: transparent;    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = #00FFFFFF,endColorstr = #00FFFFFF)    progid:DXImageTransform.Microsoft.BasicImage(grayscale = 1)"; /* IE8 */    zoom: 1; }

Previous 1 ... 6 7 8 9 10 ... 29 Next
Advertisements