answersLogoWhite

0

#include <libraryname>

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What command is used to make the functions in a library available in c?

You have to include the library into your assembled code by using an #include pre-processing directive. (It is the header file what you include, not the library.)Further, the author of the library functions would have had to set the accessibility of the functions to public.


How do you construct the C plus plus program that will accept 10 integers number code?

#include&lt;iostream&gt; #include&lt;conio.h&gt; #include&lt;string&gt; int main() { std::cout &lt;&lt; "Enter your 10 digit code: "; size_t code=0; size_t len=0; while (len&lt;10) { char c = (char) _getch(); if (c=='0' &amp;&amp; !code) // leading zero not permitted! continue; if (c&gt;='0' &amp;&amp; c&lt;='9') { ++len; std::cout &lt;&lt; c; c -= '0'; code *= 10; code += c; } } std::cout &lt;&lt; "\n\nYou entered: " &lt;&lt; code &lt;&lt; '\n' &lt;&lt; std::endl; }


Is C plus plus preprocessor software?

Sometimes, it is. Some implementations compile C++ code into C code, and then compile the C code.


Source code for instrumental music in c and c plus plus?

Neither C nor C++ provide any built-in methods to reproduce audio. They are generic languages; audio is hardware-specific. To play audio, you need an audio library suitable for your hardware. OpenAL is the generic audio library equivalent of OpenGL for graphics.


Why don't you use c plus plus instead of c?

The choice of language is one of availability of a compiler, a library, an environment, and what the existing code is written in. Often, the existing code is written in C because that was available before C++ and was more defined. Also, C++ introduces complexity, although it has great value, and C might be more appropriate for certain applications, such as operating system internal code.


What are the image formats supported by c plus plus?

C++ does not provide any native support for graphics of any kind, including graphic image formats. This is because graphics are platform-specific while C++ is a generic language. You can, of course, use graphics in C++, but you need a graphics library and API that is specific to your platform and hardware. There is no generic code available as the code you use is entirely dependant upon the library.


How do you get the c plus plus standard library on your compiler?

platform-dependent


What is a library function in C plus plus?

This are the predefined functions in c, which are already write.Examples : printf(),scanf().


How do you enter a sentence as input in c plus plus?

Use the C++ getline() function from the standard library.


Where is the Example of a c plus plus code?

#include&lt;iostream&gt; int main() { std::cout &lt;&lt; "Hello world!" &lt;&lt; std::endl; return(0); }


What is the mean c plus plus in machine code?

It is used to distinguish between the C or C++


What is the operator of power in c plus plus?

There is no "power" operator in C or C++. You need to the use the math library function pow().