Tejas
Tq
Ujjaval
#incliude<studio.h>
#include<conio.h>
void main()
{
int i,j,k=1;
int n=3;
int z,x=1,g;
c;rscr();
for(i=0;i<n;i++)
{
for(z=n-1;z>=i;z--)
{
printf(" ");
}
for(j=0;j<k;j++)
{
if(i==j)
{
g=(x+1)*(j+j);
g=(g==0)?1:g;
printf("%d",g);
continue;
}
x+=2;
printf("%d",x);
}
k+=2;
printf("\n");
}
getch();
}
Anonymous
Dima
Spirit
is there a way to pass #define VERSION "1.0.0" in inc/version.h to AC_INIT() in configure.ac
Spirit
im trying to incorporae autoconf in a c project and would like to define my version info in one place and use it throught my project
Ujjaval
progmatic99
#rules
Anonymous
What??
Why do we need your shitty code here?
Yashpal
char c=255;
c=c+10;
printf("%d",c);
What is the output and why?
Daniele°
Daniele°
with unsigned char print 9, overflow
Anonymous
Thank you...
Anonymous
Maybe we have to add a rule that one has to specify which language his question pertains to.
Anonymous
Because sometimes it is really difficult to tell.
Anonymous
How 3+2%5 is evaluvates as 5
Anonymous
Anyone
Anonymous
2%5=2
So 3+2=5
Anonymous
Ty
Azzam
Azzam
Are the students tickets available or not ??
Anonymous
why are you sendin it everywhere>'
Pratik
So that it wil reach everywhere
Pratik
To everyone
Anonymous
Anonymous
Hello
Anonymous
Anonymous
And this one, @Neko_cpp
Dima
Oh
Lucifer
Happy Friendship Day Bhai log
Dima
gg
Dima
What would one implement - masterserver query with tcp or udp?
Dima
I am thinking about to implement it via tcp, but some frameworks use udp without any reliability for this. I am wondering why, I think this is important information
Anonymous
Dima
forgot about this one
Sid Sun
the legend
Examples of c++ programs advanced
Anonymous
Sid Sun
https://hackaday.com/2019/07/30/c20-is-feature-complete-heres-what-changes-are-coming/
Sid Sun
MᏫᎻᎯᎷᎷᎬᎠ
Clubber
Anonymous
what happened?
Anonymous
Hi guys i need help
Anonymous
Sid Sun
Sid Sun
Onkar
who is top in hackerrank??
Onkar
means anyone completed all hackerrank problems?
Onkar
of c language
Anonymous
Anonymous
Any one pls explain g
Neutronix
I've another problem with some libraries:
Neutronix
Neutronix
And the file is in the same folder of the project
Neutronix
Neutronix
But anyway:
Neutronix
Elnee
Use double quotes instead of angle brackets
Elnee
Anyway I think you're doing this totally wrong. It's dynamic library.
Neutronix
Elnee
Ok thank you
You should use angle brackets for standard headers and double quotes only for your project specific headers
Stephanos
because <> or "" makes a difference in which directories the compiler looks for the .h file
Anonymous
Anonymous
It also helps readers of the code understand the code better
Mat
Anonymous
Preferentially?
If you write "stdio.h" and <stdio.h>, it'll compile anyway, won't it?
Mat
Anonymous
It will compile with the first one.
Anonymous
At least gcc 7 and 8 do.
Anonymous
"" will search on both the places
Anonymous
User dir as well as standard locations
Anonymous
Let's just use it the way it's supposed to be. "" for projectdir, <> for systemditr
Anonymous
😄
Anonymous
Infact, you should use <>