Classroom Programming
page was last updated: Jun 22, 2022 22:52
forum post.
Practice makes permanent!
- I first heard that from Mr. Loan (cool substitute teacher).
Programming itself isn't too difficult, what makes it difficult is the logic, not getting into the mindset, and certain habits that make life really easy. First, we'll go through general programming concepts, then into awesome habits, some more difficult topics, debugging tips, etc. The BEST part, because someone asked me to, I'm gonna be me (Pat) and explain it in Patatoe speak. =P

pre [O_O] Preface

Tim said this was a bad joke ):

C++ is the language that we'll use.

   but pat omg cpp so hard ):, y no basic or python? - ppl

Because you'll come out stronger. C++ SEEMS difficult at first but, because of the age of C and C++, many languages are C-style langauges. Also, personally I find it very easy to read. Sure maybe not like a sentence, but fast and clean {I like curly braces} . In addition, there are real problems when you try to make a speedy or efficient program in some slower languages. You can't complain about lag if youre programming in a system that isn't designed to be FAST. *cough* (eg. Minecraft / Java)

If you wan't an easier language to work with, then I think I would suggest C# / Mono. I'll write why later.

Anyways, if there are ANY questions, errors, or requests. ASK/say! Post on the Forum or Mumble or e-mail (projectpaatt !a-t* hotm--l.c--).

For those who already know some stuff, theres practice on the bottom of page.

Entering from SCRATCH
0
Primer
What IS programming? Why is patatoe writing about it? What am I doing here?
1
Setup
Basic and Easy setup!. or a more involved one
2
Hello World
beep boop test test hello! Basic structure.
3
Variables
variables - easy and quick detail
4
Operators
Symbols. Ways to manipulate data.
5
Input / Output
IO to the screen. along with some quick formatting
6
Logic / Controls
Logic, Control structures, Loops (While, For, Do, Do, Do, Do, Do, Do...)
7
Arrays
store similar data
8
Functions
modularized blocks of codes, reuse and recycle!
9
Scope
Scope, global, prototyping. Brief on namespace, using.
10
Starter Tips
Now that you can do stuff, quick tips
11
Files - output
Saving to disc
12
All Together
Use all of these skills in a final test, do everything!
Movin on
1
Classes
Creating a new variable that holds more vars or does things
2
Preprocessor
Pre-compiler stuff
3
Templates
its like a generic variable
4
Pointers
memory adressing and stuff
5
Dynamic Memory
new, delete, sizeof, and C versions
Tips, Habits, Potatoes no particular order
1
Formatting
ForMatTing CoDE;
2
Computers
general things you should know as a programmer / power user
3
Programs/Utilities
useful programs to use or know of
4
Debugging 1
nice easy ways to find out whats wrong
5
Programming "Style"
your own personal style of programming (not format)
6
Efficiency
a few notes about being efficient
7
More Strings
C-strings and CPP-strings. More complicated than it seems.
8
Console Use
Console navigation and doing stuff
9
Console Programming
Programming for a terminal
10
Scripts
Makefiles, batch, sh. building, running, open your environment etc.
11
Random
cvbinSDF! Generating a random number.
12
Libraries
Other libraries I've found that can make life easy or just to make note of.
13
Compiler Suite
What exactly is going on under the hood when you compile? How is it working?
Practice Permanence
1
Guessing Game
colder or hotter
2
Class Grades
one class, new students, calc averages and stuff
3
Knights Tour
fill the board with only knights movements
4
Calculator
standard os calculator