Be part of dojicreates.com Development - Submit Your C Tutorial

This page is currently under development.

Help Us Grow the C Section!


Yes po, I know this is a very ambitious project and involves a lot of work. Alam ko rin po na hindi ko kaya gawin ito mag-isa. Kaya naisip ko, mas magiging masaya at meaningful ito kung magiging bahagi kayo ng development na ito by submitting your own content in PDF format.

What's in it for you? Credit!
Yes po, I'm planning to include your name as credit in the title itself, just like what you'll see in the image below.

credits-image

And hindi lang po basta simple credits lang, clickable link po ito!
You can include a clean link like your social media account if you want followers, or leave it blank if you prefer.

Your credits will remain as long as walang ibang submission na mas mahusay ang explanation. So just because a topic already has content doesn't mean you can't submit anymore. You're always welcome to try and submit your own version. With that said, we're now accepting your best works, send them in now!


Submission Guidelines

1. Content Requirements

  • Write tutorials in Filipino (Tagalog)
  • You can choose a topic from the scroll spy on the left side
  • Focus on one C topic per submission
  • Include practical code examples with proper syntax
  • Provide step-by-step explanations
  • Show expected outputs


Code Example Format

#include 
#include 

// Compute the area of a circle
double compute_area(double radius) {
    return M_PI * radius * radius;
}

int main() {
    double radius;
    printf("Ilagay ang radius: ");
    scanf("%lf", &radius);
    
    double area = compute_area(radius);
    printf("Ang area ng circle na may radius %.2f ay %.2f square units.\n", radius, area);
    
    return 0;
}

2. Recommended C Topics

  • Recommended: Blank topics like this have more higher chances of getting selected.
  • C Pointers
  • C Arrays and Strings
  • Structures in C
  • Memory Management in C
  • File I/O in C
  • Dynamic Memory Allocation


How to Submit

  1. Create a PDF of your C tutorial following our guidelines
  2. Join our Facebook group
  3. Upload/Post your PDF with topic name and brief description on our FB Group
  4. Wait for feedback from our team


Example

Check our C | Installing C Compiler as a model for your submission.

C Tutorial Submission Guidelines

Required Format for C Educational Content

Maintained by: dojicreates

Thank you for your interest in contributing educational C content to our platform! To maintain consistency and quality across all tutorials, please follow these detailed guidelines when preparing your submission.

Basic Page Structure

1. Tutorial Title

Always use this format: "C Programming Tutorials: [Your Topic]"

Example: "C Programming Tutorials: Pointers"

2. Main Topic Header

Format your main heading as: C [Your Topic]

Example: C Pointers

3. Introduction Paragraph

Provide a clear explanation of the concept with key terms in bold.

Example: "Ang pointer sa C ay isang variable na nag-iimbak ng memory address ng isa pang variable. Ito ay mahalaga para sa dynamic memory management at efficient data manipulation..."

Required Content Sections

1. Importance of the Topic

Section Header: Bakit Mahalaga ang [Your Topic]?

Content Format: List benefits with checkmarks ✔

Example:

  • ✔ Nagbibigay-daan sa direktang memory access.
  • ✔ Pinapabuti ang performance ng mga complex na programa.
  • ✔ Mahalaga sa dynamic data structures tulad ng linked lists.

2. How the Concept Works

Section Header: Paano Gumagana ang [Your Topic]?

Content Format: Step-by-step explanation with ordered or unordered lists

Example:

Sa C, ang pointer ay may tatlong pangunahing bahagi:

  1. Declaration - tinutukoy ang uri ng data na ituturo ng pointer.
  2. Address assignment - itinalaga ang address ng isang variable.
  3. Dereferencing - pagkuha o pagbabago ng value sa pointed address.

3. Code Example

Section Header: Halimbawa ng [Your Topic]

Content Format: Complete, runnable C code in a code block with Tagalog comments

Example:

#include 

// Simpleng halimbawa ng paggamit ng pointer
int main() {
    int number = 10;        // Deklarasyon ng integer variable
    int *pointer = &number; // Pointer na tumuturo sa address ng number
    
    printf("Value ng number: %d\n", number);
    printf("Address ng number: %p\n", (void*)&number);
    printf("Value sa pointer: %d\n", *pointer);
    
    // Baguhin ang value gamit ang pointer
    *pointer = 20;
    printf("Bagong value ng number: %d\n", number);
    
    return 0;
}

4. Code Explanation

Section Header: Paliwanag ng Code

Content Format: Bullet points explaining each important part of the code

Example:

  • `int *pointer = &number;` → Ginagawa ang pointer at itinatakda ito sa address ng `number`.
  • `*pointer` → Ginagamit ang dereference operator para makuha o baguhin ang value sa address.
  • `printf("Address ng number: %p\n", (void*)&number);` → Ipinapakita ang memory address ng variable.

5. Practical Application (Optional)

Section Header: [Variation] ng [Your Topic]

Content Format: Additional examples with short code snippets

Example:

Ang pointer ay maaari ding gamitin sa arrays:

#include 

