#!/bin/bash
cd <ваша папка>
files=`find | sed 1d`
for f in $files; do
#echo mv $f "${f,,}"
mv $f "${f,,}"
done
#include <iostream>
class Base
{
public:
virtual void foobar(){}
// или:
//virtual void foobar() = 0;
virtual ~Base(){}
};
class Child : public Base
{
public:
virtual ~Child() {}
void foobar() override { std::cout << "foobar" << std::endl; }
};
int main()
{
Base *b = new Child;
b->foobar();
delete b;
return 0;
}
void foo(A& a)
{
if (B* b = dynamic_cast<B*>(&a))
b->getSome();
}