C For Dummies Blog
1,338 FOLLOWERS
Visit the blog to find useful articles on C programming language.
C For Dummies Blog
15h ago
The challenge for this month’s Exercise is to write code that uses the Ethiopian Multiplication method. The process involves doubling and halving the factors, then eliminating and finally tallying the result. For my solution I use only a single while ..read more
C For Dummies Blog
1w ago
The random() function is better than rand(), though it may not be available with all C compilers ..read more
C For Dummies Blog
1w ago
Code this method for multiplying values which uses only doubling, halving, and addition ..read more
C For Dummies Blog
1M ago
Once I realized I could play with the cursor on the terminal screen, I just went nuts ..read more
C For Dummies Blog
1M ago
My solution for this month’s Exercise relies upon the solution from last month’s Exercise, specifically the way the matrixes are presented in the main() function and the use of the output() function. What I added is the multiply() function, which ..read more
C For Dummies Blog
1M ago
How to manipulate the screen and the keyboard without using a library like Ncurses ..read more
C For Dummies Blog
1M ago
In the C language, a structure is used to express complex data types. The structure contains members that describe different parts of this complex data, such as a matrix required in this month’s Exercise. For my solution, I created the ..read more