uthcode / learntosolveit Goto Github PK
View Code? Open in Web Editor NEWThe C Programming Language Companion
Home Page: http://www.learntosolveit.com
License: Other
The C Programming Language Companion
Home Page: http://www.learntosolveit.com
License: Other
The sections and exercises should be in the same order as it is in the book.
Like
Section 1.5.4
Exercise_1.11
Similarly for the rest.
In Chapter 1, the The sections c-better-explain and c-suggest-improve can be moved to a ..seealso section.
https://raw2.github.com/uthcode/uthcode/chapter1/source/cprogramming/Ex_1.1_exp_helloworld.rst
Posting the codepad.org using the POST looks reasonable.
http://stackoverflow.com/questions/2239620/paste-to-codepad-org-using-bash-or-curl
Add the explanations for sections from 2.4 to 2.9. Some are string matching and others are bit fiddling.
Leaving the current program
https://raw.github.com/uthcode/uthcode/master/source/cprogramming/entab.rst
Leave the Explanation part empty as we can do that together. But the Editing of the Title and Editing of the Question corresponding to the program can be done.
Finding the program against the question might be the challenge to solve.
All these are present in the code, Finding that the apply our templates! Work in chapter2 branch.
And and add all the five projects.
This is deviation from the book, but it can be helpful to the readers to revisit again.
Please find out how to view sub branches on windows GUI
1.5.4 Word Counting
Exercise 1.11 - Mark it as TODO for Senthil
Exercise 1.12 - completed.
1.6 Arrays
Exercise 1.13 - Horizontal Histogram.
Exercise 1.13.2 - Vertical Histogram.
The program is about macros:
Read this and use the information.
http://en.wikipedia.org/wiki/C_preprocessor#Macro_definition_and_expansion
You can add a reference to the link, like it is done here:
https://raw2.github.com/uthcode/uthcode/chapter2/source/cprogramming/Ex_1.2_exp_printf_c.rst
How to swap two variables in C?
a = 10, b = 20, by using temperory variable t, swap a and b?
t = a;
a = b;
b = t;
print a, b
a = 20, b = 10
Section 4.3 is a complete program. Good time can be devoted to write the explanation.
Section 1.10 - Senthil
Section 1.1 - Done
Section 1.2 - Done
Section 1.3 - Avinash
Section 1.4 - Done
Section 1.5 - Avinash
Section 1.5.2 - Done
Section 1.5.2_2 - Done
Section 1.5.3 - Done
Section 1.5.4 - Avinash
Section 1.5 - Done
Section 1.6 - Senthil
Section 1.7 - Senthil
Section 1.9 - Senthil
The right shift operation should be made clear.
:c-suggest-improve:`name.c`
:c-better-explain:`name.rst`
This will link name.c and name.rst
An example of how it is done is here:
https://raw2.github.com/uthcode/uthcode/Chapter-1/source/cprogramming/Ex_1.1_exp_helloworld.rst
Create a new branch and try to publish. Become familar with the github UI.
Setup github on windows.
Section 1.7 Functions
Exercise 1.15 - Write the cprogram if the source is not already there.
Section 1.9 Character Arrays
Exercise 1-16.
I think they all should be present.
Also, you separate the index into chapter2 and chapter3 .
See if any of the explainations of chapter2 and chapter 3 are possible.
Make presentations using the single stylesheet format.
Both are easy to write. Make a best attempt after understanding the programs.
Set the director structure so that C files can be individual files.
Exercise 1-20
Exercise 1-22
Exercise 1-23
Section 1.5.1 File Copying
Section 1.5.2 Character Counting, version 1 and version 2.
Section 1.5.3 Line Counting
Exercise - 1.8, 1.9. 1.10
http://contribute.jquery.org/web-sites/
http://learn.jquery.com/
They seem to build a tutorial site using github and wordpress.
/cc - @avinashsonnad
Setup the Build for new updated documentation.
Currently the C programming Section is all one page. All the Source code snippet is directly included in a single cprogramming.rst file (By a script, refer to utils/includecfiles.py). But including all the C files in a single page is unusable. It is better if we have one C file per page. So let's create a single C program per page and organize it based on chapters or sections.
Please write explaination of these programs. Follow the style similar to how I have written. Just writing simple explaination is good enough. I will correct if there are any corrections.
|today| tag is global. It will update all the references of |today| when the site is getting built. We don't want that. What we want is when the html for a page is generated. The html for the page is generated only when the contents of the .rst is changed. That is provided in the theme value of html_last_updated_fmt
I think, this will need to be set in https://github.com/uthcode/uthcode-flasksphinxtheme
/cc @avinashsonnad
See if you can locate them and if can be located, then add it. As it is you will have to read the program and then find the match.
Both are present.
Exercise 1-17.
Exercise 1-18.
Exercise 1-19.
For 2.3, understand what htoi is doing and then write it.
For 2.10, focus on conditional expression in C. (That is of the format (expr)?x:y)
I will divide the programs between @uthcode/programmers
All Programs are present.
synerrors.c:/* Program to check rudimentary syntax errors like unmatch braces,brakets or parenthesis */
Exercise 1-1. Run the ``hello, world'' program on your system. Experiment with leaving out parts of the
program, to see what error messages you get.
Exercise 1-2. Experiment to find out what happens when prints's argument string contains \c, where c is some
character not listed above.
Hello Avi.
Please notice the footer that I added to .rst file here:
https://raw2.github.com/uthcode/uthcode/Chapter-1/source/cprogramming/Ex_1.10_TbsBlnkSpaces.rst
This is like this:
----
This document was updated on |today|
This will result in the page like this:
http://www.uthcode.com/cprogramming/Ex_1.10_TbsBlnkSpaces.html
Please add this footer (both --- and the line) to all the .rst files that you created.
1.3 and 1.4 of C programming is not present.
I noticed that some programs from helloworld to sec_1.5.1 - the files do not follow our determined formatting. Please rename those files correctly and update index
Also read the corresponding chapter as well. All the programs should be present.
Also write the explanation for exercise 2.10
All the programs may be presentation. So templating and having the correct file names may be required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.