learn-c-the-hard-way | learn c the hard way | Learning library
kandi X-RAY | learn-c-the-hard-way Summary
kandi X-RAY | learn-c-the-hard-way Summary
This is the code from learn c the hard way typed and tested and other related code to learn c.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of learn-c-the-hard-way
learn-c-the-hard-way Key Features
learn-c-the-hard-way Examples and Code Snippets
Community Discussions
Trending Discussions on learn-c-the-hard-way
QUESTION
I'm really stuck on this one. ex17 is supposed to be teaching me heap and stack memory allocation by providing a simple database (my questions are specific, but i'll leave it there just in case you need a full code). There is not much explanation about what is the purpose of certain design decisions of the database and that's why i seek for help.
1) Necessity or just a design convenience (convention) ?
...ANSWER
Answered 2020-Mar-31 at 18:46Yes, you can have only struct Adress
, a global FILE *
pointing to the database file and a global struct Adress rows[MAX_ROWS]
to store the data. However, a real database has a name, associated files, permissions, etc (the example you gave is a very simple one).
But you can modify the structures to evolve the model and help you understand. Consider this, for example:
QUESTION
I am working on learn c the hard way ex25 by Zed A. Shaw
...ANSWER
Answered 2018-Apr-17 at 03:57The first parameter is the type and size of the format string which read_scan()
needs to process
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install learn-c-the-hard-way
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page