Ethiopian Multiplication – Solution
C For Dummies Blog
by dgookin
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
Visit website
Testing For the random() Function
C For Dummies Blog
by dgookin
1w ago
The random() function is better than rand(), though it may not be available with all C compilers ..read more
Visit website
Ethiopian Multiplication
C For Dummies Blog
by dgookin
1w ago
Code this method for multiplying values which uses only doubling, halving, and addition ..read more
Visit website
Seeing What’s Left Over with Division
C For Dummies Blog
by dgookin
2w ago
Not every value divides evenly into another ..read more
Visit website
More Terminal Screen Manipulation
C For Dummies Blog
by dgookin
1M ago
Once I realized I could play with the cursor on the terminal screen, I just went nuts ..read more
Visit website
Multiplying Matrixes – Solution
C For Dummies Blog
by dgookin
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
Visit website
Bouncing an Asterisk
C For Dummies Blog
by dgookin
1M ago
How to manipulate the screen and the keyboard without using a library like Ncurses ..read more
Visit website
Describing Complex Data – Solution
C For Dummies Blog
by dgookin
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
Visit website
Multiplying Matrixes
C For Dummies Blog
by dgookin
1M ago
Time for some matrix multiplication ..read more
Visit website
Playing with the Terminal
C For Dummies Blog
by dgookin
1M ago
How about some old fashioned terminal screen manipulation ..read more
Visit website

Follow C For Dummies Blog on FeedSpot

Continue with Google
Continue with Apple
OR