Библиотека C/C++ разработчика | cpp, boost, qt
Все самое полезное для плюсовика и сишника в одном канале. Как запустить своего ии-агента: https://clc.to/tvpmDQ По рекламе: @proglib_adv Для обратной связи: @proglibrary_feeedback_bot РКН: https://gosuslugi.ru/snet/67a5bac324c8ba6dcaa1ad17 #WXSSA
Show more📈 Analytical overview of Telegram channel Библиотека C/C++ разработчика | cpp, boost, qt
Channel Библиотека C/C++ разработчика | cpp, boost, qt (@cppproglib) in the Russian language segment is an active participant. Currently, the community unites 17 196 subscribers, ranking 7 726 in the Technologies & Applications category and 39 213 in the Russia region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 17 196 subscribers.
According to the latest data from 12 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -16 752 over the last 30 days and by -24 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.24%. Within the first 24 hours after publication, content typically collects 4.95% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 589 views. Within the first day, a publication typically gains 852 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 7.
- Thematic interests: Content is focused on key topics such as c++, навигация, компилятор, удалёнка, developer.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“Все самое полезное для плюсовика и сишника в одном канале.
Как запустить своего ии-агента: https://clc.to/tvpmDQ
По рекламе: @proglib_adv
Для обратной связи: @proglibrary_feeedback_bot
РКН: https://gosuslugi.ru/snet/67a5bac324c8ba6dcaa1ad17
#WXS...”
Thanks to the high frequency of updates (latest data received on 13 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
#include <filesystem>
int main()
{
std::uintmax_t size = std::filesystem::file_size("file.txt");
}
❗️Стоит учитывать, что если файл был открыт не только вами, то размер может быть изменён извнеthread_local int a; // thread_local
int b; // global
struct Test {
static int test; // static
};
int Test::test;
- Если мы инициализируем default значениями примитивных типов
void dunc(int t){}
f(int());
- Для явно не инициализированных Си-массивов
char a[5] = "123"; // a[3] = a[4] = 0std::array<int, 2> test{ 2,3 };
Начиная с C++17 можно оставить вывод размера компилятору
std::array test{ 2,3 };
Но если необходимо использовать шаблоны, то можно воспользоваться шаблонной магией
template<typename T, size_t N>
int size(const std::array<T, N>& types)
{
return N;
}typedef unsigned long ulong;
ulong bit_set(ulong number, ulong n) {
return number | ((ulong)1 << n);
}
❗️Очистка бита
- Используется побитовый оператор AND (&) , чтобы установить n-й бит number в 0 значение
- Вы должны инвертировать битовую строку с помощью побитового оператора NOT (~) , затем оператор &
ulong bit_clear(ulong number, ulong n) {
return number & ~((ulong)1 << n);
}
❗️Переключение бита
- Используйте побитовый оператор XOR (^) для переключения n-го бита number
ulong bit_toggle(ulong number, ulong n) {
return number ^ ((ulong)1 << n);
}
❗️Проверка бита
- Чтобы проверить бит, сдвиньте number вправо на n бит , затем воспользуйтесь &
bool bit_check(ulong number, ulong n) {
return (number >> n)& (ulong)1;
}class ITest
{
public:
virtual ~ITest() {}
virtual void Method() = 0;
};
class MainTest : public ITest
{
public:
virtual void Method() override
{
}
};
Available now! Telegram Research 2025 — the year's key insights 
