1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Taya2010 [7]
3 years ago
10

What do libraries allow you to do in C++, and how do you incorporate libraries into a C++ program?

Computers and Technology
1 answer:
ale4655 [162]3 years ago
3 0

Answer:

Libraries in c++ allows us to use common functions and data structures such as vectors,queue,stack etc.You have already used  iostream library by which you are taking input and printing the output with the help of cin and cout functions.

for example you should use vector library to be able to use vector in your program.

You can incorporate library in your c++ program by writing #include<library name> at the starting odf the program.

for example:-

#include<iostream> //including iostream library.

#include<queue> //including queue library.

using namespace std;

int main()

{

queue<int> q; //declaring a queue of integer type.

q.push(23);//adding 23 in the queue q.

q.push(56);//adding 56 in the queue q.

q.pop();//deleting element from the queue.

cout<<q.front()<<endl;//printing fornt of the queue..

return 0;

}

output :-56

You might be interested in
Two small engine technicians are disassembling the engine shown in Figure A-9. After observing the engine components, both techn
11Alexandr11 [23.1K]
<span>A splash-type lubrication system uses what the Technician A says :  that the engine uses a dipper that's attached to the connecting rod to splash oil from the crankcase onto its components. </span>In  the  engine, dippers on the connecting-rod bearing caps enter the oil pan with each revolution to produce the oil splash.  A passage is drilled in each rod from the dipper to the bearing to <span>ensure lubrication.</span> 
3 0
3 years ago
Why does a thermostat blade bend when heated or cooled?
serg [7]
A thermostat blade bends when temperature change happens because  it is made of two different materials which has different reaction to the temperature. Hope this answers the question. Have a nice day. Thank you for asking here.
6 0
2 years ago
Explain two protocols to enhance cellular networks capacity?
Korvikt [17]

The mobile network capacity can be improved by increasing the radio spectra or also increasing the re-utilization of a given spectrum.

<h3>What is mobile network capacity?</h3>

The mobile network capacity refers to the final volume of information (data) that can be transferred to a particular customer.

A mobile wireless system refers to a given network where the connection to and from customers consists of wireless technology.

The mobile network capacity is usually improved in a given area by increasing the radio spectra or increasing the re-utilization of the spectrum.

Learn more about mobile wireless systems here:

brainly.com/question/1763761

4 0
2 years ago
How is technology influencing traditional religious practice
Harlamova29_29 [7]

Answer:

From the printing press to the radio to the Internet, advances in communication technology have almost always instigated rapid and profound changes in religious practice. The proliferation of mobile devices like the iPhone is currently provoking a similarly profound change, simultaneously allowing worshippers to craft a personal religious environment in an otherwise secular world, but also diluting many practices central to all religions.  Already, hundreds of iPhone apps allow parishioners to bring Bible quotes, Torah-chanting practice and Buddhist prayer wheels wherever they go, allowing them to practice their religions in new times and spaces.  But some religious leaders worry that the inherently isolating and attention-diverting nature of smart phones has created a generation of worshippers unable to fully engage with the sublimation of self and quiet meditation that underlie both the Eastern and Western religious traditions.

Explanation:

8 0
3 years ago
List 3 ways that you can customise a form?
kherson [118]

Answer:

In MS Access a form is a database object that is used for the for the display, editing, or entering of data into a relational database or table

A form can be customized in in different ways with MS Access, as outlined by the Information Technology Services document on the University of Illinois Springfield website in including;

1) Adding/adjusting the controls

2) Adjusting the order of the Tabs

3) Using the Tab Controls

Explanation:

7 0
2 years ago
Other questions:
  • What is the value of the variable phones after the execution of the following code? phones = {'John': '5555555', 'Julie' : '7777
    6·1 answer
  • The times per second an audio file is converted from analog to digital is the ______. audio file format bandwidth sample rate wa
    5·2 answers
  • The _______ provides access to the internet; may also be internal?
    15·1 answer
  • Declare k, d, and s so that they can store an integer, a real number, and a small word (under 10 characters). Use these variable
    13·1 answer
  • Allocate 100 integers and assign the resulting pointers to the elements of ip_arr. Initialize each integer value to -1.
    6·1 answer
  • FTP is commonly used to __________ and __________ files to a server.
    12·1 answer
  • The letters a, e, i, o and u are the only vowels. Write a function named vowelUseDict() takes a string t as a parameter and comp
    7·1 answer
  • What are at least three tips to taking photographs of insects? Why would following the tips help create better photographs?
    10·1 answer
  • How to make google my default search engine on mac?
    9·1 answer
  • Split the worksheet into panes at cell G1.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!