Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Using string allows you to easily manipulate strings, including operations such as concatenation, finding

substrings, and more, without worrying about manual memory management.

(Kumbaga kaya natin ginamit ang strings ay para mas mamaximize natin yung paggamit natin ng string)

Using vector is a dynamic array that provides the user dynamic sizing, automatic memory management,
and various useful functions for manipulating the elements

(Kumbaga kaya natin ginamit ang vector ay para dun sa mga variables na dineclare natin ay mag-work
and mabasa siya at mapatakbo o mapagana ang isang function kung saan kabilang ito. At ito ay ang
gamit na gamit sa aming system dahil sa mga kadahilanan na ito ang aming ginamit sa functions na enroll
and display enrolled students.)

std Namespace:

(Pag gumamit tayo ng mga standard words eh mababasa parin ng program)

class:

(Kaya naman tayo gumamit ng class ay para ma-specify natin ang isang variables sa mga function na
gagawin or kung saan sila mag-fall under.)

public and private:

(Ang public at private naman ay tipo naman ng access specifiers from its term public lahat ng variable
and function na gagamitin natin is accessible padin sa ibang part ng program. Ngayon naman ang private
naman ay contradiction nito, ang mga ginamit natin dun ay limited lang.)

void:

(Ito naman ay return type. Ito naman ang ginagamit natin to declare a functions but does not return a
value.)

The push_back method is then used to add the newly created Student object to the respective
std::vector. This effectively increases the size of the vector and stores the new student information.

You might also like