Skip to main content

Posts

Showing posts from February, 2013

What's the use for “stdafx.h” in Visual Studio?

#include "stdafx.h" , All C++ compilers have one serious performance problem to deal with. Compiling C++ code is a long, slow process. Compiling headers included on top of C++ files is a  very  long, slow process. Compiling the huge header structures that form part of Windows API and other large API libraries is a  very ,  very  long, slow process. To have to do it over, and over, and over for every single Cpp source file is a death knell. This is not unique to Windows but an old problem faced by all compilers that have to compile against a large API like Windows. The Microsoft compiler can ameliorate this problem with a simple trick called  precompiled headers . The trick is pretty slick: although every CPP file can potentially and legally give a sligthly different meaning to the chain of header files included on top of each Cpp file (by things like having different macros #define'd in advance of the includes, or by including the headers in different order),

Freshers reqiured for software developer Position

Job Description Jobs Freshers reqiured for software developer Position. Web development,  C , C++  , Developers are required. Freshers 2011 Batch .To get the response of your application kindly send your resumes to info@dcsit.in For more details Visit www.dcsit.in Salary: INR 1,25,000 - 2,25,000 P.A. Incentives and Perks are provided as per performance Industry: IT-Software / Software Services Functional Area: IT Software - Application Programming, Maintenance Role Category: Programming & Design Role: Software Developer Keyskills: freshers, fresher,  C .  C++ Desired Candidate Profile Education: (UG - B.Tech/B.E.) OR (PG - MCA) OR ( Doctorate - Any Doctorate - Any Specialization, Doctorate Not Required) BE , MCA Freshers 2011/2012 batch well versed with Java technologies.  C   C++  Having Idea of Websites . Domain . Web hosting To get the response of your application kindly send your resumes to info@dcsit.in For more details Visit www.dcsit.in Comp

Maven Infotech Private Limited

C & C++ Developer Job Description: C & C++ Developer for 1-5 years!! Salary is assured to be best in the industry. Salary:  INR 1,00,000 - 6,00,000 P.A. Sal+attendance allowance+food allowance Keyskills:  C C++ Systems Programming, C++ Programming, Software Developer, Developer, c++ programmer, c++ development,software programmer  Requirements C & C++ Developer Requirements:  Education :  (UG - Any Graduate - Any Specialization, Graduation Not Required) AND (PG - Any Postgraduate - Any Specialization, Post Graduation Not Required) AND ( Doctorate - Any Doctorate - Any Specialization, Doctorate Not Required) Experience:  1 to 6 yrs For More Info :- Maven Infotech Private Limited

Software Engineer - C++, Linux, Java

About Symantec Work that matters. It's what we do at Symantec. Symantec is a global leader in providing security, storage and systems management solutions to help our customers from consumers and small businesses to the largest global organizations secure and manage their information-driven world against more risks at more points, more completely and efficiently. Our software and services protect completely, in ways that can be easily managed and with controls that can be enforced automatically enabling confidence wherever information is used or stored. Headquartered in Cupertino, Calif., Symantec has operations in more than 40 countries. Symantec employs over 15,500 employees worldwide, with research and development facilities located in over 12 countries including India. Visit us at www.symantec.com to know more. Development Overview  In Endpoint & Mobility Group, you will have the opportunity to work on global products that secure and manage millions of endpoints f

What Interviewers Look For

What Interviewers Look For 1. Employers look for people who are Smart and Get Things Done How can employers tell who gets things done? They go on your past record. Hence: 2. Employers look for people who Have Already Done Things Or, as I was told once when I failed an interview: 3. You can't get a job doing something you haven't done before

What Interviewers are Tired Of

A surprisingly large fraction of applicants, even those with masters' degrees and PhDs in computer science, fail during interviews when asked to carry out basic programming tasks. For example, I've personally interviewed graduates who can't answer "Write a loop that counts from 1 to 10" or "What's the number after F in hexadecimal?" Less trivially, I've interviewed many candidates who can't use recursion to solve a real problem. These are basic skills; anyone who lacks them probably hasn't done much programming. Speaking on behalf of software engineers who have to interview prospective new hires, I can safely say that we're tired of talking to candidates who can't program their way out of a paper bag. If you can successfully write a loop that goes from 1 to 10 in every language on your resume, can do simple arithmetic without a calculator, and can use recursion to solve a real problem, you're already ahead of the pack!

