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ᏫᎻᎯᎷᎷᎬᎠ
Anonymous
template for? Why not for constexpr?😂
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
Or some help?
Mat
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.
Roy
Pavel
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.
Pavel
Roy
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
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
aymuos
Anonymous
What ban
Lucky
I_Interface
Giri
Hey guys give interview tips for me
Giri
How to speak in an interview
Nomid Íkorni-Sciurus
what is that [[ ]] ? and what is template for ?
Jide
and not ans
klimi
klimi
(if the company is good)
Giri
Giri
Giri
I understand
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Damn dima
MᏫᎻᎯᎷᎷᎬᎠ
It looks nice😂😂
Giri
Jide
omg and not abd
Jide
wtf is wrong with my qwerty
Giri
I cleared first two rounds
Jide
Giri
And tomorrow we have another rounds like technical and final HR interviews
Giri
Jide
Jide
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..???
klimi
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
عزة