answersLogoWhite

0


Best Answer

Predefined functions are built-in functions that perform standard operations and that generally do not depend on any classes. A predefined void function is simply a predefined function that has no return value. An example of a predefined void function is the abort() function which typically has the following signature:

void abort(void);

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

Function templates are generic functions.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a Generic Function in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What does generic programming in c plus plus means?

Generic programming means that the code is generic enough that it compile on any C++ implementation. That is, it has no platform-specific code.


What is the function that compute the CPU utilization in c plus plus language?

There is no such function in C++ as the implementation is hardware-dependant and would require a low-level operating system API call. C++ is designed to be as generic as possible, thus there are no built-in functions to cater for this. See related links below for an article which describes how such information can be obtained.


A c plus plus statement that invokes a function is known as?

...a function call.


What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


Why to use gotoxy function in c plus plus?

to locate coordinates ..

Related questions

When does c plus plus use generic function implicitly?

C++ uses the generic function implicitly whenever the base class implementation (the generic method) is also the most-derived implementation.


What does generic programming in c plus plus means?

Generic programming means that the code is generic enough that it compile on any C++ implementation. That is, it has no platform-specific code.


What are the building function in c plus plus?

There is no such term as "building function" in C++.


What is textcolor in c plus plus?

C++ does not have a generic textcolor function. That function only exists in Borland/Embarcadero versions of C++. It is used to change the colour of console text. Code that uses this function is not compliant with the C++ standard and can only be used on Borland/Embarcadero compilers. You could write your own version of the function, but unless you provide all the necessary cross-platform alternatives your code will not compile on all platforms.


What is the function that compute the CPU utilization in c plus plus language?

There is no such function in C++ as the implementation is hardware-dependant and would require a low-level operating system API call. C++ is designed to be as generic as possible, thus there are no built-in functions to cater for this. See related links below for an article which describes how such information can be obtained.


A c plus plus statement that invokes a function is known as?

...a function call.


What are the objects used in dev c plus plus?

Objects in Dev C++ are the same as objects in generic C++, insofar as an object is an instance of a class.


When will you make a function inline in c plus plus?

yes,we can make function inline


What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


In C plus plus when a function is executing what happens when the end of the function is reached?

Control is returning to the caller of the function.


What do you call an object function in c plus plus?

method


What is a main function in c plus plus?

It is the first function that gets called when the program is executed.