Jump to content

First Timer

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
hetra

hetra

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 297 posts
Hey I'm new to this forum and would like to ask about C++ libraries and what they are.

BTW I'm a newbie so just take it easy. Thanks.

#2
Phoenixz

Phoenixz

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 256 posts
This is quite a friendly forum so no need to ask "take it easy" XD

C++ libraries are what you #include <library> at the top of your program, it's a group of classes, functions, and features basically that you can use, it is what allows you to write cout << "whatever"; and literally every other line of scripting.

C++ Reference <- a nice website about it!
Posted Image

#3
Feral

Feral

    Programmer

  • Members
  • PipPipPipPip
  • 162 posts
Actually a library is a way to package a group of functions, classes or other data types.

There are two types of libraries Static and Dynamic, a Static library is included into your program when you compile it. A Dynamic library is more commonly known as a dll or so file.

@Phoenixz its actually #include <file> not <library>, and is generally <header> tho you can use it to include any type of file.

#4
pokevitek

pokevitek

    Newbie

  • Members
  • PipPip
  • 21 posts
I assume you mean C++ standart library. Like Phoenixz said, its group of clases and functions developed to help you. For example, C++ has no build-in I/O capability, so iostream library was written to do this for you.