Anonymous
indexing what type of?
Anonymous
can u do that? to make corner cases under repetation...? I guess not see the pattern..though if anyone can please... and also a algo for green and blue squares without if-else?
Anonymous
bro dry run I design algo and test it before implementing it to code...
Anonymous
say then? in english words only no need of code...
Anonymous
corner cases are under repetation?
Anonymous
virtically top most block of square...
Anonymous
ok leave it it can't be that pattern is different any solution for blue and green blocks without if else?
Tomas
Does anyone know a good open source example where client (could be C) - server communication is implemented with tcp sockets, C++ and OpenSSL?
Anonymous
/warn English only
Im sorry it was just instant rxn
Anonymous
And usually expressed in mothertongue😟😟
Anonymous
Anonymous
Please solutions for this program tips
Anonymous
/warn read the rules
Anonymous
/warn
Anonymous
Chutiya
Sam
Please tell me what is the output of this program? #include <stdio.h> int main(void) { #undef NULL if(NULL) f printf ("hi"); } options 1.Compile error: NULL is undeclared 2. Hi 3.Compile error: there is no macro called "undef" 4.Compile error: improper place of #undef
Sam
Can anyone?.
klimi
Why?
klimi
Just try to run it
Sam
Where should I run? I'm beginner to c programming
klimi
Is this beginner tasks?
Sam
No But tomorrow I had test on like these similar questions So just trying to learn something
Sam
Usually I use jdoodle
Sam
But this site is not working properly
klimi
Okay...
klimi
You will eventually learn how to compile it
Sam
Ok
Neo
well i want to master pointers
Anonymous
Neo
Sumita Arora book
thanks for the advice
Neo
thank u
Anonymous
so i have a question regarding C . i just learning about the using aruguments argc and argv in the main function and how to utilize this inorder modify your programs in via command line . the program i have is suppose to use arguments written into command line when running your program , to analysis data from one document, and write new data to three other documents based on the content of that data, now my problem is with the error check i created, where i want it to display an error in the console when there is no file with the name i specify
Anonymous
https://pastebin.com/ZHEcyUqt
Anonymous
line 32 to 37 , is where i am talking about specifically , when the file exist in the folder , it works fine , but when i remove it and run it again , the error message does not show in the console
Anonymous
nvm
Anonymous
i didnt recompile lol
Vishal
Have you ever wondered How lambda function works internally? OR Have you ever seen Lambda function returning another Lambda function? if NO then see this http://www.vishalchovatiya.com/learn-lambda-function-in-cpp-with-example/
Anonymous
Hoi frnds
Anonymous
But the article seems ok
Anonymous
Please ask admins for permission to promote your blog next time, Vishal
Anonymous
int f(int x) is different from int x; outside the function?
Anonymous
int x as global variable different from the parameter int x... I mean
Anonymous
was in confusion for the same name...
Anonymous
thanks
Anonymous
Thanks
Pavel
This is a bad example We could use regular pointer to function
How costy is a lambda with empty capture list comparing to a pointer to a function?
Anonymous
It's about what it was like without them
Samuel
I wanted to use loop array and store in array, output array
klimi
What
klimi
I wanted to use loop array and store in array, output array
Its pastebin and you send screenshot of it.... Irritating
klimi
Samuel
What do you need?
https://pastebin.com/erQ4sb1d
klimi
No, what do you need? I don't need ur code
Samuel
Write a C++ application that inputs one number consisting of five digits from the user. You will need to separate the number into its individual digits and prints the digits separated from one another by two spaces each.Your program should include input validation and also ask the user if he or she would like to continue.
Samuel
It's actually working but it accepts letter instead of numbers
Talula
It's actually working but it accepts letter instead of numbers
You wanna say that you're taking information in a string rather than in an int?
Samuel
Yh
Talula
Yh
You have 2 inputs first one is taking a string the second one is taking int... Delete the first input and just use the second it already takes input in int... but the program written will work but it's not perfectly written I would say.
Samuel
Thank you
Talula
Thank you
https://pastebin.com/V997auz3