C++ Language

C++ Language

+ Follow 3,371 Followers

Share

Showing 1 to 25 of 87
Sort By: 
P

Pranik 04/09/2016 in  C++ Language classes, Basic C++(C++ Language classes)

Show previous answers

Yuvraj replied | 01/10/2016

In computer science, a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in a particular programming language. For compiled languages, syntax errors are detected at compile-time. A program will not compile until all syntax errors are corrected.

0 0

Manisha replied | 23/10/2016

A syntax error is a violation of the syntax, or grammatical rules, of a natural language or a programming language. ... A syntax error is called a fatal compilation error, because the compiler cannot translate a C++ program into executable code if even one syntax error is present.

0 0

Answer

You can add upto 6 Images

Rajneesh 27/08/2016 in  C++ Language classes, Advanced C++(C++ Language classes)

Show previous answers

Nova replied | 19/09/2016

yes you can my friend

0 0

Ganesh replied | 20/09/2016

yes you can

0 0

Answer

You can add upto 6 Images

A

Aman 13/08/2016 in  C++ Language classes, Basic C++(C++ Language classes)

Show previous answers

Ashutosh replied | 10/09/2016

Dos.h is one among the header files . It contains functions for handling interrupts, producing sound, date and time functions etc. It is a Borland specific and works in turbo c compiler.

0 0

Gunabushanam replied | 11/09/2016

using include keyword. this header file will helps you createor delete a directory or subdirectory and exit from the application etc it is more and more important header file for the developers

0 0

Answer

You can add upto 6 Images

K

Karthik.s.k. 26/07/2016 in  C++ Language classes, Basic C++(C++ Language classes)

what is the fees for a coaching provided by urban pro

0 0
S

Shashiraja replied | 26/08/2016

Depends on your current knowledge in and your objective from the class. Like you have basic knowledge and want advance knowledge or you want basics.

0 0

Answer

You can add upto 6 Images

S

Sayyad 23/07/2016 in  C++ Language classes, Basic C++(C++ Language classes)

Show previous answers

Shankar replied | 27/08/2016

You can try Virtual functions

0 0

Deepak Sharma replied | 29/08/2016

Dear Sayyad,

Never understand the classes in terms of Child and Parent, Consider them as extensions, like for example,

Suppose you have a basic class (which provides some functionality via methods), which everybody is free to use, now imagine if somebody wants to provide own version of one of the methods, what are the options available.

#1 Change...  more»
Dear Sayyad,

Never understand the classes in terms of Child and Parent, Consider them as extensions, like for example,

Suppose you have a basic class (which provides some functionality via methods), which everybody is free to use, now imagine if somebody wants to provide own version of one of the methods, what are the options available.

#1 Change the method in base class, which u have implemented. (Bad idea, because it will break the existing code).

#2 Don't touch the class, which is in use and working, Derive a new class, and provide a new definition to the method, which u want to do differently. (Good idea, it'll not break anything),

A real world example would be ...

class Account {
public :
bool Deposit(Double amount);
}

class SavingAccount : public Account {
public :
bool Deposit(Double amount);
}

class CurrentAccount : public Account {
public :
bool Deposit(Double amount);
}

Do not try to copy paste and compile, this is just a pseudo-code.

The explanation can continue, and we can take many more examples, where Method Overriding is used in real world. «less

0 0

Answer

You can add upto 6 Images

Abhil 04/05/2016 in  C++ Language classes, Basic C++(C++ Language classes)

where the c++ language is applyed

0 0
S

Shashiraja replied | 26/08/2016

It can be used at all the layers of software. From application programming to device driver development

0 0

Deepak Sharma replied | 29/08/2016

C++ is used everywhere, it's fast and compact,

Java and .Net need JVM/CLR (Runtiem), whereas C++ directly translates to Executable code.

This makes C++ faster than Java and .Net, also like Java C++ can be used for any platform, like Windows, Web, MacOS, iOS, Android, Embedded Systems, Linux, Unix, Solaris etc.

Basically it is used in industry/domain...  more»
C++ is used everywhere, it's fast and compact,

Java and .Net need JVM/CLR (Runtiem), whereas C++ directly translates to Executable code.

This makes C++ faster than Java and .Net, also like Java C++ can be used for any platform, like Windows, Web, MacOS, iOS, Android, Embedded Systems, Linux, Unix, Solaris etc.

Basically it is used in industry/domain where Speed is the priority, like finance, aviation, space, automobiles etc. «less

