Introductory C programming slides presented by Tom Papatheodore of the Oak Ridge Leadership Computing Facility on January 20, 2022. Covers program structure, compilation with GCC, variables and data types, formatted output, arrays, loops, operators, conditionals, functions, pointers, and memory allocation. Includes worked code examples and links to accompanying exercises in OLCF’s foundational_hpc_skills repository.
Free preview text
The first 5 pages, shown as text so search engines and readers can find this document.
Page 1
ORNL is managed by UT-Battelle LLC for the US Department of Energy
Intro to C Programming
Tom Papatheodore
System Acceptance & User Environments Group
Oak Ridge Leadership Computing Facility (OLCF)
Oak Ridge National Laboratory (ORNL)
January 20, 2022
Page 2
22 Open slide master to edit
Associated Materials for this Talk
The slides, code examples, and exercises can be found in the intro_to_c
directory of the repository for this course:
https://github.com/olcf/foundational_hpc_skills
Page 3
33 Open slide master to edit
C Programming Language
• General-purpose programming language initially developed by Dennis
Ritchie at Bell Laboratories
• Compiled Language
– A compiler is a program used to convert high-level code (like C) into machine code
• Many operating systems, as well as Perl, PHP, Python, and Ruby, are
written in C.
Page 4
44 Open slide master to edit
A Simple C Program (01_simple_c_program/simple.c)
#include <stdio.h>
int main(){
int a = 3;
printf(“The value of this integer is %d\n”, a);
return 0;
}
Page 5
55 Open slide master to edit
A Simple C Program
#include <stdio.h>
int main(){
int a = 3;
printf(“The value of this integer is %d\n”, a);
return 0;
}
C preprocessor directive telling the compiler to
include contents of the header file in angle
brackets.
Intro to C Programming: summary, contents and background
This guide helps you understand the scope of Intro to C Programming before or alongside reading the original document. It is based on the catalogue record, credited creator, source, classification and topics shown on this page. It does not replace the original work and does not invent claims about passages that Doxxly cannot verify.
Summary and overview
Intro to C Programming is a 56-page documentcredited to Zora H. Northcote. Introductory C programming slides presented by Tom Papatheodore of the Oak Ridge Leadership Computing Facility on January 20, 2022. Covers program structure, compilation with GCC, variables and data types, formatted output, arrays, loops, operators, conditionals, functions, pointers, and memory allocation. Includes worked code examples and links to accompanying exercises in OLCF’s foundational_hpc_skills repository. It appears in the Education & Learning collection, which groups it with other material that readers may use for comparison and further study.
The item can be approached in several ways. A reader looking for a quick orientation can begin with the free five-page preview, inspect the page structure and use the metadata to judge relevance. Someone undertaking deeper research can work through the complete file, search its indexed text, record useful page references and compare its treatment of C programming, Introductory programming, Training slides, GCC, Arrays, Loops, Functions, Pointers, Memory allocation, OLCF, ORNL with the related resources linked below.
Rather than reducing the work to a single claim, this page treats it as a source that should be read in context. The title, creator, publication source, licence and format all help explain what kind of evidence it may offer. Readers should distinguish the original author's statements from Doxxly's catalogue description, and should cite the original edition when using the material in academic, professional or published work.
Key topics and reader takeaways
The catalogue connects this document with C programming, Introductory programming, Training slides, GCC, Arrays, Loops, Functions, Pointers, Memory allocation, OLCF, ORNL. These terms offer practical entry points rather than a substitute for close reading. Start by identifying the definitions, examples, arguments, tables or visual explanations attached to each topic. Then note where the creator draws connections, makes distinctions or moves from background material to a conclusion, recommendation, calculation or narrative development.
A useful reading method is to separate description from interpretation. First record what the item actually presents: names, headings, figures, formulas, quotations or stated propositions. Next consider why those details matter within the whole work. Finally compare them with another source from the same subject area. This process helps turn a long digital file into evidence that can be evaluated rather than merely skimmed.
Table of contents and reading guide
The following is an editorial content guide based on the verified catalogue topics. It is not represented as the original author's formal table of contents. Use it to organise notes while moving through the 56 pages in the player.
Part 1
C programming
Use this section of the reading guide to identify how C programming appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 2
Introductory programming
Use this section of the reading guide to identify how Introductory programming appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 3
Training slides
Use this section of the reading guide to identify how Training slides appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 4
GCC
Use this section of the reading guide to identify how GCC appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 5
Arrays
Use this section of the reading guide to identify how Arrays appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 6
Loops
Use this section of the reading guide to identify how Loops appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 7
Functions
Use this section of the reading guide to identify how Functions appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
Part 8
Pointers
Use this section of the reading guide to identify how Pointers appears in Intro to C Programming, note important terms, and connect the subject to the wider purpose of the work.
When a heading in the original differs from this guide, follow the original heading in your citation. Page numbers can also vary between editions. Doxxly's direct page field is useful for navigation, but formal references should include the title, creator, source and edition details available in the file itself.
About Zora H. Northcote
Doxxly credits Zora H. Northcote as the author or creator of Intro to C Programming. This page does not add an unverified biography, job title or institutional affiliation. The attribution is preserved so readers can distinguish the creator from the hosting library and follow the original record when an external author link is available.
Author context matters because a work reflects a particular purpose, audience and point of view. Before relying on the material, consider what the creator set out to explain, when the source was produced and whether later research or revised guidance should also be consulted. For literature and philosophy, compare translations and editions; for technical material, check whether a newer version has superseded the one shown here.
About the source organisation
The recorded source for this item is olcf.ornl.gov. Doxxly provides access and discovery tools but does not claim to be the original publisher unless explicitly stated. Source links, creator attribution and the recorded Publicly available file collected for editorial review licence are displayed to help readers assess provenance and permitted use.
Provenance is especially important for reports, standards, presentations and working spreadsheets. Check the original source for amendments, supporting files and current policy. A trustworthy research workflow keeps the source URL with any notes or downloaded copy, verifies important figures against the original, and avoids treating an archived document as automatically current.
Begin with the title and opening pages, then use the guide above to decide whether to read sequentially or move to a particular topic. The Doxxly player provides previous and next navigation, a direct page field, zoom steps, fit-to-width and fit-to-page modes, rotation and fullscreen. These controls are useful when a page contains small type, a wide table, an image, a scanned layout or a dense sequence of notes.
The first five pages are open to every visitor. A plan unlocks the complete item and full-document search. Search is best used for distinctive names, technical terms or short phrases; broad words can produce too many possible contexts. When you find a useful passage, read the surrounding pages so that a sentence, chart or formula is not separated from its explanation.
If downloading is enabled, members can obtain the original PDF file. Keep the original format when formulas, slide sequencing, pagination or layout carries meaning. Respect the Publicly available file collected for editorial review terms displayed on this page, and use the rights-report link if you believe the attribution or availability needs review.
Research questions to consider
As you read Intro to C Programming, ask which audience the creator addresses, what problem or idea organises the work, what evidence is presented, and which assumptions remain unstated. Note whether important terms are defined consistently and whether examples represent a broader pattern or a narrow case. For quantitative material, record units, time periods, formulas and data sources. For interpretive material, separate the creator's language from your own summary.
A second set of questions concerns relevance today. Which parts remain durable, which depend on their historical or institutional setting, and what would need confirmation from a newer source? Following the tags and the Education & Learning collection can reveal useful comparisons. Agreement between sources can strengthen confidence, while disagreement can point to changing definitions, methods, evidence or priorities.
Finally, decide what you need from the item: background knowledge, a quotation, a worked example, a model, a visual explanation or a starting bibliography. That purpose should guide the depth of reading and the notes you keep. Doxxly helps locate and navigate the source; careful interpretation remains the reader's responsibility.