Pavel
Or how can i improve in logics
There are websites like codingame.com where you can practice in solving problems
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(); }
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°
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
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
Hello
Anonymous
Hello
Nohello.com
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
Why don't ask you it in @ProCxx?
Yeah, I think there are less indians 😂 gotta ask now
Dima
forgot about this one
Sid Sun
the legend
Examples of c++ programs advanced
Sid Sun
https://hackaday.com/2019/07/30/c20-is-feature-complete-heres-what-changes-are-coming/
Sid Sun
Clubber
Hi guys,need your help
Anonymous
what happened?
Anonymous
Hi guys i need help
Sid Sun
Hi guys i need help
God only helps those who help themselves
Anonymous
Sid Sun
Hi guys i need help
Read pinned post.
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.
Elnee
Ok thank you
You should use angle brackets for standard headers and double quotes only for your project specific headers
Neutronix
Use double quotes instead of angle brackets
But why without double quotes it doesn't work?
Stephanos
because <> or "" makes a difference in which directories the compiler looks for the .h file
Anonymous
It also helps readers of the code understand the code better
Anonymous
Preferentially?
If you write "stdio.h" and <stdio.h>, it'll compile anyway, won't it?
Mat
If you write "stdio.h" and <stdio.h>, it'll compile anyway, won't it?
It won't with the first one unless it's in the same directory of your source file
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
Mat
"" will search on both the places
Oh, last time I tried it didn't. Well, that's useless and confusing
Anonymous
Let's just use it the way it's supposed to be. "" for projectdir, <> for systemditr
Anonymous
😄
Anonymous
Infact, you should use <>