Articles on Trending Technologies

Technical articles with clear explanations and examples

Why does C++ have header files and .cpp files?

George John
George John
Updated on 30-Jul-2019 3K+ Views

C++ has header and .ccp files for separating the interface from the implementation. The header files declare "what" a class (or whatever is being implemented) will do, ie the API of the class, kind of like an interface in Java. The cpp file on the other hand defines "how" it will perform those features, ie, the implementation of these declared functionality.This reduces dependencies. The code that uses the header doesn't need to know all the details of the implementation and any other classes/headers needed only for that. It just needs to focus on things it is trying to implement. This ...

Read More

Use of Statistics service in SAP HANA

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 728 Views

In SAP HANA system, you use statistics serve as a key to internal monitoring infrastructure. You will be notified when a critical alert raised in your HANA environment and you can also get all the historical monitoring data for analysis.Statistical Server is responsible for collecting the data related to system resources, their allocation, and consumption of the resources and overall performance of HANA system.For more details, you can refer our SAP HANA core architecture topichttps://www.tutorialspoint.com/sap_hana/sap_hana_core_architecture.htm

Read More

What is a "translation unit" in C++

Srinivas Gorla
Srinivas Gorla
Updated on 30-Jul-2019 3K+ Views

A translation unit is any preprocessed source file.A translation unit is the basic unit of compilation in C++. This unit is made up of the contents of a single source file after it passes through preprocessing. It contains included any header files without blocks that are ignored using conditional preprocessing statements like ifdef, ifndef, etc.A single translation unit can be compiled into an object file, library, or executable program.

Read More

What is the difference between Java and Core Java?

radhakrishna
radhakrishna
Updated on 30-Jul-2019 1K+ Views

Java is a programming language, whereas Core Java is a computing platform. Java Platform Standard Edition is Core Java, which is also called Java SE. The following are the computing following supported by Java, which also has Core Java as its part:Java SE Java Standard Edition used to develop desktop applications. A well-known implementation of Java SE is the Java Development Kit (JDK).Java EE Java Enterprise Edition i.e. Java 2 Platform, Enterprise Edition or J2EE. Java EE is used for applications running on servers. Java ME Java Micro Edition is used for applications running on mobile phones.Java SE is the Standard Edition and also ...

Read More

Why do we use restrict qualifier in C++?

Abhinanda Shri
Abhinanda Shri
Updated on 30-Jul-2019 346 Views

There's no such keyword in C++. List of C++ keywords can be found in section 2.11/1 of C++ language standard. restrict is a keyword in the C99 version of C language and not in C++.In C, A restrict-qualified pointer (or reference) is basically a promise to the compiler that for the scope of the pointer, the target of the pointer will only be accessed through that pointer (and pointers copied from it).C++ compilers also support this definition for optimization purposes, but it is not a part of the official language specification.

Read More

How can we add a FOREIGN KEY constraint to the field of an existing MySQL table?

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 2K+ Views

We can add a FOREIGN KEY constraint to a column of an existing MySQL table with the help of ALTER TABLE statement. Syntax ALTER TABLE table_name ADD FOREIGN KEY (colum_name) REFERENCES table having Primary Key(column_name); Example Suppose we want to add a FOREIGN KEY constraint on the table ‘Orders1’ referencing to the table ‘Customer’ which have column ‘Cust_Id’ as the Primary Key. It can be done with the help of the following query − mysql> Alter table orders1 add FOREIGN KEY(Cust_id) REFERENCES Customer(Cust_id); Query OK, 0 rows affected (0.21 sec) Records: 0  Duplicates: 0  Warnings: 0   mysql> ...

Read More

What happens to MySQL temporary tables if MySQL session is ended?

seetha
seetha
Updated on 30-Jul-2019 204 Views

Temporary table would be deleted if MySQL session terminates. After login again, on issuing the SELECT command we will find no data available in the database. Even our temporary table will not exist.

Read More

The auto storage class in C++

Jennifer Nicholas
Jennifer Nicholas
Updated on 30-Jul-2019 300 Views

In C, The auto storage class specifier lets you explicitly declare a variable with automatic storage. The auto storage class is the default for variables declared inside a block. A variable x that has automatic storage is deleted when the block in which x was declared exits.You can only apply the auto storage class specifier to names of variables declared in a block or to names of function parameters. However, these names by default have automatic storage. Therefore the storage class specifier auto is usually redundant in a data declaration.It was initially carried over to C++ for syntactical compatibility only, ...

Read More

How do we compare String in Java

Giri Raju
Giri Raju
Updated on 30-Jul-2019 315 Views

https://www.tutorialspoint.com/javaexamples/string_compare.htm

Read More
Showing 60981–60990 of 61,297 articles
Advertisements