I want 50VOCABULARIES AND THEIR respective FUNCTIONS from the programs attached
ID: 3905541 • Letter: I
Question
I want 50VOCABULARIES AND THEIR respective FUNCTIONS from the programs attached above....exclude the simple ones like (cin,cout,e.t.c)
I Fig. 18.3: i 18 03.cpp 2 Passing a Seack template object 3 to a function tplate. Finclude string 6 #include "Stack.h. // Stack class tenplate definition 7 sing namespace std 9 function tesplate to manipulate Stacks T 10 templates typename T void testStack 12 Stack initial value to push const T const T &increrent;, incresent for subsequent values size t size, fueber of items to push 16 const string &stackMine; ? // nase of the Stacke T > abject Fig. 18.3 Passing a Seack template object to a function template. (Part I of 2) 772 Chapter 18 Introduction to Custom Templates 8 Cout «Explanation / Answer
Int: Integer Datatype stack: a data structure with first in last out characteristics private: Data access modifiers, data declared private can be only accessed by the class methods const: This declares a variable constant, once declared the value of the variable cannot be changed return: returns a variable from a function void: if any function has nothing to return then call it a void function bool: a boolean data type, variables declared using this data type can hold any one of the values true or false size_t: unsigned integer data type public: access specifier in a class and variables declared public can be accessed even from outside the class deque: this is a data structure known as a double-ended queue. stack.top(): this function returns the topmost element of a stack stack.size(): this function returns the total number of elements in a stack. stack.pop_front(): returns the topmost element in a queue. stack.empty(): returns a boolean value depending on if the stack is empty or not stack.push_front(push value): it pushes the push value in the stack double: if a variable declared double it can hold a double precision real number while: it is a loop construct which loops the statement block below the while statement till the condition inside the while statement is true for: it is also a loop statement with three parts initialization, condition and modification. The initialization part initializes the looping variable, condition holds the loop invariant and the modification part modifies the looping variable according to the need. The loop continues till the condition holds using: using keyword used to include one namespace namespace: name of a namespace std: std is one of the namespaces handles basic input output operatons of the program. iostream: header file which contain basic headers of input output. string: string is a header to handle string releated operations.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.