C+ programming research and basic terminology, create assignment statement using
ID: 3884420 • Letter: C
Question
C+ programming research and basic terminology, create assignment statement using basic properties of text box, label, radio button, checkbox on the picture box, and button controls by adding functionality into empty existing event procedure stubs. Use Internet to determine the attributes and methods of a string object in C+. Report your findings. Secondly select 5. C+ keywords and provide an exclamation of what each keyword is used for.C+ programming research and basic terminology, create assignment statement using basic properties of text box, label, radio button, checkbox on the picture box, and button controls by adding functionality into empty existing event procedure stubs. Use Internet to determine the attributes and methods of a string object in C+. Report your findings. Secondly select 5. C+ keywords and provide an exclamation of what each keyword is used for.
Explanation / Answer
For part (1) information seems to be insufficient.
part (2) :-
C++ Attributes:-
size_t
Methods:-
begin
Return iterator to beginning
end
Return iterator to end
rbegin
Return reverse iterator to reverse beginning
rend
Return reverse iterator to reverse end
cbegin
Return const_iterator to beginning
cend
Return const_iterator to end
crbegin
Return const_reverse_iterator to reverse beginning
crend
Return const_reverse_iterator to reverse end
size
Return length of string
length
Return length of string
max_size
Return maximum size of string
resize
Resize string
capacity
Return size of allocated storage
reserve
Request a change in capacity
clear
Clear string
empty
Test if string is empty
shrink_to_fit
Shrink to fit
operator[]
Get character of string
at
Get character in string
back
Access last character
front
Access first character
operator+=
Append to string
append
Append to string
push_back
Append character to string
assign
Assign content to string
insert
Insert into string
erase
Erase characters from string
replace
Replace portion of string
swap
Swap string values
pop_back
Delete last character
c_str
Get C string equivalent
data
Get string data
get_allocator
Get allocator
copy
Copy sequence of characters from string
find
Find content in string
rfind
Find last occurrence of content in string
find_first_of
Find character in string
find_last_of
Find character in string from the end
find_first_not_of
Find absence of character in string
find_last_not_of
Find non-matching character in string from the end
substr
Generate substring
compare
Compare strings
Keywords:-
this :- Pointer to the current object
struct :- Used to define a coompound data structure consisting of multiple simple or compound entities
typedef :- Preprocesseor directive too define alias for a type
const :- used to declare a constant
template :- used to define a template class
value_type char traits_type char_traits<char> allocator_type allocator<char> reference char& const_reference const char& pointer char* const_pointer const char* iterator a random access iterator to char (convertible to const_iterator) const_iterator a random access iterator to const char reverse_iterator reverse_iterator<iterator> const_reverse_iterator reverse_iterator<const_iterator> difference_type ptrdiff_t size_typesize_t
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.