Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Srinivas Gorla
Page 4 of 5
Why do we use const qualifier in C++?
We use the const qualifier to declare a variable as constant. That means that we cannot change the value once the variable has been initialized. Using const has a very big benefit. For example, if you have a constant value of the value of PI, you wouldn't like any part of the program to modify that value. So you should declare that as a const.Objects declared with const-qualified types may be placed in read-only memory by the compiler, and if the address of a const object is never taken in a program, it may not be stored at all. For ...
Read MoreHow can I export values based on some conditions from MySQL table into a file?
We can use the conditions in WHERE clause while exporting the data from MySQL table to a file. It can be understood with the help of an example −ExampleSuppose we are having following data from table ‘Student_info’ −mysql> Select * from Student_info; +------+---------+------------+------------+ | id | Name | Address | Subject | +------+---------+------------+------------+ | 101 | YashPal | Amritsar | History | | 105 | Gaurav | Chandigarh | Literature | | 125 | Raman | Shimla | Computers | | 130 | Ram | Jhansi | ...
Read MoreWhat is the proper way to retrieve the value stored in INT column as MySQL TIMESTAMP?
We can use FROM_UNIXTIME() function to retrieve the value, as MySQL TIMESTAMP, stored as INT in the column of a table.For example, we have a table called ‘test123’ which has a column named ‘val1’. In this column, we stored the integer values as follows −mysql> Select * from test123; +------------+ | val1 | +------------+ | 150862 | | 1508622563 | | 622556879 | | 2147483647 | +------------+ 4 rows in set (0.00 sec)Now with the help of the FROM_UNIXTIME() function, we can retrieve the column integer values in the form of MySQL TIMESTAMP data.mysql> Select ...
Read MoreTurnoff redirect to mobile pages in SAP Hybris
To start with, first, you need to turn off the cookies on a mobile device. Next is to run the following command to the “project.properties” file of your storefront extension. Example# disabling the mobiles redirects:# uiexperience.level.supported.b2ctelco=DESKTOP uiexperience.level.supported=DESKTOPWhen this function is used, it communicates to SAP Hybris system that only DESKTOP based support is required.
Read MoreAlternative of SAP .NET Connector
There are various (not many as for JAVA and others) possible ways to achieve the task. One way is to go for existing remote function calls library for establishing a connection. There are free to use wrappers written around RFC to serve the task.Another library available for the same and mostly used is ERPConnect. It is easy to use and provides an easy mechanism to call BAPI, functions and table calls.But the best way to go for use is web services but for that, you have to be on ERP5.0 or higher. In such case, no .NET connector is required ...
Read MoreUsing Function Module BAPI_ISUPARTNER_CREATEFROMDATA to create BP in SAP IS-U system
Note that home page URL is part of Business Partner’s communication data and comes under address data or address independent communication.You can use Function Module - BAPI_BUPA_ADDRESS_ADD/BAPI_BUPA_ADDRESS_CHANGE for updating it with communication data or FM’s BAPI_BUPA_CREATE_FROM_DATA/BAPI_BUPA_CENTRAL_CHANGE for address independent communication.BAPI_BUPA_CREATE_FROM_DATA SAP BP, BAPI: Create Business PartnerBAPI_BUPA_CENTRAL_CHANGESAP BP, BAPI: Change Central DataBAPI_BUPA_ADDRESS_ADDSAP BP, BAPI: Add AddressBAPI_BUPA_ADDRESS_CHANGE SAP BP, BAPI: Change AddressFunction Module: BAPI_BUPA_ADDRESS_ADD Function Group: BUBA_3 SAP BP: External BAPI Function Modules Program Name: SAPLBUBA_3Following are the parameters:
Read MoreIs C++0x Compatible with C?
Neither C++ (98) nor the new standard(C++0x or C++11) is fully compatible with C. C++ never was fully compatible with C.
Read MoreWhat is a "translation unit" in C++
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 MoreWhat is the difference between the size of ArrayList and length of Array in Java?
ArrayList doesn't have length() method, the size() method of ArrayList provides the number of objects available in the collection.Array has length property which provides the length or capacity of the Array. It is the total space allocated during the initialization of the array.
Read MoreHow to compare two ArrayList for equality in Java?
You can compare two array lists using the equals() method of the ArrayList class, this method accepts a list object as a parameter, compares it with the current object, in case of the match it returns true and if not it returns false.Example Live Demoimport java.util.ArrayList; public class ComparingList { public static void main(String[] args) { ArrayList list1 = new ArrayList(); list1.add("JavaFx"); list1.add("Java"); list1.add("WebGL"); list1.add("OpenCV"); ArrayList list2 = new ArrayList(); list2.add("JavaFx"); list2.add("Java"); list2.add("WebGL"); ...
Read More