42 Berlin
42 Berlin
  • Видео 53
  • Просмотров 725 969
Mastering Command Line Arguments in C: argc and argv made easy
Curious about how to make your C programs accept input directly from the command line?
In this beginner-friendly tutorial, we dive into the basics of using command line arguments with argc and argv in C.
We'll cover:
- How argc and argv work to handle command line input
- Practical examples to help you understand when and how to use them
- Step-by-step guidance for running and testing your own program
Website: 42berlin.de/
Instagram: /42berlin_
TikTok: /42_berlin
LinkedIn: /42-berlin
GitHub: github.com/42Berlin/
#CProgramming #CommandLine #argcargv #42torials #CodingTips #42Berlin #Born2Code #LearnToCode
Просмотров: 1 090

Видео

Mastering Memory in C: How to use malloc like a pro
Просмотров 9052 месяца назад
Dive into the essentials of memory management in C as we explore the malloc function. Short for “memory allocation,” malloc lets your program reserve memory during runtime, a crucial skill for efficient C programming. We'll walk through examples on how to use malloc, discuss common pitfalls, and share best practices for keeping your code clean and bug-free. Website: 42berlin.de/ Instagram: inst...
Understanding Memory Management in C: Command Line Basics for Beginners
Просмотров 3792 месяца назад
In our latest 42torial, learn the basics of memory management in C with Zandra from 42 Berlin in this easy-to-follow tutorial. We'll show you how programs take user input through the command line and what happens behind the scenes with memory when your program runs. You’ll see simple code examples, like building a password checker, and how to manage user input effectively. This is perfect for b...
Recursion: Everything you need to know about it
Просмотров 6002 месяца назад
42torials are back ✌️ Zandra from 42 Berlin unravels the mysteries of recursion, one of the more challenging concepts in programming. Recursion allows functions to call themselves, making it a useful tool for solving complex problems efficiently. Whether you’re a beginner or looking to refresh your understanding, this introduction will help you get a solid grasp of recursive functions in C. Joi...
42 Coding Project Diaries - CPP with Alise (Day 1)
Просмотров 23 тыс.5 месяцев назад
Starting a new project can be difficult and everyone has their own way of doing it. In this series we are following Alise - a 42 Berlin student who has taken us on a journey of doing one of 42 Core Curriculum projects - CPP from scratch. This Diaries series will help you understand how 42 methodology works from a close up as well as learn a few valuable tips on how to approach 42 projects as a ...
Do 42 Graduates make good hires? - 42 Coding Curriculum in the Real World
Просмотров 1,2 тыс.6 месяцев назад
42 Curriculum is difficult and often more difficult than regular Computer Science studies. You learn the most challenging coding language of them all - C and need to find enough resilience, motivation and patience to go through a lot of wildly complex projects. But is it worth it? In this video we've asked a recruiting team from VW - Christin Hercht and Robert Markhardt about their experiences ...
42 Graduates at work - How does 42 prepare talent for their jobs in tech?
Просмотров 1,1 тыс.7 месяцев назад
Samuel Nocita - 42 Wolfsburg graduate who now works at ETAS in Berlin as a Software Engineer talked to us about his job and experience with 42. Listen to his story and a testimonial of his Manager - Ansgar Lindwedel to find out how 42 curriculum prepares talent for the real world of working as programmers. We've asked Sam and Ansgar about the skillset required for Software Engineering roles and...
Introduction to Pointers in C
Просмотров 2,6 тыс.8 месяцев назад
Pointers Explained in 8 mins - Coding for Beginners with 42 Berlin Pointers are definitely not the easiest of the variables to understand. They are incredibly useful and play an important role in C. Théo, 42 Berlin Student explains the basics of how they work and points out (*pun intended) how to use them. Topics discussed: 1) Elements of a C variable 2) Pointer definition in C Programming 3) P...
A Day in the Life of a Student in a Coding School with No Teachers
Просмотров 136 тыс.9 месяцев назад
How does it work to study at a school with no teachers and no class schedule? Join Elise, a 42 student, as she gives you a glimpse into her daily routine at 42 Berlin. Our website: 42berlin.de/ Instagram: 42berlin_ TikTok: www.tiktok.com/@42_berlin LinkedIn: www.linkedin.com/school/42-berlin/ Github: github.com/42Berlin/ #codingschool #born2code #codemasters #learntocode #learnto...
Coding for Beginners - What's Git? Git explained and learned in 10 mins
Просмотров 8369 месяцев назад
Théo explains and walks you through the world of Git and repositories in 10 mins. Find out what Git is and how to use it on your terminal. Creating repos and collaborative code production require a simple and easy to modifiable structure. That's basically what Git is. Just like anything at early steps of learning how to code it seems like a different world and might seem like something difficul...
Coding for Beginners - Learn how to use a terminal in under 5 mins
Просмотров 8 тыс.9 месяцев назад
Terminal Basics for Beginners. This video is about the basics of command line and how to use a terminal. A terminal is of ultimate importance as it is the base for all of the work you do with you code. Think of it as your first step into the realm of programming, where you can communicate directly with your computer and watch your commands come to life before your very eyes, It might seem daunt...
42 Snow Trip 2024
Просмотров 1,1 тыс.11 месяцев назад
42 Snow Trip 2024
Jean-Philippe Courtois - Microsoft's EVP at 42 Berlin
Просмотров 57611 месяцев назад
Jean-Philippe Courtois - Microsoft's EVP at 42 Berlin
This is 42 - Free Software Engineering School in Berlin
Просмотров 68 тыс.11 месяцев назад
This is 42 - Free Software Engineering School in Berlin
42 Berlin student story - Pritika
Просмотров 183 тыс.11 месяцев назад
42 Berlin student story - Pritika
How to pass the 42 Piscine // 42 Berlin Piscine Diary Week 4
Просмотров 11 тыс.Год назад
How to pass the 42 Piscine // 42 Berlin Piscine Diary Week 4
This is why I didn't give up on my Piscine // 42 Berlin Piscine Diary Week 3
Просмотров 3,4 тыс.Год назад
This is why I didn't give up on my Piscine // 42 Berlin Piscine Diary Week 3
How to survive the 2nd week of 42 Piscine // Piscine Diary Week 2
Просмотров 7 тыс.Год назад
How to survive the 2nd week of 42 Piscine // Piscine Diary Week 2
I failed the first week of the Piscine at 42 Berlin // Piscine Diary Week 1
Просмотров 9 тыс.Год назад
I failed the first week of the Piscine at 42 Berlin // Piscine Diary Week 1
What jobs will be taken over by AI? Artificial Intelligence and the job market for Coders.
Просмотров 1,4 тыс.Год назад
What jobs will be taken over by AI? Artificial Intelligence and the job market for Coders.
Can you build a musical synthesiser using code? 42 Berlin speaks to Bamanya Brian at CTM festival
Просмотров 574Год назад
Can you build a musical synthesiser using code? 42 Berlin speaks to Bamanya Brian at CTM festival
Coding Creativity - how to be an artist using code?
Просмотров 42 тыс.Год назад
Coding Creativity - how to be an artist using code?
Algorave Concert - Alexandra Cárdenas
Просмотров 1,9 тыс.Год назад
Algorave Concert - Alexandra Cárdenas
Do the trees in Berlin feel stress? AI & Sustainability from the 42 Berlin campus
Просмотров 673Год назад
Do the trees in Berlin feel stress? AI & Sustainability from the 42 Berlin campus
Would you elect an AI for president?
Просмотров 390Год назад
Would you elect an AI for president?
Why is Cybersecurity sexier than ever? Specialise with 42 Berlin Coding School
Просмотров 1,8 тыс.Год назад
Why is Cybersecurity sexier than ever? Specialise with 42 Berlin Coding School
Could a career in code improve your well being? Career Switching at 42 Berlin Coding School
Просмотров 1,3 тыс.Год назад
Could a career in code improve your well being? Career Switching at 42 Berlin Coding School
Introduction to 42 Berlin Coding School: All you need to know before you join the Piscine
Просмотров 14 тыс.Год назад
Introduction to 42 Berlin Coding School: All you need to know before you join the Piscine
Community and Clubs at 42 Berlin Coding School
Просмотров 1,6 тыс.Год назад
Community and Clubs at 42 Berlin Coding School
What's the difference between 42 Berlin, a Bootcamp and University?
Просмотров 3,9 тыс.Год назад
What's the difference between 42 Berlin, a Bootcamp and University?