0 0

Answer

You can add upto 6 Images

M

Mohan 01/05/2016 in  C++ Language classes

Show previous answers

Sushmita Bhar replied | 12/07/2016

Object-Oriented Programming has the following advantages over conventional approaches:
1: OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.
2: OOP makes it easy to maintain and modify existing code as new objects can be created with...  more»
Object-Oriented Programming has the following advantages over conventional approaches:
1: OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.
2: OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
3: OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces. «less

0 0

Shankar replied | 27/08/2016

One of the best advantages of OOPS with respect to security is access specifiers

0 0

Answer

You can add upto 6 Images

P

Prasad 01/05/2016 in  C++ Language classes

Show previous answers

Sg replied | 17/07/2016

private access specifier makes sure that the private member is accessed only by member functions of same class or a friend class, derived class member functions as well as outsider world can't access it.

0 0

Karthick replied | 12/09/2016

Private access specifier is a keyword denotes the privacy of member data of class,cannot be accessed outside class, and represent the concept of encapsulation

0 0

Answer

You can add upto 6 Images

T

Thinagaran 01/05/2016 in  C++ Language classes

Show previous answers

Trupti Tasgaonkar replied | 11/07/2016

Class is the collection of different datatypes and member functions.

0 0

Ekta replied | 22/07/2016

Class is collection of data and the functions that operate on data. It is a template for real world object. Class defines attributes of the object and the functions required.

0 0

Answer

You can add upto 6 Images

R

Raj 30/04/2016 in  C++ Language classes

Show previous answers

Sarvachan replied | 06/05/2016

Just include hedears file

0 0

Kranthi Bharath replied | 06/05/2016

If you want to use existing C functions in the C++ program, you can make use of "extern C".
The compiler output for both C and C++ would be different. Extern C would give an indication to the C++ compiler to generate compiled output of the respective function in C format.

0 0

Answer

You can add upto 6 Images

A

Aparna 30/04/2016 in  C++ Language classes

Show previous answers

Sachin S replied | 22/05/2016

1) structure :- In structure have a by default public.
In class have a by default private.
2) Structure cannot be inherited. But class can be
inherit.
3) There is no data hiding features comes with
structures. Classes do, private, protected and public.
4) A structure can't be abstract, a class can.
5) A structure is a value type, while a class...  more»
1) structure :- In structure have a by default public.
In class have a by default private.
2) Structure cannot be inherited. But class can be
inherit.
3) There is no data hiding features comes with
structures. Classes do, private, protected and public.
4) A structure can't be abstract, a class can.
5) A structure is a value type, while a class is a
reference type.
6) A structure is contain only data member , but class
contain data member and member function.
7) In a Structure we can't initilse the value to the
variable but in class variable we assign the values. «less

0 0

Ekta replied | 02/06/2016

Basic difference between class and structure is that Structures are used to store data and a class defined both data and the functions that access that data.

0 0

Answer

You can add upto 6 Images

R

Ramkumar 30/04/2016 in  C++ Language classes

What is C++?

0 0 3

Show previous answers

Ansari replied | 04/05/2016

C++ is a programming language. also an object oriented programming language.
used to develop applications/software

0 0

Meganadha replied | 07/05/2016

C++ is object oriented programming language.

0 0

Answer

You can add upto 6 Images

R

Rakesh 30/04/2016 in  C++ Language classes

What is the difference between an object and a class?

0 0 4

Show previous answers

Unais Kamle replied | 14/06/2016

An object is basically an instant of a class

0 0

Ekta replied | 16/06/2016

Class is like a template. And object is instance of the class. E.g. humans is a class and Mr. John is object. Mr. John is instance of class humans.

0 0

Answer

You can add upto 6 Images

M

Meenakshisundarams 30/04/2016 in  C++ Language classes

What is the difference between an object and a class?

0 0 3

Show previous answers

Meganadha replied | 02/05/2016

