Monthly Archives: January 2017

Find the area of the Rectangle -C++

/* * Rectangle.cpp * * Created on: Jan 29, 2017 * Author: asharda */ #include <iostream> using namespace std; class Rectangle { int width,height; public : void set_values(int ,int); int area(); }; /** * Set the values of the Rectangle … Continue reading

Posted in C++ | Leave a comment

Find Max between 2 numbers

//============================================================================ // Name : testcpp.cpp // Author : asharda // Version : // Copyright : Your copyright notice // Description : Find max between 2 numbers C++, Ansi-style //============================================================================ #include <iostream> using namespace std; int main() { cout<<“\n”<<“Max between both … Continue reading

Posted in C++ | Leave a comment

Iterating through Arrays C++

//============================================================================ // Name : testcpp.cpp // Author : asharda // Version : // Copyright : Your copyright notice // Description : Print Array C++, Ansi-style //============================================================================ #include <iostream> using namespace std; int main() { int arr[]={1,2,3,4,5}; cout <<“Size of arr … Continue reading

Posted in Uncategorized | Leave a comment

Getting Started with C/C++ on Windows

(1)First download http://www.mingw.org/ (2)Add /Update the Path by pointing to the bin location. (3)Download Eclipse Editor for C/C++. (4)Create a new C/C++ project Hello World. (5)Before running the code,Build the project and then right click on the file and run as … Continue reading

Posted in C++, Uncategorized | Leave a comment

PEAS for self driving cars

P-Performance . Can be anything related to speed,time,legal,comfort. E-Environment: As the name suggests can be road,road signs,pedestrians etc.. A-Actuators Steering,accelerator,brakes etc… S-Sensors Camera,Sonar,Sensors,GPS.

Posted in Uncategorized | Leave a comment

Interesting

https://aws.amazon.com/blogs/aws/amazon-lex-build-conversational-voice-text-interfaces/

Posted in Uncategorized | Leave a comment

Run Testng.xml as TestNG Suite in Eclipse

Usually in Eclipse when there is no option to see Run as TestNG suite,under TestNG suite enter the name of the test class that needs to be executed as TestNG suite

Posted in Uncategorized | Leave a comment