// Pointer arithmetic sa arrays
int main() {
    int numbers[] = {1, 2, 3, 4, 5};
    int *ptr = numbers;
    
    for (int i = 0; i < 5; i++) {
        printf("Element %d: %d\n", i, *(ptr + i));
    }
    
    return 0;
}

6. Expected Output

Section Header: Expected Output:

Content Format: Plain text showing expected console output

Example:

Value ng number: 10
Address ng number: (some memory address)
Value sa pointer: 10
Bagong value ng number: 20
Element 0: 1
Element 1: 2
Element 2: 3
Element 3: 4
Element 4: 5

7. Success Message

Content Format: Encouraging message with checkmark and celebration emoji

Example:

✅ Kapag lumabas ang output na nakikita sa itaas, matagumpay mong nai-run ang iyong C pointer examples! 🎉

Formatting Requirements

1. Text Formatting

  • Use bold text for all important concepts and terms
  • Use backticks for all code elements, function names, variables, and technical terms
  • Place all section headers in bold
  • Use consistent spacing between sections (one blank line minimum)

2. Code Blocks

  • Every code example must be properly indented (4 spaces)
  • All code must be runnable and error-free
  • Add helpful comments in Tagalog to explain complex parts
  • Follow K&R or Allman style guidelines for C code formatting
  • Use consistent naming conventions (camelCase or snake_case)

3. Visual Elements

  • Use tables for comparing related concepts (e.g., different data types)
  • Use ordered lists for sequential steps or processes
  • Use unordered lists for non-sequential items or options
  • Use checkmarks (✔) to highlight positive points or key features

4. Language Guidelines

  • Write primary content in Tagalog for better local understanding
  • Keep all technical terms in English and format them with backticks
  • Use a friendly, encouraging tone throughout the tutorial
  • Address the reader directly with second-person perspective (e.g., "mong", "mo")
  • Explain complex concepts with simple, clear language

Code Example Guidelines

Example of Well-Formatted C Code:

#include 
#include 

/* Structure para sa pagkalkula ng properties ng shapes */
typedef struct {
    char* name;
    int calculations_count;
} ShapeCalculator;

/* Initialize ang calculator */
ShapeCalculator* create_calculator(char* name) {
    ShapeCalculator* calc = (ShapeCalculator*)malloc(sizeof(ShapeCalculator));
    calc->name = name;
    calc->calculations_count = 0;
    return calc;
}

/* Kalkulahin ang area ng rectangle */
double calculate_rectangle_area(double length, double width, ShapeCalculator* calc) {
    calc->calculations_count++;
    return length * width;
}

/* Kalkulahin ang area ng circle */
double calculate_circle_area(double radius, ShapeCalculator* calc) {
    calc->calculations_count++;
    return M_PI * radius * radius;
}

/* Kunin ang bilang ng calculations */
int get_calculations_count(ShapeCalculator* calc) {
    return calc->calculations_count;
}

int main() {
    ShapeCalculator* calc = create_calculator("MyCalculator");
    
    double rectangle_area = calculate_rectangle_area(5.0, 4.0, calc);
    double circle_area = calculate_circle_area(3.0, calc);
    
    printf("Rectangle Area: %.2f\n", rectangle_area);
    printf("Circle Area: %.2f\n", circle_area);
    printf("Total calculations: %d\n", get_calculations_count(calc));
    
    free(calc);
    return 0;
}

Important C Code Formatting Rules:

  • Include proper header files (e.g., ``, ``)
  • Add function and structure comments in Tagalog
  • Use consistent pointer notation (e.g., `int* ptr` or `int *ptr`)
  • Include meaningful white space for readability
  • Add descriptive Tagalog comments for key operations
  • Use proper line breaks and indentation
  • Break long lines for better readability (80-120 characters maximum)
  • Maintain consistent naming conventions throughout code samples
  • Always include `main()` function for runnable examples

C-Specific Guidelines

1. Program Structure

  • Always include necessary header files at the top
  • Organize functions and structures logically
  • Use proper function and structure declarations
  • Include comments for each function's purpose

2. C Standards

  • Specify the C standard used (e.g., C99, C11)
  • When using newer C features, mention the minimum required standard
  • Avoid non-standard extensions in examples
  • Use standard C libraries for portability

3. Common C Library Examples

  • For string operations, use `` functions
  • For memory management, demonstrate proper use of `malloc` and `free`
  • For file operations, use standard `` functions
  • For mathematical operations, use `` with proper linking

How to Submit Your Tutorial

  1. Prepare your content following all format guidelines above
  2. Test all code examples to ensure they run correctly
  3. Format in HTML using the same structure as our existing tutorials
  4. Submit via email to doji.adds@gmail.com with subject line "C Tutorial Submission: [Your Topic]"
  5. Or Submit via posting your version on our Facebook group: https://www.facebook.com/groups/cspinas

All submissions will be reviewed for technical accuracy, quality of explanation, and adherence to these formatting guidelines before publication. We may request revisions to ensure consistency with our platform standards.

By submitting content, you agree to allow dojicreates to publish and modify your work as needed while maintaining attribution to you as the original author.

Ads