klimi
ok
rex
#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { FILE *f,*c; char ch,cr[200],a; int i=0,j=0; system("cd"); c=fopen( "math.txt","r"); f=fopen("mac.txt","w"); while(j!=4) { i=0; while((ch=fgetc(c))!='\n') { i++; } if(i>20) { while((ch=fgetc(c))!='\n') fputc(ch,f); } j++; } fclose(c); fclose(f); }
rex
now see
rex
it shows infite loop
rex
rather being copied
Artöm
No \n in files maybe
Roy
hi, me need get uint16_t from uint32_t, what method is correctly? static cast or var & 0xFFFF ? example uint32_t wtf = ((100 << 16) | 55); std::cout << static_cast<uint16_t>(wtf); std::cout << (wtf & 0xFFFF);
Roy
i think both correct
MᏫᎻᎯᎷᎷᎬᎠ
C++2B
Anonymous
C++2B
template for? Why not for constexpr?😂
MᏫᎻᎯᎷᎷᎬᎠ
template for? Why not for constexpr?😂
Maybe it's some kind of iteration over variadics parameters!!!🤷🏻‍♂
klimi
Ajay Ambaliya: @Aliensn https://github.com/AAJAY5/embeddedDebug
Haile
I'm new for this group so is c friendly for beginners
Idiriz906
Hi brothers i need an easy and simple project about c++
Idiriz906
Its my presentation in the class 🙏🙏
Idiriz906
Any one helps me to the source code 🙏🙏
Mat
Any one helps me to the source code 🙏🙏
Do you want the source code of a project?
Mat
Or some help?
Mat
I'm new for this group so is c friendly for beginners
It's not friendly, nop. It's not really easy to learn without some effort from you
MᏫᎻᎯᎷᎷᎬᎠ
Any one helps me to the source code 🙏🙏
Go check some google stuff, it's full of C/C++ source codes
MᏫᎻᎯᎷᎷᎬᎠ
Subset of C++ So recently I was going through Rust docs in an attempt to learn the language and what struck me was how the language is designed in a way to enforce best practices by default which led me to wonder is it possible to have a subset of modern C++. Prior to rust I have been learning C++(infact the language is so vast and ever growing that I am still finding several new things about it), however what I find most interesting is how several tutorials or conferences try to educate people about modern C++ or best practices in C++ and how the language has evolved since C++1z and why we should be using the modern features. C++ in an attempt to support legacy code and C features has ended up becoming a massive language with ton of features and maybe at times fairly confusing for new people. With such a massive focus on modern C++ and teaching people about all the RAII techniques, smart pointers, containers, STL, algorithms and so much more, is it possible to just have a subset of C++, which enforces these best practices by default and let people study only the new/modern aspects of C++ leaving behind the legacy versions? https://redd.it/ee3a48 @r_cpp
MᏫᎻᎯᎷᎷᎬᎠ
The answer is: By using Epochs
MᏫᎻᎯᎷᎷᎬᎠ
I believe it's the key to keep modernizing C++ in a steady and convenient way for the next 100 years
Anonymous
Hello guys
Anonymous
I got a question
Anonymous
I installed visual studio in my windows 8.1 PC , and I couldn't run the code, message appered, it said, couldn't open a file or directory.
Pavel
C++2B
I think also char can be replaced with std::byte
Jøhn
Best way to modernize C++ is to stop writing new software in it.
Roy
C++2B
I am not so strong in C ++, but in one of the articles I saw how a guy used constexpr for "if/else" conditions of different types without using tuple, I don’t remember what it was called.
AZ
Can anyone suggest me any YouTube channel who teach C from scratch I am beginner so pls channel which teach from scratch
Dima
No
Dima
C++2B
Fuck this shit I am out
Reza
Ada yang tau cara terbaik untuk menggunakan Mysql di Xampp dan Mysql Workbench agar tidak bentrok dengan alamat port yang sama, saya sudah mencoba mencari macam2 tutorial yang ada di internet tapi masih blm menghasilkan solusi. Help Me...
Reza
Dima
Lol
Dima
People won’t learn
Anonymous
How to hack Whatapp of my bro
Anonymous
What ban
Lucky
I_Interface
How to hack Whatapp of my bro
/ban Congratulations! You are hacked.
Giri
Hey guys give interview tips for me
Giri
How to speak in an interview
Nomid Íkorni-Sciurus
C++2B
what is that [[ ]] ? and what is template for ?
Jide
How to speak in an interview
answer the questions ans speak simple
Jide
and not ans
Giri
answer the questions ans speak simple
How u should answer for your strength and weakness?
klimi
(if the company is good)
Giri
I understand
MᏫᎻᎯᎷᎷᎬᎠ
Fuck this shit I am out
😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
Jide
How u should answer for your strength and weakness?
say you are working on your strength, abd completely ignoring your weakness
MᏫᎻᎯᎷᎷᎬᎠ
Damn dima
MᏫᎻᎯᎷᎷᎬᎠ
It looks nice😂😂
Jide
omg and not abd
Jide
wtf is wrong with my qwerty
Giri
wtf is wrong with my qwerty
Tomorrow I am attend Newgen interview
Giri
I cleared first two rounds
Jide
Tomorrow I am attend Newgen interview
In what ever you do, be yourself
Giri
And tomorrow we have another rounds like technical and final HR interviews
Giri
In what ever you do, be yourself
Okk bro I try to put my 1000%
Giri
🤩
Yakov
Hi everyone
Yakov
I have a question. I’m making small console app in C++/Xcode 11 for my programming class, I got main algorithm right, but stuck with one problem. So, basically when my teacher inputs string that has “\n”s in it my app says multiple times that input is incorrect. But I need only one output about incorrect input. Maybe I need to convert those multiple strings into one long string? But how? Thanks in advance.
Yakov
(Example of input that triggers multiple warnings - just piece of the program code copied and pasted)
Artöm
cin.ignore maybe
عزة
Hello can you give me book for Matters and answers to cpp..???
Anonymous
Any study material if available for java
itsmanjeet
i write a dynamic library which use a lots of libraries to provide various features like classes to easily build cli app and gui app for gui app it depends on gtkmm i build only a cli app with this now the cli app is also linking with gtkmm and other extra libraries which are unnecessary can i stop this or remove extra linkings
عزة