A class is like a design to create objects.,
An object is like an instance of a class.
Example code below:
class Employee
{
private int EmpId;
private int EmpName;
public void ReadEmployeeData()
{
statements here.....
...............................
}
public void PrintEmployeeData()
...  more»
A class is like a design to create objects.,
An object is like an instance of a class.
Example code below:
class Employee
{
private int EmpId;
private int EmpName;
public void ReadEmployeeData()
{
statements here.....
...............................
}
public void PrintEmployeeData()
{
statements.........
..........................
}
}
THE ABOVE IS AN EXAMPLE FOR A CLASS
Object for above class we declare like this:
Employee emp = new Employee();
Here emp is an object. For a single class you can create any number of objects. «less

0 0

Heba replied | 02/05/2016

A class combines data representation and methods for manipulating that data into one neat package and is used to specify the form of an object. An object is an instantiation of a class.

0 0

Answer

You can add upto 6 Images

S

Sahiba 29/04/2016 in  C++ Language classes

Show previous answers

Krishn replied | 21/05/2016

This is not a c++ question. It is used in c#.

0 0

Manjay Kumar replied | 26/05/2016

Well , protected variable only available in the contained class (in which it has been declared) and in the derived class within the assembly and also outside the assembly.
and internal variable can access within the assembly either creating object or in a derived class or you can say it is accessible across all the classes within the assembly.

But protected internal...  more»
Well , protected variable only available in the contained class (in which it has been declared) and in the derived class within the assembly and also outside the assembly.
and internal variable can access within the assembly either creating object or in a derived class or you can say it is accessible across all the classes within the assembly.

But protected internal variable is combination of both.Protected Internal Member can be available within the entire assembly in which it declared either creating object or by inherited that class. And can be accessible outside the assembly in a derived class only.
Protected Internal member works as Internal within the same assembly and works as Protected for outside the assembly. «less

0 0

Answer

You can add upto 6 Images

S

Satpal 29/04/2016 in  C++ Language classes

What is meant by software development method?

0 0 3

Show previous answers

Ganesa replied | 13/05/2016

there are several development methods. that is called software engineering methods. top down method, bottom up mehod, object oriented analysis and design and so on.

0 0

Darshana N Madke replied | 15/05/2016

It is a standard way to develop software to reduce cost and time, and increase efficiency. Eg. Waterfall model, Incremental Model etc. You can refer any Software Engineering book for more details

0 0

Answer

You can add upto 6 Images

P

Parminder 29/04/2016 in  C++ Language classes

What is Boyce Codd Normal form?

0 0

Ethan's replied | 29/04/2016

A relation schema R is in Boyce Codd Normal form aka BCNF with respect to a set F of functional dependencies. If for all functional dependencies in F+ of the form a-> , where a and b is a subset of R, at least one of the following holds:

* a- > b is a trivial functional dependency (b is a subset of a)
where a is a superkey for schema R

0 0

Viswapriya replied | 29/04/2016

Boyce–Codd normal form (BCNF or 3.5NF) is a normal form used in database normalization which is slightly stronger version of the third normal form (3NF).

0 0

Answer

You can add upto 6 Images

P

Pravin 29/04/2016 in  C++ Language classes

What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

0 0

Shweta replied | 29/04/2016

Virtual keyword

0 0

Maqubool replied | 08/06/2016

the keyword would be 'virtual' (without quotes).

0 0

Answer

You can add upto 6 Images

S

Shilpi 29/04/2016 in  C++ Language classes, Advanced C++(C++ Language classes), Basic C++(C++ Language classes), .Net Web Services Training

Hi,
I completed my 1st year of computer science engineering and want to do something in my 3 months vacation.
please suggest me what to do

0 0

Yasharth replied | 04/05/2016

Enrolled yourself for summer courses(c#,Asp.Net).

0 0

Answer

You can add upto 6 Images

M

Madhuri 29/04/2016 in  C++ Language classes

I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

0 0

Ashutosh replied | 04/05/2016

declaration is just usual int a; When you pass, then pass a reference rather than a variable like &a.

0 0

Ajay replied | 05/05/2016

void fun(int a,int b)
{
~~~~your code@@@
}

Void main()
{
fun(3,2);
getch();
}

0 0

Answer

You can add upto 6 Images

S

Saddam 28/04/2016 in  C++ Language classes

What is the difference between structures and classes in C++?

2 0 4

Show previous answers

Umasankar replied | 30/04/2016

In C++
Structure members are public by default. If you want to make it private, you need to mention private: and mention variable under private:

Class members are private by default. You need to specifically mention public keyword, those are the members under public: keyword become public.

0 0
P

Palash replied | 01/05/2016

Mainly the default access specifier
For struct By default members are public
For class By default members are private

0 0

Answer

You can add upto 6 Images

Z

Zeeshan 28/04/2016 in  C++ Language classes

Show previous answers

Viswapriya replied | 29/04/2016

Member functions are the functions, which have their declaration inside the class definition and works on the data members of the class. The definition of member functions can be inside or outside the definition of class.

If the member function is defined inside the class definition it can be defined directly, but if its defined outside the class, then we have to use...  more»
Member functions are the functions, which have their declaration inside the class definition and works on the data members of the class. The definition of member functions can be inside or outside the definition of class.

If the member function is defined inside the class definition it can be defined directly, but if its defined outside the class, then we have to use the scope resolution :: operator along with class name with function name. «less

0 0

Umasankar replied | 30/04/2016

Member functions are part of the class, member functions are used to access, member variable in private, protected, public area and also call another member functions.

0 0

Answer

You can add upto 6 Images

M

Meraj 28/04/2016 in  C++ Language classes

What is a class?

0 0 3

Show previous answers

Amitava replied | 28/04/2016

A class in C++ is a user defined type or data structure declared with keyword class that has data and functions (also called methods) as its members whose access is governed by the three access specifiers private, protected or public (by default access to members of a class is private).

0 0

Surbhi replied | 28/04/2016

A class in C++ is a user defined type or data structure declared with keyword class that has data and functions (also called methods) as its members whose access is governed by the three access specifiers private, protected or public (by default access to members of a class is private). A class (declared with keyword class) in C++ differs from a structure (declared with keyword...  more»
A class in C++ is a user defined type or data structure declared with keyword class that has data and functions (also called methods) as its members whose access is governed by the three access specifiers private, protected or public (by default access to members of a class is private). A class (declared with keyword class) in C++ differs from a structure (declared with keyword struct) as by default, members are private in a class while they are public in a structure. The private members are not accessible outside the class; they can be accessed only through methods of the class. The public members form an interface to the class and are accessible outside the class. Instances of these data types are known as objects and can contain member variables, constants, member functions, and overloaded operators defined by the programmer. «less

0 0

Answer

You can add upto 6 Images

V

Vivek 28/04/2016 in  C++ Language classes

The class which acts as interface between the C++ and the Java layer?

0 0 3

Show previous answers

Shibaji replied | 21/05/2016

JNI Classes can interact between the C++ and Java.

0 0

Naveen replied | 03/07/2016

Boyce--Codd normal form (or BCNF :- is a normal form used in database normalization. It is a slightly stronger version of the third normal form (3NF). BCNF was developed in 1974 by Raymond F. Boyce and Edgar F. Codd to address certain types of anomalies not dealt with by 3NF as originally defined.[1]

If a relational schema is in BCNF then all redundancy based on functional...  more»
Boyce–Codd normal form (or BCNF :- is a normal form used in database normalization. It is a slightly stronger version of the third normal form (3NF). BCNF was developed in 1974 by Raymond F. Boyce and Edgar F. Codd to address certain types of anomalies not dealt with by 3NF as originally defined.[1]

If a relational schema is in BCNF then all redundancy based on functional dependency has been removed, although other types of redundancy may still exist. A relational schema R is in Boyce–Codd normal form if and only if for every one of its dependencies X ? Y, at least one of the following conditions hold:

X ? Y is a trivial functional dependency (Y ? X)
X is a super key for schema R «less

0 0

Answer

You can add upto 6 Images

K

Khushwunder 28/04/2016 in  C++ Language classes

What is the Basic nature of "cin" and "cout" and what concept or principle we are using on those two?

0 0

Priyadharshini replied | 28/04/2016

' cin' is used to get the input for a variable. 'cout' is used to display the output.

0 0

Kishore replied | 31/05/2016

Cin: Console Input to read data and Cout: Console Output to print data.

0 0

Answer

You can add upto 6 Images

1234Next

Have a Question?

Thousands of expert tutors are available to answer your question

Looking for C++ Language classes?

Find best C++ Language classes in your locality on UrbanPro.

FIND NOW

Do you offer C++ Language classes?

Create Free Profile Now »

Top Contributors

Algorithm Class

26 Answers

Umasankar

24 Answers

Shibaji

21 Answers

G Venkat

19 Answers

Satya

18 Answers

Rajamohan

17 Answers

Anshul

13 Answers

Manoj Kumar

13 Answers

Gyanendra

12 Answers

Sponsored

About UrbanPro

UrbanPro.com helps you to connect with the best C++ Language classes in India. Post Your Requirement today and get connected.

Find Best C++ Language classes?

Find Now »