강의

멘토링

로드맵

BEST
Programming

/

Algorithm & Data Structure

10-Week Completion C++ Coding Test | Algorithm Coding Test

The best coding test lecture that helped students pass Naver, Kakao, and Samsung coding tests in just 10 weeks!

(4.8) 345 reviews

4,887 learners

Level Basic

Course period Unlimited

  • kundol
Coding Test
Coding Test
C++
C++
Coding Test
Coding Test
C++
C++
kundol님의 프로필 이미지

Edited

Lesson update v23.01.24: getline description supplemented

Hello students, haha

The description of getline in the textbook has been improved.

Student provemyself99 gave feedback. Thank you so much for the feedback :)

Those who printed it out can just read the explanation below and skip it. Those who downloaded it and read it, please download it again.

The revised part is as follows: p24 getline description

However, there are situations where you set cin to receive T getlines and T getline inputs come in. In that case, you need to flush the buffer based on a specific string and receive it.

The reason is that when cin receives input, it receives input up to the line break character, and because of this, \n remains in the buffer in the middle. To remove this, you need to use getline(cin, bufferflush).


For reference, line breaks refer to single space or single line spacing.

 

thank you

Instructor lifts a big stone.


Comment