Vrundesha Joshi has Published 345 Articles

C++ Standards Support in GCC

Vrundesha Joshi

Vrundesha Joshi

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

892 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

786 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

What is Bitwise OR in C++?

Vrundesha Joshi

Vrundesha Joshi

Updated on 11-Feb-2020 07:31:31

104 Views

The bitwise OR operator (|) compares each bit of first operand to the corresponding bit of second operand. If either bit is 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0. Both operands to the bitwise inclusive OR operator must be ... Read More

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

Vrundesha Joshi

Vrundesha Joshi

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

627 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

What does an auto keyword do in C++?

Vrundesha Joshi

Vrundesha Joshi

Updated on 10-Feb-2020 12:27:39

7K+ Views

Auto was a keyword that C++ "inherited" from C that had been there nearly forever, but virtually never used. All this changed with the introduction of auto to do type deduction from the context in C++11. Before C++ 11, each data type needs to be explicitly declared at compile time, ... Read More

What MySQL returns if I insert invalid value into ENUM?

Vrundesha Joshi

Vrundesha Joshi

Updated on 30-Jan-2020 07:34:53

513 Views

If strict SQL mode is disabled and we insert invalid value (which is not in the list of permitted enumeration values) into ENUM then MySQL will insert an empty string instead of throwing an error. But if strict SQL mode is enabled then MySQL throws an error on inserting invalid ... Read More

HTML5 drag and drop will not drop

Vrundesha Joshi

Vrundesha Joshi

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

363 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

48 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

97 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

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