Hasna
What is the use of sbrk
Programmer
It is system call used by functions like malloc,calloc and realloc to allocate memory ....
Hasna
Is there any simple example of the use of sbrk ?
Programmer
exo
Rose
User CYRUSS has 1/2 warnings; be careful!
Reason:
offtopic spam
Never Spam Bot
Luana Mavila sent multiple messages that looks like a spam.
To stop the bot from deleting your messages, write something non-suspicious. Or find out why here.
Spam deleted in this group: 2187
Stark
Dima
oh hell
Robot
https://google.github.io/styleguide/cppguide.html
Hasna
why #define header_h
not #define header.h ?
Eccentric
sil 🍅 ▪️
hey guys, im trying to clone and i just copied the codes
if im to host, do i get the information entered into the site or does it return to the original?
klimi
sil 🍅 ▪️
Eccentric
Bruh u know nothing about me
Eccentric
Stop it bruh💀
Michael Scofield
Eccentric
Michael Scofield
Kelvin
Does anyone know where I can learn how to write recursion?
Eccentric
klimi
exo
Michael Scofield
exo
Michael Scofield
Kelvin
Kelvin
Do you have any good websites or sources to recommend?
Michael Scofield
Why was my message deleted?
Rose
That's 2/2 warnings; Arnav IPS is banned!
Reasons:
1: non english
2: spam
MᏫᎻᎯᎷᎷᎬᎠ
Why const double a = 1; cannot be evaluated at compile time like const int a = 1;
My guess is because floating-points will have a special treatment across different hardwares
But then why constexpr double a = 1; will evaluate at compile time and const version not?
klimi
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
the question is: why integral only?
Ludovic 'Archivist'
the question is: why integral only?
Because the results of floating point operations is not standardized and may suffer from platform or device specific imprecisions
MᏫᎻᎯᎷᎷᎬᎠ
Ludovic 'Archivist'
Or using a double as a template parameter
MᏫᎻᎯᎷᎷᎬᎠ
I mean
Since double can be known at compile time with constexpr, then why it can't be with const
MᏫᎻᎯᎷᎷᎬᎠ
Awkwardly this compiles
consteval double foo()
{
const double a = 1.0;
return a;
}
int main()
{
constexpr double f = foo();
}
but this does not
int main()
{
const double f = foo();
static_assert(f == 1.0);
}
this compiles
int main()
{
const int a = 1;
static_assert(a == 1);
}
Rose
User summer has 1/2 warnings; be careful!
Reason:
nohello.com
Doraemon
//run-time error: iterators denoting the range to copy from
//must not refer to the same container as the one we are changing
slist.insert(slist.begin(), slist.begin(), slist.end());
When we pass a pair of iterators, those iterators may not refer to the same container
as the one to which we are adding elements.
IS THIS STILL this way? i just test it, no run-time error happend, and i can cout the element in the list
Chat Boss
ㅤMᏫᎻᎯᎷᎷᎬᎠ sent a code, it has been re-uploaded as a file
MᏫᎻᎯᎷᎷᎬᎠ
any clue @QNeko?
Rose
That's 2/2 warnings; Hua Guliang is banned!
Reasons:
1: random GM
2: nohello.com
Rose
User Vijay has 1/2 warnings; be careful!
Reason:
spam / offtopic / nohello.com
Rose
User Ray【レイトレーサル】Tracer has 1/2 warnings; be careful!
Reason:
nohello.com
Hasna
How do we find a file in C on OS Windows ?
exo
Red
Which button
Maxim
we are not here to solve your homework
Ragavan
Write the c program to print 1 to n even numbers
klimi
amine
hello i have problem how do i call for dimensional arays n alocate them staticaly in a fonction
SelflessGene
Similarly
SelflessGene
SelflessGene
Logics should be easy and similar
Ziky
Ludovic 'Archivist'
any clue @QNeko?
Clang may not yet be compliant. It has been late on these things for quite a while
SRI
With out main function program execution is it possible
exo
SRI
In programming c without main function program execution is it possible
SRI
#include<stdio.h>
int satish()
{
printf("satish");
return 0;
}
MᏫᎻᎯᎷᎷᎬᎠ