💰💵⚛️💹⚛️💵💰
can anyone in this group tell me about ebook / book regarding c++ with MxNet ?? if there is someone can inform me about this i'm gonna buy this book in Amazon
Hritik
hey can i send link of coding ninjas question here? having some problem
Anonymous
@Rafiqshaik07 You can start with this guide (online free): https://beej.us/guide/bgc/ A good book to follow is "C: The complete reference" of Herbert Schildt. And again... Most of C harsh is about pointers, memory and difference about stack and heap. Once you master it, the language is a breeze.
No it is not. That book is riddled with errors. Please look at the Resources section for this group to know what the recommended books for learning C are. The link to recommended books for C is : https://t.me/cpp20programming/183
Anonymous
hey can i send link of coding ninjas question here? having some problem
Yes you can. Also post a pastebin link to your attempted solution. Someone might be able to help.
Hritik
https://www.codingninjas.com/codestudio/problem-of-the-day/hard
Hritik
https://pastebin.com/YYLj2TJm
Hritik
https://pastebin.com/YYLj2TJm
10 out of 11 test cases passed ... i cant find out why the last test case is failing
Anonymous
https://www.codingninjas.com/codestudio/problem-of-the-day/hard
I can see it is a DP question. But the site expects us to create login credentials. Instead paste the question on some pastebin site as well and post the link here. Saves all the readers here a lot of time.
Anonymous
Usually if your problem passes most of the test cases, it is the case that boundary conditions are not satisfied. Look for edge cases like a minimum input size satisfying the constraints, maximum input size and corner cases.
Anonymous
Hello
Anonymous
Please message me group please
Thadeu
No it is not. That book is riddled with errors. Please look at the Resources section for this group to know what the recommended books for learning C are. The link to recommended books for C is : https://t.me/cpp20programming/183
riddled with errors? show examples... it is on 4th+ edition. Also when I say that books mixing C and C++ induce to errors I point them, as some "best C++ practices" are not C best practices, and limit programmers of fully use the language, also spreading prejudices.
Anonymous
Okay
Thadeu
\report Hannar
Anonymous
Am so sorry
Anonymous
Hi
Ilya
hi
Ilya
I need 10 decimal places of precision, but the program outputs this. And the answer is 5.2360679774, and the program gives out 5.5 .. I don’t quite understand what to do https://pastebin.com/tfj0ttRE
Ilya
can anybody help, please ?
Anonymous
riddled with errors? show examples... it is on 4th+ edition. Also when I say that books mixing C and C++ induce to errors I point them, as some "best C++ practices" are not C best practices, and limit programmers of fully use the language, also spreading prejudices.
Herbert Schildt as an author is panned by both C and C++ programmers alike. He is known to write books that don't confirm to either the C standard or the C++ standard. He is often referred to as BullSchildt by experienced C/C++ programmers who have had to make their juniors unlearn a lot of bad practices and ideas they picked up from Herbert Schildt's books. The recommended books list for C that I shared above teach only C and not C++. Likewise the recommended book list for C++ in the same resources section teach C++ not as C with classes.
Thadeu
Please do not recommend Schildt, I do not know how this guy gets published
Why? What he says that is wrong? It is horrible when you ask something or even someone answers and says: do not this... when it is not something about common sense. Which are the arguments?
Thadeu
Why? What he says that is wrong? It is horrible when you ask something or even someone answers and says: do not this... when it is not something about common sense. Which are the arguments?
Instead of just say NO, it is better to share why no... I need to dig to find this: http://www.lysator.liu.se/c/schildt.html And while most of its arguments are valid, I think that it is still better to read a wrong thing that works with another clear text saying why not, as it will make me more aware about traps (that I could read in someone code that "works" and not perceive). My 2c
Chat Boss
O sent a code, it has been re-uploaded as a file
(-__-)
O sent a code, it has been re-uploaded as a file
Hello everyone, in this code... why the values are different but the address is one?
klimi
Hello everyone, in this code... why the values are different but the address is one?
x =5, y=6 i have point px and pointer py that point to x and y respectively now i say that px should point to what py points to, -> it should have the same memory i print x and y so i get the original values px and py are equal because i have written px = py
klimi
means that the address can hold more than one value?
no, not at all, but you have 4 "memories" in this case you have int x int y pointer px pointer py so if you set them to 5 6 address to 5 address as px you have 4 addresses that hold x,y hold 5 and 6, then two pointers that have the same value
Ludovic 'Archivist'
Why? What he says that is wrong? It is horrible when you ask something or even someone answers and says: do not this... when it is not something about common sense. Which are the arguments?
Bad advice and examples that rely on undefined behaviour presented as "best practice", bad chapter organisation, very old code style and more
Anonymous
Anonymous
clang -o gcc gcc.c
Anonymous
Ludovic 'Archivist'
@QNeko I already found the answer and shared, well explained, point to point.
Just looked at it, and even that answer has some mistakes but it is better than the original book
Ludovic 'Archivist'
Well, actually they fix it lower in the comments
Ludovic 'Archivist'
The "a byte is 8 bits" is one of my pet peeves if I am completely honest with you
/
how can i use GCC to create an Assebly Bytes
dimazava
The "a byte is 8 bits" is one of my pet peeves if I am completely honest with you
if you're talking about 9000 year ago byte versions, then you're probably right
Ludovic 'Archivist'
Anonymous
how can i use GCC to create an Assebly Bytes
😐😐😐gcc compile the file like assembly jusr binary is important
Ludovic 'Archivist'
Nah, there are still architectures around with 32bit bytes
mostly for specialized hardware and purpose
Anonymous
what
assembly compile to binary c compile to binary😐😐😐 no diffrent
Anonymous
Ludovic 'Archivist'
/
assembly compile to binary c compile to binary😐😐😐 no diffrent
How can i use gcc to convert the C Code to Assembly bytes
Ludovic 'Archivist'
How can i use gcc to convert the C Code to Assembly bytes
That would be gcc -S my_c_source.c -o my_asm.s
/
That would be gcc -S my_c_source.c -o my_asm.s
No i asked how to convert it to assembly bytes
Ludovic 'Archivist'
no
I read "assembly compile to binary" and that is what I provide first
Anonymous
How can i use gcc to convert the C Code to Assembly bytes
after compile defualt it's going to be a banary code or assembly byte or whatever you sayd 😐
Ludovic 'Archivist'
No i asked how to convert it to assembly bytes
what do you even mean by assembly bytes? Assembly text? Executable binary? Object file? Use the proper terms
Ludovic 'Archivist'
Ludovic 'Archivist'
it works with C++ too
Anonymous
I want Pure Assembly bytes not an executable
😐😐😐😐aha😐😐😐😐i don't know about that
Anonymous
/
convert c code to assembly code😐😂
I used an assembler to create a program in opcodes that i have placed at the start of the first section of a usb drive to boot it into Microsoft
Ludovic 'Archivist'
convert c code to assembly code😐😂
Oh, you want executable code that is not packaged for an operating system for that you will need to build a cross-compiler for either gcc or clang
Ludovic 'Archivist'
look on the OSDev wiki, it has a tutorial for that
/
look on the OSDev wiki, it has a tutorial for that
I also need help to compile a plugin called FRIEND for IDA
Anonymous
I also need help to compile a plugin called FRIEND for IDA
wait i will open this video and send them link for you if iran internet let me opening youtube
Ludovic 'Archivist'
I also need help to compile a plugin called FRIEND for IDA
https://wiki.osdev.org/GCC_Cross-Compiler Look for the triplet matching your platform, with OS being either none or unknown