Anonymous
in C++ it is <cstring>
I_Interface
but i am
Are u afraid to learn new things ?
Azzam
but i am
Dude you are getting an error near s+mid?? Right?
jack
my coach dont let me use
jack
he wants me to use turbo
I_Interface
my coach dont let me use
How old he is ? 70+ y.o ?
Azzam
he wants me to use turbo
Hats off to that man
jack
there are some results we need to get only on that versions
Anonymous
jack
of turbo
Anonymous
Turbo C is dead
Anonymous
And your coach wants you to use dead technology
Anonymous
Your coach is bad
Azzam
Don't change your code... change your coach instead xD
Azzam
no error at that point
How is this possible 😂 You are adding char array and integer without even typecasting it
jack
changed
jack
😂😂😂
Anonymous
I have a Russian encyclopedia on Turbo C 2.0 lol
jack
s1 has an address...and s1+4 is increasing its address by 4
Azzam
i think you should have change your coach
We don't have such "things" 😂
Azzam
That's ok, there's an implicit casting
I didn't know C is that much intelligent
jack
We don't have such "things" 😂
better you work on your logics..first make them strong...and think before you laugh on someone...
I_Interface
I have a Russian encyclopedia on Turbo C 2.0 lol
lol, send it to me on my birthday :D
jack
And you better to work on searching a new coach
i need to know why i am not getting that output
jack
mirrored triangle
I_Interface
i need to know why i am not getting that output
use debugger oh wait, u don't have it...
Anonymous
use debugger oh wait, u don't have it...
Since I have this book, I can tell you that Turbo C 2.0 has a degubber
Err0rX
The reason why is that you'll get an infinite loop
it's ovelflow because size_t is an usinged integral type. and an usinged integer types implement modulo arithmetic. the modulo is equal to 2^N, where N is the number of bits in the value representation of the type, for this reason usinged integer types like "size_t i = 0" got a wrap around behaviour of usinged values, i think that's why it's get the infinite loop.. in other hand "int i = 0" not get infinite loop or any wrapping around behaviour because it's a singed integer value, singed integer only overflow during arithmetic computations produces udefined behaviour ..................... That What I Understand By Searching On Web, Am i Correct?
Err0rX
thanks
Anonymous
Basically when you do - 1 on unsigned 0, you get a max value of that type
Anonymous
Because of unsigned overflow
Err0rX
yeah i'm understanding. this interesting and enjoyfull
Azzam
You will never get an output.... for(j=0; j<a; j++) And you want to print results if i<=a and also j==a which is impossible.
Azzam
Only printf("\n") will execute each time.
jack
Only printf("\n") will execute each time.
it happens when you try it so many times.😂
jack
i want an output like e em eme emen emenp emenpl emenpla emenplac
I_Interface
i want an output like e em eme emen emenp emenpl emenpla emenplac
use string.h and delete the last element every loop time
Pavel
also need to add enough space symbols, so add another loop inside that loop
Pavel
or there can be some formatting for that
Mдtt
Hello everybody! I would like to ask if you know some pdf about sha encryption algorithms with implementation in C, possibly step by step to understand better like guide, I tried on Google but didn't find what I'm looking for
Anonymous
Search on geeksforgeeks
Anonymous
Search on geeksforgeeks
He just said that he couldn't find it
Anonymous
😅
jack
also need to add enough space symbols, so add another loop inside that loop
if there is a condition to print it in least loops then?
jack
if there is a condition to print it in least loops then?
still your suggestion will sattisfy it?
Anonymous
Only deleting Turbo C can help you
jack
😔
Francisco
but i can not
You can indeed
Mдtt
Search on geeksforgeeks
I tried but didn't found, and I would prefer to have an entire pdf about sha algorithm implemented in C
Aasif
Hi. How does a program know where is the code of iostream to include it in a program?
Anonymous
Aasif
Well...
If you can please explain? Thanks.
Aasif
Also, what is an executable, an object file and a dll file?
Anonymous
Maybe it is better to just google?
Aasif
Maybe it is better to just google?
I tried, but im not sure I get it, though
jack
source files contain header files like iostream...and you do write a code to include it in your program so basically it comes from source file
Anonymous
Your choise is conio.h
jack
😒
jack
really
Aasif
What I needed to know is this: what does it mean to include a file ? I mean is it like all the code of that file is just copied to the source file by compiler?
Anonymous
Including a file is just a copy of its content
Aasif
Then why do we require linking?
I_Interface
Then why do we require linking?
linker links ur obj files into executable file
I_Interface