/c

Styding c language

Primary LanguageCMIT LicenseMIT

C Language

Styding C language

Hi, This is all about C. 🙋

Why C?

Linux will likely be written in C forever! Marty Fouts - (June 6/20 - OS designer with 40 years of experience)

Which programming language was the Brazil's electronic voting machines box developed in? Apparently it was written in C according to the TSE: Presentation of the source codes. Another document confirms: https://ic.unicamp.br/~tomasz/misc/rel_final_site_TSE.pdf. (source from pt.quora.com/)

C and C++ are among the most powerful languages you can find. Those are quite fast and stable, and thus are a good choice for microcontrollers. The compiler used to transform code into object files is avr-g++. Then, a program called avrdude is used to upload the program into the Arduino microcontroller.

The C programming language is one of the most powerful and efficient programming languages in the world. If you’re interested in learning programming or building applications, learning C should be the first step you take. Most of the modern-day programming languages have been inspired by it to some degree. C was developed back in the 1970s by Dennis M. Ritchie for a UNIX system. It is based on languages like B, CPL and BCPL. Unlike its predecessors, C is capable of both high level programming as well as low-level programming. C also does not take up much computer resources, so it can be used by small applications as well as large programs (like operating systems). (from https://blog.udemy.com/)

During my Computer Engineering Degrees I will make this repo as I learn more and more each day... I thought I'd document what worked for me. This is just for hobbyist fun. I did not expect anything more at a price of less than a cup of coffee ☕.

The most important audience 
for your code is yourself, 
six month after writing it 
(ie after you forgotten 
everything but needs 
to fix something)

I´m using Visual C++ 2019.

I will also use Dev-C++ download | SourceForge.net This is an amazing IDE! Try it yourself!

The solution will be numereded and divided into important computer subject: Be Welcome to my website, where I explore Arduino, PIC & Rpi - Jungletronics & KidTronics. I'm J3, The Arduino Hobbyist! and I will be your host 😊
Welcome!!!

[Visual C++ 2019] (https://visualstudio.microsoft.com/downloads/) Solutions list (from 2020 until now): 📔

#01 - Solution -_if_while_dowhile_for #CSeries - Solution1 - Inside 4 projs exemplifying the use of selection (if) & Iterations statements while, do-while & for loops;

#Project1 - Visual C++ 2019 - It is even or odd? If statement - simple Selection Statement.

#Project2 - Visual C++ 2019 - Halting the system w/ while:)

#Project3 - Visual C++ 2019 - Halting the system w/ do-while:)

#Project4 - Visual C++ 2019 - Halting the system w/ for - run 5 times only

#Project5 - Visual C++ 2019 - Using Vectors and scanning it w/ 1 for loop

#Project6 - Visual C++ 2019 - Using Matrices - How to scan each element using 2 for loops

#Project7 - Visual C++ 2019 - Using Function in C - a simple calculator - returning the bigger from 3 integers

#Project8 - Visual C++ 2019 - Simple calculator v1 (addition & subtraction) - Demo for functions

#Project 10 - Visual C++ 2019 - Project 10 - Visual C++ 2019 - Exercise 1 - Homework - Snack Bar

#Project 11 - Visual C++ 2019 - Project 11 - Visual C++ 2019 - Exercise 2 - Homework - Pluviometric Controller

#Project 12 - Visual C++ 2019 - Project 12 - Visual C++ 2019 - Exercise 3 - Homework - Frequency of Chars Matrix

#Project 13 - Visual C++ 2019 - Project 13 - Visual C++ 2019 - Exercise 1 2021 - Homework - Struct Typedef

#Project 14 - Visual C++ 2019 - Project 14 - Visual C++ 2019 - Exercise 2 2021 - Homework - Struct String Concat

#Project 15 - Visual C++ 2019 - Project 15 - Visual C++ 2019 - Exercise 3 2021 - Homework - Struct Typedef Ceil()

#Project 16 - Visual C++ 2019 - Project 16 - Visual C++ 2019 - Exercise 4 2021 - Homework - Arrays Max & Min

#Project 17 - Visual C++ 2019 - Project 17 - Visual C++ 2019 - Exercise 5 2021 - Homework - Strutcs & File CSV

[Dev-C++5.11] (https://sourceforge.net/projects/orwelldevcpp/) Projects Solutions list (from 2020 until now): ✒️

#EX01 - DEVC - Project 01 - Studying C Types (char, int, float & double)

#EX02 - DEVC - Project 02 - Simple use of modifiers: 'long' and 'short'

#EX03 - DEVC - Project 03 - A simple function 'add' declaration

#EX04 - DEVC - Project 04 - Multi-file programs - How to Use it!

#EX05 - DEVC - Project 05 - Multi-file programs Extented - How to Use it!

#EX06 - DEVC - Project 06 - Function call by reference in C

#EX07 - DEVC - Project 07 - Simple Assignment Oper (=) and Compound assignment opers (+=, -=, *=, /=, %=) in C

#EX08 - DEVC - Project 08 - How to use NULL in C

#EX09 - DEVC - Project 09 - Is C Little or Big Endian?

#EX10 - DEVC - Project 10 - #HowToConvertFromLittleToBigEndian

#EX11 - DEVC - Project 11 - Pointer - #HowToUse

#EX12 - DEVC - Project 12 - How to Compare 2 strings in C

#EX13 - DEVC - Project 13 - sprintf - The Use of

#EX14 - DEVC - Project 14 - sprintf - Another Use (convert integer & float to strings)

#EX15 - DEVC - Project 15 - Problem w/ Buffer overflow

#EX16 - DEVC - Project 16 - Struct - How to Create Struct in C

#EX17 - DEVC - Project 17 - 3 ways to declare a struct in C

#EX18 - DEVC - Project 18 - Chained Struct - How To Declared Nested Struct

#EX19 - DEVC - Project 19 - How to Align Structs

#EX20 - DEVC - Project 20 - How to Use ARROWS - More elegant solution to Point to an element of the struct

#EX21 - DEVC - Project 21 - How to make a union of two char as int? First Approach - Using Bitwise Operations

#EX22 - DEVC - Project 22 - How to make a union of two char as int? Second Approach - Using UNION \o/

#EX23 - DEVC - Project 23 - Demo For Escape Sequences In C

#EX24 - DEVC - Project 24 - The use of Type Names for Un/signed Integer Types (U, L, UL, LL, ULL)

#EX25 - DEVC - Project 25 - Controlling the Number of Decimal Places in the Output.

#EX26 - DEVC - Project 26 - How to declare floats - Calc Circumference and Area of a Circular Table

#EX27 - DEVC - Project 27 - How To Declare Floats & Doubles

#EX28 - DEVC - Project 28 - Finding The Limits: <limits.h>

#EX29 - DEVC - Project 29 - Format specifiers in C

#EX30 - DEVC - Project 30 - Enumeration, Math & Trigonometry Examples in C

#EX31 - DEVC - Project 31 - Computer Engineer Course Practical Activity 2020

#EX33 - DEVC - Project 33 - Using Switch Case Statements

#EX34 - DEVC - Project 34 - Demonstrate the use of function pointers

#EX35 - DEVC - Project 35 - Simple Calculator v1 - Nested if

#EX36 - DEVC - Project 36 - Simple Calculator v1 - Switch

#EX38 - DEVC - Project 38 - Simple Calculator v1 - Switch & While

#EX39 - DEVC - Project 39 - This program uses malloc - Project 38 improvement - Calculator v2

#EX40 - DEVC - Project 40 - Reading & Displaying Strings in C

#EX41 - DEVC - Project 41 - Presenting a Menu for Snack Bar

#EX42 - DEVC - Project 42 - Matrices Multiplication

#EX43 - DEVC - Project 43 - Matrices Multiplication - Accepting Floats

#EX44 - DEVC - Project 44 - Initializing 3 Matrices & Multiply it all

#EX45 - DEVC - Project 45 - Solution for J3 Snack Bar (solve Project 31:)

#EX47 - DEVC - Project 47 - How to add 2 Matrices

#EX48 - DEVC - Project 48 - Pluviometric Controller

#EX49 - DEVC - Project 49 - Doing Math With Letter :)

#EX50 - DEVC - Project 50 - Matrix manipulation in the extreme "/

#EX51 - DEVC - Project 51 - How To Declare a Matrix of Char (How to clear input buffer)

#EX52 - DEVC - Project 52 - 2D Matrix - Pointer use to save memory

#EX54 - DEVC - Project 54 - More advanced topics about Pointer & Array of Strings

#EX55 - DEVC - Project 55 - 3D Matrix - How to Access it with a Triple Loops

#EX56 - DEVC - Project 56 - String Copy, String Concat & Malloc in C

#EX57 - DEVC - Project 57 - Strtok - String Tokenizer - How to Use It in C!

#EX58 - DEVC - Project 58 - Finding the Frequency of Characters in a String

#EX59 - DEVC - Project 59 - Frequency of Characters in a Matrix of Strings (Ex. 3 - Academic Homework)

#EX62 - DEVC - Project 62 - Data Structure: struct in C - Struct, Union, Bit Field & Enumeration in C - Intro to These Important Concepts for Microcontroller World — CRootConceptSeries # Episode 00

#EX63 - DEVC - Project 63 - Data Structure: struct in C - Intro to struct — CRootConceptSeries # Episode 01

#EX64 - DEVC - Project 64 - Data Structure: struct in C - Intro to struct — CRootConceptSeries # Episode 01

#EX65 - DEVC - Project 65 - Pointers & Arrays in C - Intro to Pointers in C

#EX66 - DEVC - Project 66 - Daniel's Resto - Classe e Sabor ao seu dispor! - Trabalho academico - veja o encarte dos requisitos!

#EX68 - DEVC - Project 68 - How to get the type of a variable in C code? - Intro to C Language

#EX69 - DEVC - Project 69 - A Pointer to a Pointer Exercise - How to use pointer of pointer in C Language

#EX70 - DEVC - Project 70 - Multiple indirection with integers - How to use multiply pointer in C Language

#EX71 - DEVC - Project 71 - Using Arrays of Structures - Book: Beginning C - From Novice to Professional (Ivor Horton)

#EX72 - DEVC - Project 72 - Practical Work Academy nº 5 Computer Engineer UNINTER - Saving .csv File in C Language

#EX73 - DEVC - Project 73 - How to Navegate Throght Nodes Using Recursion in C Language

#EX74 - DEVC - Project 74 - Simple Use of recursion - sum() in C Language

#EX75 - DEVC - Project 75 - Practical Work Academy nº 4 Computer Engineer UNINTER - Recursive Funtions Max & Min

#EX76 - DEVC - Project 76 - Practical Work Academy nº 2 Computer Engineer UNINTER - Structs & Concatenations

#EX77 - DEVC - Project 77 - Practical Work Academy nº 1 Computer Engineer UNINTER - Structs & Pointers

#EX78 - DEVC - Project 78 - Practical Work Academy nº 3 Computer Engineer UNINTER - Structs & Functions

#EX79 - DEVC - Project 79 - Practical Work Academy nº 1 Computer Engineer UNINTER - Using LINKED LIST & Structs

#EX80 - DEVC - Project 80 - Practical Work Academy nº 1 Computer Engineer UNINTER - Using DOUBLY LINKED LIST & Structs

License

License: CC BY-NC-ND 3.0