The C++ Job Seeker's Guide

C++ Job Seek  Whether you’re a fresh CS graduate with no prior experience or you’re a seasoned team leader looking for greener pastures, I have some useful tips that will help you find a job. The first part of this series focuses on the initial job seeking moves, including finding a professional recruiter and which beginner’s mistakes to avoid. Getting Started Finding the first job as a C++ programmer is more difficult than finding subsequent jobs since most of the positions offered are aimed at experienced C++ programmers. However, beginners can certainly find good jobs, too. It may take longer, the salary and the compensations might not be much to shout about, but it’s doable. Where should beginners look for their first job? Many startup companies are looking for fresh graduates to take care of software customization, porting and testing. Other companies may be in search of code maintainers. Yes, it’s not as fun as developing new applications but one can learn a lot fro

How to prepare for Job Interview for C++

C++ Interview Tips     The most common ones in my experience were: Write a basic linked list write a function that reverses a linked list/write a function that reverses a C string in place Convert a given function to a template function And every one of them that I took had a question to do with classes with virtual destructors, asking you to write the order that the constructors and destructors are called in various examples. It's not all about programming questions though you should prepare for competency based questions too. The book stuff is always good to know, but don't forget the interview basics.  Appearance is king, if you come in looking like a slob they might put you through the motions of the interview but they will have dismissed you already as a canidate. 

Mix of Many

There is some personal infomation in the introduction and end. Please remove them before use. #include<conio.h> #include<string.h> #include<bios.h> #include<iostream.h> #include<dos.h> #include<stdio.h> #include<stdlib.h> #include<iomanip.h> void starting() { clrscr(); int i,j; textbackground(BLACK); textcolor(YELLOW); clrscr(); delay(100); for (i=2,j=63;j>68,i<28;i++,j--) { delay(100); gotoxy(i,8); cputs(" Navi Arora "); } textcolor(CYAN+BLINK); gotoxy(36,21); cputs(" PRESENTS " ); { sound(600); delay(200); nosound(); sound(7); delay(200); nosound(); sound(600); delay(200); nosound(); sound(7); delay(200); nosound(); sound(600); delay(200); nosound(); sound(7); delay(200); nosound(); sound(600); delay(200); nosound(); sound(7); delay(200); nosound(); sound(700); delay(200); nosound(); sound(7);

Periodic Table Program

#include<iostream.h> #include<conio.h> #include<graphics.h> #include<stdio.h> #include<ctype.h> #include<process.h> #include<string.h> #include<dos.h> #include<fstream.h> void element(int,int); void welcome_screen() { clrscr(); for(int x=50;x>=20;x--) { delay(160); gotoxy(x,12); cputs(" P R O J E C T "); gotoxy(x,14); cputs(" D E V E L O P E D B Y : "); gotoxy(x,16); cputs("CBSE PORTAL"); } gotoxy(x,24); cputs("Press Any Key To Continue...."); getch(); } int i,j,g; void frame() { gotoxy(19,9); cout<<"É"; for(i=20;i<=60;i++) { gotoxy(i,9); cout<<"Í"; } cout<<"»"; gotoxy(19,16); cout<<"È"; for(i=20;i<=60;i++) { gotoxy(i,16); cout<<"Í"; } cout<<"¼"; for(i=10;i<=15;i++) { gotoxy(19,i);

C++ Program for CASINO GAME PROJECT

#include<iostream.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<time.h> void draw_line(int n,char ch); void rules(); void main() { int balanceamt,amt,no,dice; char playername[80],ch; clrscr(); draw_line(60,'='); cout<<"\n\n\n\n\t\tCASINO GAME\n\n\n\n"; draw_line(60,'='); cout<<"\n\n\nEnter Your Name :"; gets(playername); cout<<"\n\n\Enter Deposit amount to play game :"; cin>>balanceamt; do { clrscr(); rules(); cout<<"\n\nYour current balance is Rs."<<balanceamt; do { cout<<"\n\n"<<playername<<" enter money to bet"; cin>>amt; if(amt>balanceamt) cout<<"Your betting amount is more than your current balance\n\nRe-enter data\n "; else break; }while(1); do { cout<<"Enter your lucky number to bet between 1 to 12 :"; cin>>no; if(no&

