Parv
Plz help me to understand return statement
Parv
Why we give return 0 in the end of coding in c
Amy
That's the c standard writing, some idea will have messages about return value after program exit .
রোhन
Write a C program to replace a word from a sentence ? Can anyone send me code for this question.
রোhन
Nd please name a advanced book for C programming. Book which include dynamic programming or every thing a C programer can wish for .
রোhन
🙇‍♂🙇‍♂🙇‍♂
Talula
Why we give return 0 in the end of coding in c
Because the OS has to know what is the status of your program, if it was normal then you return 0, in case you return other number it is considered as an Error number.
Anonymous
Hello I m student , don't know how star programming how learn C/c++ programming how start?
Talula
Hello I m student , don't know how star programming how learn C/c++ programming how start?
Read books and watch some YouTube videos... And if you want to learn programming for fun then don't start with C/C++.
Anonymous
Which books are very good for learners
Parv
/get
Anonymous
Ok Thank you Sir
Nova
/get videos
'''''''
Don't use mingw
Then what should I use
Wow
Hi friends
Wow
Reply me friends
Anonymous
Wow
Visual Studio
Hi brother
Talula
No I want learn for job
Then I wouldn’t recommend C.
Amy
The Java is good for job?
Prince Of Persia
Prince Of Persia
The Java is good for job?
Read the title of the group
Amy
O
Talula
The Java is good for job?
PM me don’t says forbidden words in the group.
Amy
All right, got it
Iam
Which OS are you using?
Windows 10, and its updated
Anonymous
Anonymous
/ban @ENG_ALI_FIRAS PMing
Rberto
Windows 10, and its updated
do you use Cygwin? or which development environtment do you use?
Rberto
/warn offtop
exist any off-topic group?
Rberto
#ot
thanks
Iam
do you use Cygwin? or which development environtment do you use?
Errrrrm, don't know what you mean, but what i have here is MinGW, and i am coding in Vs code
Rberto
Visual Studio
I like (vim + g++) instead haha
Anonymous
I like (vim + g++) instead haha
It doesn't exist in Windows
Rberto
Rberto
Errrrrm, don't know what you mean, but what i have here is MinGW, and i am coding in Vs code
You need to add the mingw installation folder to the windows path
Iam
well noted
Rberto
Errrrrm, don't know what you mean, but what i have here is MinGW, and i am coding in Vs code
Here I found a tutorial to configure VS Code: https://code.visualstudio.com/docs/cpp/config-mingw
Iam
Thanks very much to all who aided to rectify my issues. I have been able to rectify them, and i have my first code written in C++
Anonymous
with Cygwin exist.
I prefer using native software, not workarounds :)
Prince Of Persia
I prefer using native software, not workarounds :)
But gnu compilers are much better than ms
Anonymous
But gnu compilers are much better than ms
1. Not for windows 2. Any proofs?
Prince Of Persia
1. Not for windows 2. Any proofs?
I just know Compile speed in g++(in ubuntu) is much better than what I have in windows
Anonymous
I just know Compile speed in g++(in ubuntu) is much better than what I have in windows
> I just know It doesn't prove anything and you are wrong I have opposite experience: g++ compiles slower than MS C++ compiler, so what?
Prince Of Persia
That's not proof of anything
I just know what I know
Anonymous
Which programming language is used to create GT game
Anonymous
Anonymous
Google say python but some programmers are said C/C++ What is the truth.
Ni
Guys the following code adds a filename extension: strncpy(name, argv[1], LEN - 5); // copy filename name[LEN - 5] = '\0'; strcat(name, ".red"); // append .red I wonder why the second line is needed I've googled and find nothing similar
Anonymous
second paragraph of description, warning is written in bold
𝐄𝐲𝐚𝐝
https://pastebin.com/bzgksaJM Hi, I'm kinda new in programming in general but I love it so much :) This is a C++ code that generates a tree with a size that user specifies, I know that this is a common thing but I did it completely myself, I want to hear your opinions about this code (Longer than it should be , Ugly , etc ...)
Anonymous
3. I don't think using static variables there is the right way to do what you were trying to do
𝐄𝐲𝐚𝐝
Good work.
Thank you
𝐄𝐲𝐚𝐝
3. I don't think using static variables there is the right way to do what you were trying to do
Thank you for valuable advice , but what can I use instead of static variables?
𝐄𝐲𝐚𝐝
Thank you for valuable advice , but what can I use instead of static variables?
I think that I should declared them normally before the first for loop , Is that right?
𝐄𝐲𝐚𝐝
Prince Of Persia
Define them out of the loop
It would be more readable