![Painless Programming](/img/default-banner.jpg)
- 200
- 718 030
Painless Programming
Registrace 3. 05. 2013
I'm a computer science teacher and created this channel to help my students follow along in their courses. I hope you will grow to love computer science as much as I do.
Binary Search Trees Part2 - Searching and Deleting
Binary Search Trees Part2 - Searching and Deleting
This video is part2 for czcams.com/video/MKxBOHLxeGg/video.html
I will show C code for the Binary Search Tree.
This video is part2 for czcams.com/video/MKxBOHLxeGg/video.html
I will show C code for the Binary Search Tree.
zhlédnutí: 25
Video
Binary SearchTree
zhlédnutí 47Před 2 měsíci
Binary SearchTree - for beginners explained using diagrams and C code.
Breadth First Search (BFS) Tutorial with Python Code
zhlédnutí 25Před 2 měsíci
Breadth First Search (BFS) Tutorial with Python Code
Building an Array Based Heap
zhlédnutí 33Před 2 měsíci
Building an Array Based Heap in 7 minutes. I will use diagrams to discuss the logic and python for the implementation.
Python Solution to Tower of Hanoi
zhlédnutí 343Před 3 měsíci
Python Solution to Tower of Hanoi - this video shows a recursive solution to the Tower of Hanoi math puzzle. The puzzle involves 3 towers: A, B, C and a set of disks. You start with a set of disks on A with different diameters and have the goal of moving all disks to C. The puzzle rules say 1) only move one disk at a time 2) only move the disk on top 3) never put a larger disk on top of a small...
Python Lambda Fcns for Beginners
zhlédnutí 154Před 4 měsíci
Python Lambda Fcns for Beginners - lambda functions or lambda expressions are anonymous functions that fit on one line. Let's take some small functions and turn them into lambda functions.
Python and pickle module - serialize objects
zhlédnutí 43Před 6 měsíci
Python and pickle module - serialize objects
Error Handling User Input with cin in C++
zhlédnutí 930Před 11 měsíci
Error Handling User Input with cin in C - when trying to read a number from the user, in my example I'm reading the number into a stort int data type, some errors that could occur: 1) user enters letters only 2) user enters float 3) user enters a mix of numbers and letters 4) user enters a value that is too large and in the case of an unsigned data type, the user could enter a negative number. ...
Using ChatGPT in C Programming
zhlédnutí 712Před rokem
Using ChatGPT in C Programming - this video poses a simple programming problem to ChatGPT and looks at the pros and cons of the generated answer. ChatGPT could be a great tool when learning C programming, but be careful not to become over reliant on the tool. And do not turn in ChatGPT answers as your own original work.
Creating a Database in Python using sqlite3 module
zhlédnutí 125Před rokem
This video is aimed at beginners who want to create a database in python. I'm using the sqlite3 module which is included when you download python. This video shows you how to create a database table, how to insert records into the table, how to delete records, and how to select from the table.
Learn to Code a Barbie Dress Up Game in 5 Minutes
zhlédnutí 853Před rokem
Learn to Code a Barbie Dress Up Game in 5 Minutes - This tutorial is for beginning coders using Scratch. You can find the images used in this video at the link: github.com/heathermarriott/barbieScratchProject
Creating your First Computer Game in Scratch
zhlédnutí 410Před rokem
Creating your First Computer Game in Scratch - Scratch is a language created by MIT to help teach computer programming to kids and adults. The easy to use online format makes learning about programming very easy for all. Start by creating an account at: scratch.mit.edu/ I will walk you through creating your first game where you help the cat collect fish by clicking on them. This simple example ...
Swift Storyboard Tutorial
zhlédnutí 12KPřed rokem
This is a beginner's swift storyboard example with two labels and two buttons. The video shows how to hookup the User Interface from the storyboard to the Swift code. I demonstrated having swift code in multiple files by using a class extension.
Unity Scenes that Look Good on Most Devices
zhlédnutí 144Před rokem
Unity Scenes that Look Good on All(Most) Devices - How to view your Unity Scene as it will appear of different device types: iPhones, iPads, Android tablets and phones. Setting the Canvas to Scale with Screen Size and inputting dimensions for the ideal screen size.
Intro to Microsoft Azure PlayFab, Anonymous Login and Title Data
zhlédnutí 453Před rokem
Intro to Microsoft Azure PlayFab - For those that are new to PlayFab. PlayFab is useful if you want to keep track of user login activity, good for multiplayer game Leaderboard support, etc. This video shows an Anonymous Login and retrieving Title Data from PlayFab. Installing PlayFab SDK for Unity - learn.microsoft.com/en-us/gaming/playfab/sdks/unity3d/installing-unity3d-sdk My previous Unity T...
Unity Tutorial For Beginners - Button and TextMeshPro using Unity 2021
zhlédnutí 6KPřed rokem
Unity Tutorial For Beginners - Button and TextMeshPro using Unity 2021
Python Minesweeper - Handling Zero Boxes
zhlédnutí 959Před rokem
Python Minesweeper - Handling Zero Boxes
Unity - Multiple Animations on One Object
zhlédnutí 15KPřed 2 lety
Unity - Multiple Animations on One Object
Swift - UserDefaults (how to remember user selections)
zhlédnutí 336Před 2 lety
Swift - UserDefaults (how to remember user selections)
SpriteKit Collisions in a Character Game with Multiple Scenes
zhlédnutí 2,3KPřed 2 lety
SpriteKit Collisions in a Character Game with Multiple Scenes
Python Minesweeper Program in Less than 20 minutes
zhlédnutí 4,3KPřed 2 lety
Python Minesweeper Program in Less than 20 minutes
Unity - Multiple Sounds On A Button (Quiz Game Application)
zhlédnutí 645Před 2 lety
Unity - Multiple Sounds On A Button (Quiz Game Application)
is that an online editor you're using ?
yes onlinegdb.com
Amazing video.
Thanks!
thank you so much, I couldn't find any other video talking about this. I was just about to quit
Glad it helped. Thanks for watching!
Awesome tutorial, keep it up!
Thanks!
I am the 330th like from Senegal.
very useful, thanks
thank u
Or... just read a string and parse the integer. That is the easier way. scanf is not intended to be used as user input. scanf is a formatted input and, such as, you need to know all types of the input and the sequence of their occurrence. And that info is into the man page. C is not for beginners!
Very accessible and clear explanation! Thank you!
Question, since appending to list is linear time, whereas prepending would be constant, was the choice for the former meant to illustrate list traversal? Just curious since it seems simpler conceptually simpler and more performant to prepend. Thanks so much for your videos btw! Really appreciate the format and work you've put into them
That is a fantastic observation. Yes, in my example, insertion is O(n) because of the list traversal. You are correct, that putting the new item at the front would be O(1) and a good performance improvement if you do not need to keep the linked list in order of found Easter Eggs. Another way to do this would be to keep a pointer to the end of your linked list if you know that you will be frequently inserting to the end. Thanks for watching and commenting!
@@PainlessProgramming for sure, that makes sense. thanks for the reply and again for all your excellent instructional material!
Thank you so much!
Can python script use this as sector writer ? As hard drive manipulation it would be helpful if this can be used as output writer into hard drive sector 😅
Great! Thanks for this tutorial!
Hello i am from india,i'm a first year student in my college, i just started learning C++ and i completed learning upto functions, i understood your video very well, thanks a lot and also give me some tips to become a proficient programmer, please continue this series, ill recommend to my friends also.
I did not know I had any viewers from India. Thanks for watching. Best of luck in college.
@@PainlessProgramming Thanks
Very nice tutorial! Next step: adding some cool graphics with PyGame!
great idea!
Thank you so much
oh my god i hope you win a billion dollars in the lottery
Thanks :)
Very nice .. my son is learning Python 🐍
you're amazing 😭. others use all the most complicated methods they could come up with it, but this really isn't so, painful, to code 💖
Thanks!
Good tutorial, it's very surprising it didnt have many views.
oHiO w
so helpful thanks miss💗
OMG, I swear I was trying to find a function like this, you are a lifesaver
Glad to hear it. Thanks for watching.
Python is really slow for this simple task 😅
omg that was so helpful!!!
Very helpful😊
how about if i entered a combination of numbers and letters? my program requires integers. for example, i put "98eg" it should return an error too. but when i entered 98 only, it'll perform what my program is supposed to do
This was an awesome video! Is it possible for you to make a video covering segues? Would love to hear your take on them 🙌🏽
Needed a better understanding on this topic. Thanks! You earned another sub. Please keep teaching!
Thank you sooo much for this video!
Everyone needs to see this video! Most people thinks that IA is this all-knowing entity thats gonna enslave humanity, when its only a tool, its excellent for producing mediocre stuff but when you need something a little bit more deep It start giving you random shit 😂
with this operators you can create a binary calculator.
Thank you very much extremely handy :)
Exactly what I've been looking for not more not less, thanks
This is great :D Thank you for the video!
do you know a way to change the frequency of the sound?
Really helped me understand. Thanks!
Easiest Tutorial on the internet.
oooooooooh Thank you for this tutorial Sensie, it's work for me.🤩
How do I write a string and other data types?
Hey Heather! I just searched for "python hex editor" and this was the first thing that came up! Very cool. I didn't even know you were a computer science teacher.
it's a small world! Thanks for checking out my channel. Happy Juggling.
You’re the best, girl. Thank you.
awww... Thanks!
Thanks this was very useful
I was getting error messages during linking. I Googled it, but no help. You were the only one to mention Winmm.lib. I added it, and it started working. I signed in to CZcams just to thank you.
You really did steal the show with this one. It was simple, accurate and perfect introduction to game development using SpriteKit. Thank you!
Thank you, I forgot about cin.ignore til I saw this - my try/catch was whack and this almost completely handled my error condition. Still a few hiccups but, this is the right direction. Anyway thanks a bunch :)
Hi there, could you do a video of writing, say, instances of classes to a binary file for storage? I'm thinking of doing that for my own program but I'm not exactly sure how to go about it.
Hi, nice video, that's so simple and creative!! How would you put this into a desktop app?? TKInter, wxwidgets......