![Portfolio Courses](/img/default-banner.jpg)
- 852
- 9 278 963
Portfolio Courses
Приєднався 9 лип 2019
At Portfolio Courses our goal is to help you build a portfolio of work that you can use to showcase your skills to potential employers, colleagues and clients! Nothing says you can do the job like real projects completed for your own fun and learning.
We'll be offering a suite of courses at PortfolioCourses.com to allow you to grow your technical and soft skills while building an awesome portfolio of work. On this UA-cam channel we'll be offering free tutorials covering various technologies and programming languages.
You can help to support the channel by subscribing and helping to spread the word to your friends!
We also accept PayPal Donations using the link below... even small donations make a big difference and really help make Portfolio Courses possible!
We'll be offering a suite of courses at PortfolioCourses.com to allow you to grow your technical and soft skills while building an awesome portfolio of work. On this UA-cam channel we'll be offering free tutorials covering various technologies and programming languages.
You can help to support the channel by subscribing and helping to spread the word to your friends!
We also accept PayPal Donations using the link below... even small donations make a big difference and really help make Portfolio Courses possible!
Append A Character To A Dynamically Allocated String | C Programming Example
How to append a character to a string that is stored in dynamically allocated memory using C. Source code: github.com/portfoliocourses/c-example-code/blob/main/append_char_to_dynamically_allocated_string.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Переглядів: 715
Відео
Print The Negative Numbers In A List | Python Example
Переглядів 2917 годин тому
How to print the negative numbers in a list using Python. Source code: github.com/portfoliocourses/python-example-code/blob/main/print_negative_list_numbers.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Segmentation Faults And Common Causes | C Programming Tutorial
Переглядів 2,6 тис.14 годин тому
Learn about what a segmentation fault is and some of the common causes in C programs. Source code: github.com/portfoliocourses/c-example-code/blob/main/segmentation_fault.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers! Stack Overflow Errors In C Tutorial: ua-cam.com/video/D3scXBzRQUk/v-deo.html
Count Occurrences Of An Item In A List Without Using count() | Python Example
Переглядів 32516 годин тому
How to count the occurrences of an item in a list without using the built-in .count() list method in Python. Source code: github.com/portfoliocourses/python-example-code/blob/main/count_list_item_occurrences.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Legal Ways To Call Void Functions | C Programming Tutorial
Переглядів 3,9 тис.21 годину тому
Learn about the different legal ways to call void functions in C. This video is mostly just for fun as the unusual but still legal ways that we can call void functions are either not useful or generally considered bad practice. Source code: github.com/portfoliocourses/c-example-code/blob/main/legal_ways_to_call_void_functions.c. Check out www.portfoliocourses.com to build a portfolio that will ...
Print The Positive Numbers In A List | Python Example
Переглядів 283День тому
How to print the positive numbers in a list using Python. Source code: github.com/portfoliocourses/python-example-code/blob/main/print_positive_list_numbers.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Void Functions | C Programming Tutorial
Переглядів 1,2 тис.14 днів тому
An explanation of what void functions are in C and how to use them. Source code: github.com/portfoliocourses/c-example-code/blob/main/void_functions.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers! Legal Ways To Call Void Functions Tutorial Video: ua-cam.com/video/fmD636e4ZsI/v-deo.html
Multi-Line Statements | Python Tutorial
Переглядів 36814 днів тому
How to split a statement across multiple lines using Python. Explicit line joining using the line continuation character \ is discussed, as well as implicit line joining using expressions with parenthesis, square brackets and curly braces, and defining strings across multiple lines with \ and docstrings (triple quote strings). Source code: github.com/portfoliocourses/python-example-code/blob/ma...
Print Even Numbers In An Array | C Programming Example
Переглядів 60214 днів тому
How to print the even numbers in an array using C. Source code: github.com/portfoliocourses/c-example-code/blob/main/print_array_even_numbers.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Check If A String Is A Binary String | Python Example
Переглядів 30114 днів тому
How to check if a string is a binary string using Python, i.e. how to check if a string is a binary number made up of only '0' and '1' digits (characters). Source code: github.com/portfoliocourses/python-example-code/blob/main/check_binary_string.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
How To Resize An Array | C Programming Tutorial
Переглядів 1,7 тис.21 день тому
How to resize an array using C. Examples of using realloc() to resize a dynamically allocated array are demonstrated. And also discussed is the workaround idea of using a statically allocated array with a capacity large enough to solve the maximum problem size while also keeping track of the length (portion) of the array that is practically used at runtime. Source code: github.com/portfoliocour...
Convert A Binary Number To A Decimal Number | Python Example
Переглядів 60221 день тому
How to convert a binary number to a decimal number using Python. Source code: github.com/portfoliocourses/python-example-code/blob/main/convert_binary_to_decimal.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Print Positive Numbers In An Array | C Programming Example
Переглядів 58521 день тому
How to print the positive numbers in an array using C. Source code: github.com/portfoliocourses/c-example-code/blob/main/print_array_positive.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Convert A Decimal Number To A Binary Number | Python Example
Переглядів 48221 день тому
How to convert a decimal number to a binary number using Python. More specifically, how to implement an algorithm to convert a non-negative integer to its binary number representation. Source code: github.com/portfoliocourses/python-example-code/blob/main/convert_decimal_to_binary.py. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Count The Occurrences Of A Value In An Array Using Recursion | C Programming Example
Переглядів 68128 днів тому
How to count the occurrences of a value in an array using recursion in C. Source code: github.com/portfoliocourses/c-example-code/blob/main/count_occurrences_recursive.c. Check out www.portfoliocourses.com to build a portfolio that will impress employers!
Loop Through A List Using A While Loop | Python Example
Переглядів 424Місяць тому
Loop Through A List Using A While Loop | Python Example
Linked Lists With C Udemy Course FREE Summer 2024 Promotion
Переглядів 767Місяць тому
Linked Lists With C Udemy Course FREE Summer 2024 Promotion
Sum Array Elements Using Recursion | C Programming Example
Переглядів 795Місяць тому
Sum Array Elements Using Recursion | C Programming Example
Merge Two Sorted Lists | Python Example
Переглядів 475Місяць тому
Merge Two Sorted Lists | Python Example
Check If Two Arrays Are Equal Or Not | C Programming Example
Переглядів 928Місяць тому
Check If Two Arrays Are Equal Or Not | C Programming Example
Delete All Lines In A File That Contain A String | Python Example
Переглядів 379Місяць тому
Delete All Lines In A File That Contain A String | Python Example
Resize A String Stored In Dynamically Allocated Memory | C Programming Tutorial
Переглядів 1,2 тис.Місяць тому
Resize A String Stored In Dynamically Allocated Memory | C Programming Tutorial
Remove The Last Character In A String | C Programming Example
Переглядів 721Місяць тому
Remove The Last Character In A String | C Programming Example
Reverse The Words In A String | Python Example
Переглядів 336Місяць тому
Reverse The Words In A String | Python Example
Print A String In Reverse | C Programming Example
Переглядів 666Місяць тому
Print A String In Reverse | C Programming Example
Count The Words In A File | Python Example
Переглядів 502Місяць тому
Count The Words In A File | Python Example
Convert Seconds To Days, Hours, Minutes and Seconds | C Programming Example
Переглядів 750Місяць тому
Convert Seconds To Days, Hours, Minutes and Seconds | C Programming Example
Count The Words In A String | Python Example
Переглядів 369Місяць тому
Count The Words In A String | Python Example
Remove All Punctuation Marks From A String | C Programming Example
Переглядів 863Місяць тому
Remove All Punctuation Marks From A String | C Programming Example
Remove All Punctuation Marks From A String | Python Example
Переглядів 4172 місяці тому
Remove All Punctuation Marks From A String | Python Example
Thank you for the video! The one question I have is, would it not be necessary to typecast the malloc?
No, it's necessary in C++ but not C: ua-cam.com/video/KTbY4-chkcs/v-deo.html
@@PortfolioCourses Wow, that was a quick response, thank you so much!
Thank you for this very helpful lesson again! 🙂
void func() {} #pragma startup func #pragma exit func gcc: void __attribute__((constructor)) func(); void __attribute__((destructor)) func(); Not sure if it counts because it depends on the compiler.
WHICH SITE DID YOU USE
For most compilers if optimizations are turned on the recursive function won't cause a stack overflow because the optimizations will tell the program to just go to the start of the function instead of calling it
And all "friendly" languages made this some operations hidded for the programer. Thank you!
This is really cool i made something with this knowledge im.new in coding so dont mind it being noob level
Sons_name = input("Whats Your name? ") Character_name = str(Sons_name) character_level = input("Whats your level? ") Character_prestige = int(character_level) if (int(character_level) > 100): print ("Nice Level: ", Character_prestige) else: print("YOU SUCK:", Character_prestige)
I think if you are writing a wrapper around a void function it might be better practice to do "return func();" because if the definition of func() changes to output a type then you want a compiler error
I recently started learning C programming and I find it fascinating how it lacks so many of the built-in functions commonly found in other languages, likely due to its age. This often requires you to creating your own custom functions, which I find both fun and challenging.
I create my own pow function #include <stdio.h> int Pow(s,f){ int i = 1; int num = s; while (i<f){ i++; num = num*s; printf("%d ",num); } } int main(){ Pow(2,9); }
hey are f1 and f2 are the names of these two files..>?
Yep! :-)
your telling me by random chance AI throws scissors 4 times in a row…
I know eh! The odds of getting 4 of something in a row are about 3.6% I think, so it's unlikely but not astronomically unlikely. :-)
U crazy son b of a gun
Good stuff 👏
Thanks, I’m glad you liked it! :-)
Finally, I understand nested functions. Subscribing!
Welcome aboard! :-)
Is there a video where you explain only about VECTOR data structure in detail?
No, I haven’t done that one yet.
From errno manual: On some ancient systems, <errno.h> was not present or did not declare errno, so that it was necessary to declare errno manually (i.e., extern int errno). Do not do this. It long ago ceased to be necessary, and it will cause problems with modern versions of the C library.
For the last discussed case, the term 'use after free' is also common.
I'll be watching this multiple times.. I'm having such trouble with an spi function taking a const uint16_t *in.. Ptrs themselves aren't bad, but arrays for some reason still woosh over my head.
I'm using gcc in Ubuntu and I can strcpy an char source[100] int a char coda[8] and do not get even a warning (I am using -Wall and -g in the compilation)! I understand it is likely written into memory it should not but.
that was pretty useless, but fun
This video is class!
Hahahaha
For the sake of completeness ... you can have a variable of type 'pointer to function returning void', assign your void function to this pointer (which basically copies the entry address of the function into the pointer) and finally call the function via the pointer.
That’s true! :-) Anyone interested in learning about this may find this video on function pointers interesting: ua-cam.com/video/f_uWOWViYc0/v-deo.html
what if we like put a condition that we will treat those as words only starting with alphabets?
print([i for i in number_list if i < 0])
Not bragging, but genuinly curious: I've never had this mistake to this day, but is it something that happens a lot?
don't be bored telling the same thing: you're the best instructor
very good and clean explanation.. like always
return function1(), 0;
May i ask , what editor are you using ?
Xcode on MacOS :-)
Great explanation. Although I'd really love to see a video on recursion that ISN'T about factorials. 🙃
If you search “recursion” on this channel page you’ll find a bunch of other recursion examples. :-)
Wow someone is using vanilla C in 2024 😮
C forever! :-)
C is almost the de facto programming language in embedded systems.
Why not sizeof(array)?
If we know the length, we don’t need to use sizeof(). We can’t always use sizeof to determine the length either, for example when passing the array to a function.
@@PortfolioCourses so we can't use sizeof inside of a function? Okay I didn't know that.
Mixing problem solving videos and complex concepts is very good idea. More please
I’m glad you liked it! :-)
❤ thank you so much
You're welcome 😊
many thanks, subscribed
Welcome aboard! :-)
Super video !! BTW there is no link to the video on stack overflow ?
Thanks for letting me know that was missing, the video has now been added to the description, and it's available here: ua-cam.com/video/D3scXBzRQUk/v-deo.html
Watching those great videos more than once will make you a better programmer.
Thanks!
Very good video, I have watched this video several times to recall all possible causes of Segmentation Faults. Thank you Kevin.
You're welcome! :-)
Great!
I’m glad you liked it! :-)
That video help me to make a lot of questions. So the ascii printable can be represent by int but also unsigned int. I was curious and what about extended ascii, UTF, UNICODE all this encodings. And then once a bytes pattern is matched to a symbol where the actual graphical representation for the symbol lives? How they are matched. The exercise could have gone a bit further and talked about wprintf and locale.
Love your C programming videos! Thank you!
You're welcome, I'm glad you like the videos! :-)
Can you please explain thread all functions in library threads
Thank you for the suggestion. :-)
can you give us the algorithm course from scratch to the hardest as (queen, backtracking ... ) by language C
Thank you for the suggestion. :-)
Can you make a video on working with GUI in C?
Thank you for the suggestion. :-)
Didn't know about the bracket operation
Excellent!
I'm glad you enjoyed it! :-)
Your C tutorials + book by Ken Thomson has helped me a lot
That’s great, I’m glad the tutorials are helping you! :-)