Nishtha Thakur

Nishtha Thakur

398 Articles Published

Articles by Nishtha Thakur

Page 40 of 40

Iterate through Octet Tuple in Java

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 191 Views

You can easily iterate through Octet Tuple using a for the loop. Let us first see what we need to work with JavaTuples. To work with Octet class in JavaTuples, you need to import the following package −import org.javatuples.Octet;Note − Download JavaTuples Jar library to run JavaTuples program. If you are using Eclipse IDE, then Right Click Project -> Properties -> Java Build Path -> Add External Jars and upload the downloaded JavaTuples jar file. Refer the below guide for all the steps to run JavaTuples −Steps − How to run JavaTuples program in EclipseThe following is an example to ...

Read More

Operations on struct variables in C

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 2K+ Views

Here we will see what type of operations can be performed on struct variables. Here basically one operation can be performed for struct. The operation is assignment operation. Some other operations like equality check or other are not available for stack.Example#include typedef struct { //define a structure for complex objects    int real, imag; }complex; void displayComplex(complex c){    printf("(%d + %di)", c.real, c.imag); } main() {    complex c1 = {5, 2};    complex c2 = {8, 6};    printf("Complex numbers are:");    displayComplex(c1);    displayComplex(c2); }OutputComplex numbers are: (5 + 2i) (8 + 6i)This works fine as ...

Read More

How to Sort a stack in android?

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 167 Views

This example demonstrate about How to Sort a stack in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the above code, we have taken a text view to show sorted stack.Step 3 − Add the following code to src/MainActivity.javapackage com.example.myapplication; import android.os.Build; import android.os.Bundle; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.Stack; public class MainActivity extends AppCompatActivity {   ...

Read More

How to efficiently perform “distinct” with multiple keys in MongoDB?

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 432 Views

You can perform distinct with multiple keys with the help of an aggregate framework.To understand the concept, let us create a collection with the document. The query to create a collection with a document is as follows −> db.distinctWithMultipleKeysDemo.insertOne({"StudentName":"Mike", "StudentAge":22, "StudentMathMarks":56}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c7f74488d10a061296a3c53") } > db.distinctWithMultipleKeysDemo.insertOne({"StudentName":"Mike", "StudentAge":22, "StudentMathMarks":56}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c7f744b8d10a061296a3c54") } > db.distinctWithMultipleKeysDemo.insertOne({"StudentName":"Bob", "StudentAge":23, "StudentMathMarks":45}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c7f74598d10a061296a3c55") } > db.distinctWithMultipleKeysDemo.insertOne({"StudentName":"Bob", "StudentAge":23, "StudentMathMarks":45}); {    "acknowledged" : true,    "insertedId" : ObjectId("5c7f745e8d10a061296a3c56") } > db.distinctWithMultipleKeysDemo.insertOne({"StudentName":"Carol", "StudentAge":27, "StudentMathMarks":54}); {    "acknowledged" ...

Read More

What is the difference between C++0x and C++11?

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 582 Views

C++ and C Standards are usually named after the year they are published in. For example, in C++, the original Standard was published in 1998, so it is called C++98, and its first correction, published in 2003 is called C++03.For the next revision, it was supposed that the next Standard after would be done by 2008, but since it was uncertain, it was named C++0x, where the x stood for either 8 or 9. Though planning shifted and it is now called C++11. So, C++0x was the name for the standard before it was published. Once it was finalized in ...

Read More

Architecture for Deploying SAP HR module

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 190 Views

It would be good to separate the HR from other modules as not only the load and usage is high on HRmodule but the business and security requirements differ for HR module as well.In such scenarios, other module can be customized in terms of security and configured as per theirneeds. Also separating the Central instance and database to different machine is a very commonapproach but can be avoided too by configuring the Central instance to adjust the load.

Read More

Learning SAP HANA and scope with ABAP-HANA or BI-HANA

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 352 Views

While you have a valid point that most of the SAP HANA projects are coupled with varied SAP landscape but there does exists a lot of projects which involve only native SAP HANA development.It entirely depends on your interests and knowledge base but sound understanding of the core concepts around data ware housing needs to be clear, if you are planning to build anything utilizing the base concepts.Presently, as per my understanding, clients prefer ABAP on HANA as they have one or other existing ABAP solutions. So, any enhancement using ABAP seems more sensible and appropriate.So I will suggest you ...

Read More

Connecting to SAP HANA server on Cloud using PHP

Nishtha Thakur
Nishtha Thakur
Updated on 30-Jul-2019 557 Views

To get the server name of SAP HANA server, you need to check the virtual machine (VM) list.You can find this list under Virtual machine details of your corresponding HANA SPS5 server’s External Address property.Usually, the port number is 30015.For the problem that you are facing regarding the connection set up, you can refer below link for more details.https://blogs.sap.com/2013/06/17/connecting-to-your-hana-database-from-php-using-odbc/

Read More
Showing 391–398 of 398 articles
« Prev 1 36 37 38 39 40 Next »
Advertisements