HANGMAN PROJECT

#include <iostream.h> #include <stdlib.h> #include <string.h> #include <conio.h> const int MAXLENGTH=80; const int MAX_TRIES=5; const int MAXROW=7; int letterFill (char, char[], char[]); void initUnknown (char[], char[]); int main () { char unknown [MAXLENGTH]; char letter; int num_of_wrong_guesses=0; char word[MAXLENGTH]; char words[][MAXLENGTH] = { "india", "pakistan", "nepal", "malaysia", "philippines", "australia", "iran", "ethiopia", "oman", "indonesia" }; //choose and copy a word from array of words randomly randomize(); int n=random(10); strcpy(word,words[n]); // Initialize the secret word with the * character. initUnknown(word, unknown); // welcome the user cout << "\n\nWelcome to hangman...Guess a country Name"; cout << "\n\nEach letter is represented

STUDENT-REPORT-CARD-PROJECT

//*************************************************************** //                   HEADER FILE USED IN PROJECT //**************************************************************** #include<fstream.h> #include<iomanip.h> #include<stdio.h> #include<conio.h> //*************************************************************** //                   CLASS USED IN PROJECT //**************************************************************** class student { int rollno; char name[50]; int p_marks, c_marks, m_marks, e_marks, cs_marks; float per; char grade; void calculate(); //function to calculate grade public: void getdata(); //function to accept data from user void showdata(); //function to show data on screen void show_tabular(); int retrollno(); }; //class ends here void student::calculate() { per=(p_marks+c_marks+m_marks+e_marks+cs_marks)/5.0; if(per>=60) grade='A'; else if(per>=50) grade='B'

BANK-MANAGEMENT-SYSTEM

//*************************************************************** //                   HEADER FILE USED IN PROJECT //**************************************************************** #include<fstream.h> #include<ctype.h> #include<iomanip.h> #include<conio.h> #include<stdio.h> //*************************************************************** //                   CLASS USED IN PROJECT //**************************************************************** class account { int acno; char name[50]; int deposit; char type; public: void create_account(); //function to get data from user void show_account(); //function to show data on screen void modify();   //function to get new data from user void dep(int); //function to accept amount and add to balance amount void draw(int); //function to accept amount and subtract from balance amount void report(); //function to show data in tabular format int retacno(); //function to

Setting up the environment

To use Workbench you need to configure it so that it knows about your robot and the programs that you want to download to it. There are three areas that need to be set up. 1. The target remote system, which is the cRIO that you will use to download and debug your programs. 2. The run or debug configuration that describes the program to be debugged and which remote system you want to debug it on. 3. The FIRST Downloader settings that tell which program should be deployed onto the cRO when you are ready to load it for a competition or operation without the laptop. Creating a Remote System in Workbench Workbench connects to your cRIO controller and can download and remotely debug programs running on it. In order to make that connection, Workbench needs to add your cRIO to its list of Remote Systems. Each entry in the list tells Workbench the network address of your cRIO and has a kernel file that is required for remote access. To create the entry for your system do the follow

Using Wind River Workbench

Wind River Workbench is a complete C/C++ Interactive Development Environment (IDE) that handles all aspects of code development.  It will help you: • Write the code for your robot with editors, syntax highlighting, formatting, auto-completion, etc. • Compile the source code into binary object code for the cRIO PowerPC architecture. • Debug and test code by downloading the code to the cRIO robot controller and enabling you to step through line by line and examine variables of the running code. • Deploy the program so that it will automatically start up when the robot is powered on. You can even use Subversion, a popular source code repository server to manage your code and track changes. This is especially useful if there is more than one person doing software development. Setting up the environment To use Workbench you need to configure it so that it knows about your robot and the programs that you want to download to it. There are three areas that need to be set u