Passing by value
The parameter modifiers ‘ref’ and ‘out’ relate to how the parameter is passed into the method. Where neither of these modifiers is used, the parameter is passed in ‘by value’. In this case, when the method is called the value given is copied to the variable specified in the method declaration. The following [...]
parameter passing in C#
What is C++?
C++ is an object oriented programming language. It was developed by Bjarne Stroustrup at AT&T Bell Laboratories in the Murray Hill, New Jersey, USA, in the early 1980’s. Stroustrup, an admirer of Simula67 and a strong supporter of C, wanted to combine the best of the languages and create a more powerful language that could [...]
Full Story »What are the differences between C and C++?
C++ is a superset of C. It means that a C++ computer is able to compile any C program but reverse is not true. C programmer can omit functions prototype as they are optional in C programs but it is compulsory to declare function prototype in the C++ program. C++ defines two new operators, new [...]
Full Story »Visual Studio 2010 Beta 2
Introduction:
It is the most powerful Mocrosoft Beta2.Design your own imagine here.New tools,new prototype.
Set Your Ideas free:
Create what you can imagine, build on the strengths of your team, and open up new possibilities.
New prototyping, modeling, and visual design tools enable you to create innovative applications for Windows and the Web
Create a shared vision as a foundation for creativity [...]
Polymorphism in C++
If you are new to the world of object-oriented programming, then your first thought after reading the title of this article is “what the heck could ever transform in code?” The answer is not so trivial that I can explain it in just a sentence, but join me throughout this article and you will get [...]
Full Story »Difference between a C++ struct and C++ class
C C++ Structures Example with Source code
/* Program To Display The Highest Salary Of A Employees */
int count;
struct employee
{
int idno,salary;
char name[10];
};
struct employee s[10];
void main()
{
int i,loc=0;
float top;
clrscr();
printf(“Enter Number Of Employees : “);
scanf(“%d”,&count);
for(i=0;itop)
{
top=s[i].salary;
loc=i;
}
}
printf(“\nThe Highest Salary Is : “);
printf(“%s”,s[loc].name);
getch();
}
/***************** OUTPUT ******************
Name : Lionel
ID no : 40
salary : 25000
Name : Cyril
ID no : 42
salary : 10000
Name : Bob
ID no : 46
salary : 15000
Name : Nigel
ID [...]
What is a conversion constructor?
CHARACTERSTICS OF 'C++'
If you are looking ahead for giving an interview in an IT company,there is a frequent asked question.So please remind it for ur benefit.
Q-:What are the characterstics of ‘OOPS’ or ‘C++’?
ANS-:Characterstics are as follows-:
Inheritance
Incapsulation
Polymorphism
Class
Subject
Volatile Qualifiers in C++
When a variable is declared volatile,its value can be changed.compiler has no control f0r e.g variable updated by system clock.Certain Optimizations ordinarily performed by a compiler should therefore not be applied to the variables declared with volatile qualifiers .
The volatile qualifiers is used in similar way as a const qualifier -as an additional modifiers to [...]
CODE OF OBFUSCATION
CODE OF OBFUSCATION
Well you all must be familiar to C++. if not , it is a programming language. Well we all know that any programming language has its own typical syntax. Same is the case with C++ .it has a predefined syntax in the language definition and predefined keywords and functions.
we know that syntax is [...]