Skip to content
Snippets Groups Projects
Commit 41f58474 authored by Vojtěch Novotný's avatar Vojtěch Novotný
Browse files

test_cv

parents
No related branches found
No related tags found
1 merge request!1Cviceni
#include <iostream>
using namespace std;
namespace A
{
int a;
int b;
namespace B
{
int a;
int b;
} // A::B::a;
}
using namespace A;
int main()
{
std::cout << "ahoj PPC" << std::endl;
int a = 10, b = 20;
std::cout << "a = " << a << std::endl;
std::cout << "a + b = " << (a + b) << std::endl;
float c = 10.0f;
cout << "c = " << c << "\n";
A::a = 33;
cout << "A::a = " << A::a << "\n";
return 0;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment