Program of BINARY OPERATOR OVERLOADING using member function

/*Program of  BINARY OPERATOR OVERLOADING using member  function*/ #include<conio.h> #include<iostream.h> class A { int a,b; public: void getdata(int p,int q) { a=p; b=q; } void display() { cout<<“\na=”<<a<<“\nb=”<<b; } A operator+(A a1) { a1.a=a1.a+a; a1.b=a1.b+b; return a1; } }; int main() { A a1,a2,a3; int f,g,h,i; cout<<“\nEnter 2 numbers\n”; cin>>f>>g; a1.getdata(f,g); a1.display(); cout<<“\nEnter 2 numbers\n”; cin>>h>>i; a2.getdata(h,i); a3.display(); a3=a2+a1; getch(); return 0; } OUTPUT    : Enter any number 5 Enter another number 7 Addition of these numbers = 12

Program for the addition of 3 complex numbers using FRIEND function

/*Program for the addition of 3 complex numbers using FRIEND function*/ #include<iostream.h> #include<conio.h> class complex { int real,imag; public: complex() { } complex(int f,int g) { real=f; imag=g; } void display() { cout<<real<<“+i”<<imag; } friend complex sum (complex,complex,complex); }; complex sum(complex q,complex w,complex e) { complex r; r.real=q.real+w.real+e.real; r.imag=q.imag+w.imag+e.imag; return r; } int main() { int z,x,c,v,y,u; cout<<“\n\nenter the real and imaginary part of 1st complex number\n”; cin>>y>>u; complex p(y,u); cout<<“1st complex number       “; p.display(); cout<<“\n\nenter the real and imaginary part of 2nd complex number\n”; cin>>z>>x; complex o(z,x); cout<<“\n2nd complex number       “; o.display(); cout<<“\n\nenter the real and imaginary part of ……

SAP BASIS Administrator Tasks and Job Responsibilities for Junior Job Role

In this blog i am going to cover what is SAP BASIS Administrator tasks/Job responsibilities and which all things are expected in L1 and L2 support for any client.Please prepare below tasks if you are looking for Job change under L1 and L2 junior role. SAP BASIS ADMINISTRATOR JOB PROFILE Hardware and Database Administration User and Security Administration Client Maintenance Correction and Transport System (CTS) Online Service System (OSS) Performance Monitoring and Tuning All Service Market Place tasks. Download and apply Support Patches Download and perfrom kernel upgrade Perform Client Copy Ticket administrator I just try to provide subtasks under ……

How to enable SAPGUI SCRIPTING

How to enable SAPGUI SCRIPTING 1.Go to TCODE RZ11 2.Type parameter as sapgui/user_scripting Click on display. 3.If GUI Scripting is not enabled, then Current value will be FALSE To enable, click on Change Value () Change the New Value as TRUE and put a tick mark on Switch on all severs .     Click on Save. &amp;amp;amp;lt;iframe src=”//www.googletagmanager.com/ns.html?id=GTM-NKZ9FM” height=”0″ width=”0″ style=”display:none;visibility:hidden”&amp;amp;amp;gt;&amp;amp;amp;lt;/iframe&amp;amp;amp;gt;

How to search and download SAP Notes from SAP Marketplace

How to search and download SAP notes from SAP Service Marketplace. SAP notes are correction programs, when users report some issue to SAP then SAP makes correction to that program (faulty program) and release SAP notes and we apply SAP notes in our system to fix the issue. Direct link to search SAP notes from SAP Service Markeplace: https://support.sap.com/home.html?url_id=text-SMPHomepage-newsupportportal It’ll ask for market place ID and password ,if you don’t have SAP Marketplace ID please refer to How to Create OSS ID / S-User ID / Service MarketPlace ID after successfully authentication ,On the right side ,you’ll get search Box ……

ORA-00119: invalid specification for system parameter LOCAL_LISTENER and ORA-00132: syntax error or unresolved network name ‘LISTENER_SID’

Today when i was working  on post oracel 12C upgrade steps ,I got below error in starting database from sidadm user.I am sharing error with solution if it helps for you. Error: I was getting below error related to Local_Listener. SQL> startup; ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-00132: syntax error or unresolved network name ‘LISTENER_SID’ SQL> Reason: During a database upgrade, the Database Upgrade Assistant (DBUA) defines a TNS alias entry ‘LISTENER_<SID>’ in the local tnsnames.ora file and sets the parameter LOCAL_LISTENER=”LISTENER_<SID>’. This means that the tnsnames alias was not defined in the tnsnames.ora of the environment of the user who ……

SAP DEFINITION | What is SAP | SAP MEANING | SAP SOFTWARE | SAP ERP

This articles answers below questions: What does sap stand for ? SAP DEFINITION What is SAP . What is SAP software? Meaning of SAP ,ERP, SAP R3,SAP NETWEAVER. What is ERP. What is SAP ECC. What is SAP R3 SAP Definition or What does sap stand for or Full Form of SAP ? All these question has simple answer : “Systems Applications and Products “ If we talk generally,SAP is product based company like Oracle,Microsoft.Google. AS oracle has its own product that is oracle Satabse. IBM has many products like DB2,DB6. In similar manner SAP is a very popular and ……

SAP HOSTAGENT UPGRADE

Download and Uncar latest host agent file from SAP market place ,here we uncared under /usr/sap/TEMP. Execute command “./saphostexec -upgrade” as root. # ./saphostexec -upgrade Upgrade service [Thr 01] Tue Sep 22 06:55:55 2015 [Thr 01] *** WARNING => HostExecUpgrade initialization – Unable to stat /usr/sap/hostctrl/exe/libslcryptokernel.o: No such file or directory [HostExecAuto 125] [Thr 01] *** WARNING => HostExecUpgrade initialization – Unable to stat /usr/sap/hostctrl/exe/libslcryptokernel.o.sha256: No such file or directory [HostExecAuto 125] IsUpgradeNecessary: /usr/sap/TEMP/saphostexec is newer than /usr/sap/hostctrl/exe/saphostexec Upgrade saphostexec / saphostcontrol Check Installation Path … saphostexec is already running (pid=5439500). Stopping… ok Copy Executable …ok Install SYS-V service …-> ……

JAVA Dosn’t start after oracle 12c upgrade with ORA-28040 No matching authentication Protocol error

Java doesn’t come up after oracle 12c upgrade ,We get ORA-28040 No matching authentication Protocol error. Error :Below error we’ll get in Java trace logs under work directory.   “com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties! com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB. com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:384) Caused by: java.sql.SQLException: ORA-28040: No matching authentication protocol at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:113) “ This is known Bug in Oracle as per Bug 14575666. In 12.1, the default value for the SQLNET.ALLOWED_LOGON_VERSION parameter has been updated to 11. This means that database clients using pre-11g JDBC thin drivers cannot authenticate to 12.1 database servers unless the SQLNET.ALLOWED_LOGON_VERSION parameter is set ……

GRC 10 installation Complete guide high level

GRC 10.1 installation Guide high level steps: SAP Access Control 10.1, Process Control 10.1, and Risk Management 10.1 are part of the SAP solutions for governance, risk, and compliance (GRC). SAP Access Control 10.1 runs on SAP NetWeaver 7.40 SP02 (on non-HANA or HANA databases). From Basis side high level steps for installation are mentioned below: Steps for GRC 10.1 system: 1. Install NW 7.40 SP 04 AS ABAP by SWPM. 2. For Access Control, Process Control & Risk Management ,install Software Component: GRCFND_A. as ADDON from SAINT. or SUM on installed system 3. We need to install Software Component: ……