Комментарии

  • @everything-np3gx
    @everything-np3gx 5 дней назад

    I just get accepted but im a moroccan live in italy as a refugee and I don’t know how to get my visa and I don’t know what about living in Berlin and everything i need to talk to someone of you guys because i have difficulties

  • @sisinomi
    @sisinomi Месяц назад

    Can't wait to join

  • @ataimebenson
    @ataimebenson Месяц назад

    I love the 42 schools 😊

  • @JosemarPascoal-k1l
    @JosemarPascoal-k1l Месяц назад

    Hello, I would like to know if after the 300 days, I can simply apply for a new piscine or will I have to redo all the steps prior to the piscine and I would also like to know if the second attempt can be on the same campus as the first :)

    • @42berlin
      @42berlin Месяц назад

      Hi there, you don't need to redo the application steps - it's enough to just sign up to the Piscine and you can absolutely do it on the same campus again :)

    • @JosemarPascoal-k1l
      @JosemarPascoal-k1l Месяц назад

      @@42berlin Thank you very much, you have just rekindled my hope. :) the future is bright

  • @tilt9
    @tilt9 Месяц назад

    ЛАДНО

  • @sb____officialz
    @sb____officialz Месяц назад

    How can I join your programme ? Is it online ? I am a btech student in computer science. I have basic knowledge in python ,DSA , Machine Learning. Magdalena skorupska , I love your marketing style. I would love to join this programme.

    • @42berlin
      @42berlin Месяц назад

      You just need to register at 42berlin.de to join our programme. Hopefully see you very soon 🖤

  • @gekko24
    @gekko24 2 месяца назад

    really nice

  • @TheRivas2000
    @TheRivas2000 2 месяца назад

    You guys have been picked by the algorithm. Enjoy the ride!!!!

  • @Alexlinnk
    @Alexlinnk 2 месяца назад

    Hello 42 Berlin, from 42 Madrid👋. There’s a rumor that 42 students are often considered better programmers than traditional university graduates. 😳😌

  • @modernarianalifestyle
    @modernarianalifestyle 2 месяца назад

    Perfect ich träume so wie du bist!!

  • @HoSza1
    @HoSza1 2 месяца назад

    everythimg looks cool and simple, until you start working with (recursive) submodules or trees, gerrit and the whole devops circus or just other developers in general 😂

  • @HoSza1
    @HoSza1 2 месяца назад

    Pros don't use malloc and free directly, so the title is somewhat misleading. They implement custom memory management strategies which can vary depending on a subsystem by subsystem basis. One element of this is the use of wrapped versions of malloc and free.

  • @samuelvishesh
    @samuelvishesh 2 месяца назад

    How to enforce tail recursion optimisation?

    • @42berlin
      @42berlin Месяц назад

      Here is a quick summary for you ✌️ In C, tail recursion optimization (TRO) is not something you enforce directly in the language itself, but rather something that is handled by the compiler if possible. Tail recursion occurs when the recursive call is the last operation in the function before it returns. In this case, the current function's stack frame is no longer needed, and the compiler can optimize by reusing the stack frame instead of creating a new one. Modern C compilers (e.g., GCC, Clang) can optimize tail-recursive functions to eliminate stack frame buildup. However, this optimization is not guaranteed by the C standard and depends on the compiler and optimization settings. How to Write Tail-Recursive Functions - Ensure that the recursive call is the last action in the function. - Avoid computations or operations after the recursive call. - Pass along any intermediate results via function arguments. Example of tail-recursive function: ```c int factorial_tail(int n, int acc) { if (n == 0) return acc; return factorial_tail(n - 1, acc * n); // Tail call } ``` Example of non-tail-recursive function: ```c int factorial_non_tail(int n) { if (n == 0) return 1; return n * factorial_non_tail(n - 1); // Not a tail call because of multiplication }

  • @finally-a-girl-is-noone
    @finally-a-girl-is-noone 2 месяца назад

    I am new to this but shouldn't you set the copy to null explicitly after freeing it? If you didnt inorder to showcase printing garbage then it makes sense

  • @xBiggs
    @xBiggs 2 месяца назад

    I really don't like how you use C89, but whatever. Your main() should be main(void) Your len should be size_t because strlen() returns size_t not int Your duplicate_string() should call exit(EXIT_FAILURE) instead of exit(1) You glossed over printing copy after it was left dangling without mentioning that this is extremely dangerous Remember to set copy to null after freeing it so that it isn't dangling

    • @HoSza1
      @HoSza1 2 месяца назад

      Swimming in a pool full of hungry alligators is extremely dangerous. Printing dangling pointers is on a whole other danger level. And no please don't even start on hallucinating of launched missiles and exploding nuclear plants.

  • @nasimnajand9697
    @nasimnajand9697 2 месяца назад

    I hope you explain the tower of Hanoi problem in further videos. Thanks in advance❤😊

  • @Cristianomiguel-e5q
    @Cristianomiguel-e5q 2 месяца назад

    I've really enjoyed the video! Congratulations

    • @42berlin
      @42berlin Месяц назад

      Glad you enjoyed it!

  • @KharKhin
    @KharKhin 2 месяца назад

    You mention it's okay to fail the project but what if you fall the piscine?

    • @42berlin
      @42berlin Месяц назад

      You can redo the Piscine after 300 days and you can do 2 piscines in your lifetime

  • @thob
    @thob 2 месяца назад

    The other comment might be under review, so I'll post this in a new one. I wrote the iterative factorial function counting backwards because I missed that she said "the loop in _this case_ counts upwards", but the distinction in the execution might make new programmers think this is an inherent property of the control flow, which is why I wanted to exemplify the same behavior can occur in both recursive and iterative processes.

    • @zandrah496
      @zandrah496 2 месяца назад

      You are correct, loops can of course go both ways. I chose to do the iterative solution by incrementing the counting, since many new coders (me included) find that easier.

  • @nasimnajand9697
    @nasimnajand9697 3 месяца назад

    Love to learn from your videos. I am in Iran and I cannot study in 42berlin 😞

  • @mrzackhan
    @mrzackhan 3 месяца назад

    Is their any online courses available? Online programs?

    • @42berlin
      @42berlin 3 месяца назад

      No, sorry you can only study onsite with us <3

  • @Jack57098
    @Jack57098 3 месяца назад

    Isn’t it better if you share the curriculum of Piscine in details so that the new comers who have time get ready beforehand? This way, the stress and anxiety would be a lot less during the Piscine.

    • @42berlin
      @42berlin 3 месяца назад

      It'd likely defeat the purpose and effect of the Piscine and Peer2peer learning ❤

    • @Jack57098
      @Jack57098 3 месяца назад

      @@42berlin I think the ultimate purpose is to learn and this goal can be achieved both ways. At least students come to the piscine with a bit of preparedness and they would learn the rest of it during the Piscine. They surely can’t learn everything by themselves and the piscine would have its effect. All I am saying is a little preparedness would help everyone. 🙏🏻

  • @hardik_panwar_
    @hardik_panwar_ 3 месяца назад

    she is doing awesome keep it upp

  • @user-or2eb7mn3u
    @user-or2eb7mn3u 3 месяца назад

    Biden was an A.I.

  • @GeorgeGullber
    @GeorgeGullber 4 месяца назад

    Mommy’s son 😂 😅😂

  • @dhararaval3030
    @dhararaval3030 4 месяца назад

    Hallo ! Is There An online study available ?

  • @victorwade2343
    @victorwade2343 4 месяца назад

    Great video! Keep swimming and remember to bring a towel! #born2code

  • @YoyMi-k9k
    @YoyMi-k9k 4 месяца назад

    Tan chida Alexandra ❤

  • @khaledabouwalid1727
    @khaledabouwalid1727 4 месяца назад

    I need to know the deadline for each project please

    • @42berlin
      @42berlin Месяц назад

      It depends on your pace when you are a student :)

  • @nuaimabdallah9166
    @nuaimabdallah9166 4 месяца назад

    Hello. Im from Ghana, can i register here and study online or do i need to be in Berlin before i can register and study. Thanks

    • @42berlin
      @42berlin Месяц назад

      You can register from wherever you'd like but you need to be in Berlin to study with us

  • @GeorgeGullber
    @GeorgeGullber 4 месяца назад

    Very good presentation , there is possible to get certificate ?!

    • @42berlin
      @42berlin Месяц назад

      You get a confirmation of passing the core and all necessary skills to find a job :)

  • @yapcona
    @yapcona 5 месяцев назад

    thank you, was really informative my G 🤝

  • @annilahtinen4774
    @annilahtinen4774 5 месяцев назад

    Alise will nail it, sooner than later!

  • @romans.9514
    @romans.9514 5 месяцев назад

    200 Nationalities

  • @OluapOirevlis
    @OluapOirevlis 5 месяцев назад

    You can do it Alise!

  • @Madme1919
    @Madme1919 5 месяцев назад

    Go, go Alise 🫶

  • @KevinDiVico
    @KevinDiVico 5 месяцев назад

    Good luck on your project.

  • @jakegh4299
    @jakegh4299 5 месяцев назад

    When it comes to Peer to peer the understanding becomes a must .

  • @minimalSwift
    @minimalSwift 5 месяцев назад

    😂😂😂😂😂😂😂

  • @minimalSwift
    @minimalSwift 5 месяцев назад

    nextstevejobs lol!!!

  • @Jiji_jahouna
    @Jiji_jahouna 6 месяцев назад

    Please can you help me my husband is a software engineer seeking job in Germany

    • @42berlin
      @42berlin 6 месяцев назад

      Hi Afala, we are a Software Engineering school - we provide free coding education. Your husband is welcome to apply and see if our curriculum can help him broaden his knowledge and thus make it easier to find a job.

    • @Jiji_jahouna
      @Jiji_jahouna 6 месяцев назад

      He has already master computer science from Bayreuth Germany but we are now in egypt and he need a contract job@@42berlin

  • @sayori3939
    @sayori3939 6 месяцев назад

    Tee hee pipex was the doom of me, then i reached minishell and i came up with way better ways of doing the input split and pipeline

  • @JosefSühr
    @JosefSühr 6 месяцев назад

    SPOILER: apparently 42 grads make good software hires!! 💜

  • @mohamedmhd7580
    @mohamedmhd7580 6 месяцев назад

    your login in intra ?

  • @sunola5620
    @sunola5620 6 месяцев назад

    I couldn't join the introduction meeting yesterday, because my dad passed away, is there any way to can help me ? I don't want to miss this opportunity.

  • @janyakongofarm
    @janyakongofarm 6 месяцев назад

    How many piscines do you have in a year

    • @42berlin
      @42berlin 6 месяцев назад

      Last year we had 3824 in both schools <3 See all of our numbers here: 42berlin.de/partners/impact/

  • @Rrgh1111
    @Rrgh1111 7 месяцев назад

    Can returning mothers with different background experience try. Is it Kids friendly? Also currently on partner’s dependency visa from India. Thankyou!

    • @42berlin
      @42berlin 7 месяцев назад

      Our campus is kids friendly and we have a lot of mother-students. We also don't need any visa <3

  • @med6ba
    @med6ba 7 месяцев назад

    we want like this video in 1337 morocco ..

  • @Vitalisjuma-o7q
    @Vitalisjuma-o7q 7 месяцев назад

    There's a RUclipsr who said if u reached a certain level u could get a degree is that true?

    • @42berlin
      @42berlin 7 месяцев назад

      Not yet available in Berlin but soon it should be - you will be able to get a French equivalent of Bachelor's degree if you reach a certain level :)

    • @smartfusion8799
      @smartfusion8799 29 дней назад

      Who needs a degree? Skill issue

  • @stephenoluwafemiherbert
    @stephenoluwafemiherbert 7 месяцев назад

    Can wait to join 42👍