Daniele°
char num[60]; size_t i=60; num[--i]=0; while(number>0){ num[--i]=numer%10+'0'; number/=10; } fputs(&num[i],stdout); More elegant
Daniele°
char num[21]; size_t i=21; num[--i]=0; while(number>0){ num[--i]=numer%10+'0'; number/=10; } fputs(&num[i],stdout); 64bit max digit unsigned
Daniele°
char num[20]; size_t i=20; int sign = number < 0; num[--i]=0; while(number>0){ num[--i]=numer%10+'0'; number/=10; } if( sign ) putchar('-'); fputs(&num[i],stdout); 64bit max digit signed
Daniele°
char* ntos(long number ){ static char num[20]; size_t i=20; int sign = number < 0; num[--i]=0; while(number>0){ num[--i]=number%10+'0'; number/=10; } if( sign ) putchar('-'); return &num[i]; }
Daniele°
int main(int count, char** argv){ puts(ntos(count)); }
Anonymous
Ouuuh
Dima
Anonymous
Anonymous
/I have read
Anonymous
thank you rose
Anonymous
Look for someone who brings me software projects and takes
Anonymous
Send me a private message
Anonymous
read and understood😁
Raju
Guys! Does anyone knows about LEX programming using C ?
Miradil
Are there any freelance projects for C/C++?
MᏫᎻᎯᎷᎷᎬᎠ
Hi
The first message when I got here
MᏫᎻᎯᎷᎷᎬᎠ
and still sucks XD
Ghoul
MᏫᎻᎯᎷᎷᎬᎠ
Nice profile pic you got there
MᏫᎻᎯᎷᎷᎬᎠ
Ima take it
BinaryByter
lol powershell is a fucking beast
ア ン ド レ イ
Anyone knows places to learn opencl?
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
klimi
.
.
Dima
.
.net
klimi
nu
MᏫᎻᎯᎷᎷᎬᎠ
.net
.com
BinaryByter
powershell is extremely cool
BinaryByter
think bash but you pipe C# objects
MᏫᎻᎯᎷᎷᎬᎠ
if I in a middle of hard debate with C# programmerS in fron of 50 students what to say
MᏫᎻᎯᎷᎷᎬᎠ
C++ vs C#
BinaryByter
C# is fine
MᏫᎻᎯᎷᎷᎬᎠ
I know
BinaryByter
Not as fast as C++ but efficient
MᏫᎻᎯᎷᎷᎬᎠ
how to fuck it
MᏫᎻᎯᎷᎷᎬᎠ
Dima
Dima
(jk)
klimi
?
Dima
you can’t read?
BinaryByter
and ??
efficient for the programmer
BinaryByter
easy to do gui in it
MᏫᎻᎯᎷᎷᎬᎠ
dima always talk with symbol kek top kek XD
MᏫᎻᎯᎷᎷᎬᎠ
Dima
I didnt write kek
MᏫᎻᎯᎷᎷᎬᎠ
yeah i know
MᏫᎻᎯᎷᎷᎬᎠ
is there any other context than effeiciency?
BinaryByter
really?
really
Dima
yeah so funny
Talula
if I in a middle of hard debate with C# programmerS in fron of 50 students what to say
It all depends on what you want to do. 1. C++ if you wanna make a low level Windows program that is not going to be compatible with anything else unless you use some extarnal technology like GTK or Qt. 2. C# if you want to make program quick and don't care much about freeing resources or worry about handling things manually.
Talula
C is better 😂
For what? Try doing Windows Application in C and try to compile it on Linux.
Talula
C isn't even used in Embedded System programming anymore.
Dima
ayy
klimi
fk this world
Talula
fk this world
World is fine... it just doesn't listen to our commands.
Talula
> low level windows program
What is a low level Windows program? GUI or System?
Dima
you said that
Dharmik
Hii
MᏫᎻᎯᎷᎷᎬᎠ
C
What in the world!!!?
MᏫᎻᎯᎷᎷᎬᎠ
Smart pointers xD
MᏫᎻᎯᎷᎷᎬᎠ
And quick things depend on its API
MᏫᎻᎯᎷᎷᎬᎠ
which is not a way to measure a programming language
MᏫᎻᎯᎷᎷᎬᎠ
They say C++ can't make a Windows app such as C# ones
MᏫᎻᎯᎷᎷᎬᎠ
With their knowledge i can't deny them
MᏫᎻᎯᎷᎷᎬᎠ
But deep down It can even make way better
Talula
They say C++ can't make a Windows app such as C# ones
They say... Smart pointers are not the only thing, freeing and making sure all the resources and memory is freed properly is also important, C++ doesn't have a grabage collector.
MᏫᎻᎯᎷᎷᎬᎠ
With their knowledge i can't deny them
And the purpose is to the debate So mission failed
Dima
with a taste of overhead