You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kalinosia edited this page Mar 13, 2021
·
1 revision
INCLUDE AND USING
BIBLIOTEKI
#include <iostream>
PLIKI KTÓRE MAMY W PROJEKCIE
#include "nazwapliku.rozszerzenie" (np. "headers.h")
NAMESPACE
using namespace std;
It's ok to use this. In small projects. In projects where we don't use different namespace.
But when we have more libraries and we need use diferrent namespace then we need use std:: before some expression (...).
For exaple:
int main()
{
int i=0;
std::cout<<"Give me some number: ";
std::cin>>i;
std::cout<<"Thanks"<<std::endl;
}