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

GROUP 2

SCHOOL
B S I E - 3 D
ENROLLMENT
SYSTEM
GROUP 2

01 STRING

Using string allows you to easily manipulate strings,


including operations such as concatenation, finding substrings,
and more, without worrying about manual memory
management.
GROUP 2

02 INT

Int, short for "integer," is a fundamental variable type built


into the compiler and used to define numeric variables holding
whole numbers.
GROUP 2

06 Public & Private

The terms "public" and "private" refer to types of access


specifiers. In the case of "public," all variables and functions
that we use are still accessible in other parts of the program. On
the other hand, "private" contradicts this, as the ones we use
there are limited in scope.
GROUP 2

07 Void

This is the return type. We use this to declare a function that


does not return a value.
GROUP 2

08 Push back Method

Use 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.
GROUP 2

08 cin.ignore

The purpose of cin.ignore is to discard (ignore) a specified


number of characters from the input buffer. It is often used to
skip over unwanted characters, such as newline characters ('\n'),
left in the input buffer after a previous input operation.
GROUP 2

08 getline

It is a function that belongs to the <string> header and is used to


read a line or sequence of characters from an input stream (such
as cin) and store them as a string. It allows you to read an entire
line of text, including any whitespace characters, until a
specified delimiter or the end of the file.
GROUP 2

SCHOOL
ENROLLMENT
SYSTEM CODE
B S I E - 3 D
GROUP 2

Header file
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2
GROUP 2

TRY TO RUN THE


CODE USING GDB
ONLINE DEBUGGER :)
GROUP 2

THANK YOU
FOR LISTENING!

You might also like