본문 바로가기 메뉴 바로가기

Studying programming

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Studying programming

검색하기 폼
  • Jimin's Programming (194)
    • Algorithms (54)
    • JavaScript (16)
    • Vue.js (3)
    • Node.js (3)
    • React.js (7)
    • React Native (0)
    • Spring Boot (13)
    • JAVA (58)
    • C++ (17)
    • Programming (19)
    • Computer basics (4)
  • 방명록

C++ (17)
Vector & List in C++

Vector & List VectorItems are stored in contiguous memory and assigned their own slots. Each item in Vector can be accessed by index and new items can be inserted at the end or in the middle.Vector automatically deletes [] to prevent memory leaks. Syntax for Vector vector variable_name (number of elements); ListList can be inserted and deleted at every position. If insertion and deletion are fre..

C++ 2018. 11. 22. 14:17
Virtual Function in C++

Virtual Function return data type must be the same.It is better not to use it when calls are frequent because a program can get slow.The reason for using a virtual function is the same as that of inheritance. The member function can be called as an object of the parent class. Example code 1234567891011121314151617181920212223242526272829303132333435363738394041424344class Fruit {protected: strin..

C++ 2018. 11. 22. 13:00
Friend in C++

Friend Friend allows access to members and methods declared private or protected by other classes or functions of other classes. It is used only in unavoidable situations such as operator overloading because it is in violation of encapsulation. Example code 12345678910111213141516171819202122232425262728293031using namespace std; class Apple; //forward declaration class Banana{private: int m_cou..

C++ 2018. 11. 22. 12:26
Templates (Function Template & Class Template) in C++

Templates in C++ Templates in C++ are a function or a class to implement with multiple data types using templates. Templates are the basic part of the *generic programming. The template has two different types, Function template and Class template. Generic programmingGeneric programming is a programming method that can increase the reusability by focusing on a way in which one value can have mul..

C++ 2018. 11. 10. 03:45
Exception handling (Try Throw and Catch) in C++

Exception handling in C++ Exception handling is the method you use to make the program work normally under abnormal circumstances(with different errors) but Try, Throw and Catch can't replace every error handling circumstance because it could cause poor performance. It is good to use for the situation which happened difficult to predict the result. But, Try, Throw and Catch strictly handle type ..

C++ 2018. 11. 9. 13:03
Inline function in C++

Inline function In C++, Inline function increases efficient performance to prevent function call overhead, if a small function has to be repeated. However, the inline function is not a command, which means compiler may ignore the request. Additionally, even though every function are changed to the inline function, it doesn't guarantee that it increases efficiency all the time because compiler de..

C++ 2018. 11. 9. 10:02
이전 1 2 3 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • math.max
  • compareTo()
  • Collection Framework
  • code refactoring
  • 알고리즘
  • spring boot application
  • C++
  • hackerrank solution
  • Object type casting
  • math.abs
  • hackerrank javascript solution
  • substring()
  • 프로그래머스 알고리즘
  • HashMap
  • algorithm
  • java
  • rest parameter
  • 프로그래머스 알고리즘문제
  • 프로그래머스
  • easy algorithm
  • hackerrank javascript
  • javascript
  • easy javascript algorithm
  • repeat()
  • hackerrank
  • HackerRank Algorithm
  • ... in Javascript
  • string class in java
  • Javascript Algorithm
  • equals()
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바