Snel navigeren naar:

  • Inhoud
  • Voordelen
  • Specificaties
  • Reviews
  • More information
  • FAQ

Productinformatie

Deze training leert je alles over de functies en het geheugen van programmeertaal C. Je begint deze training met het verkennen van de basis van functies en hoe je ze in C kunt gebruiken. Vervolgens ga je verder met variabele scopes, opslagklassen en structs om codes op een efficiënte en effectieve manier her te gebruiken. Vervolgens ga je pointers verkennen om te leren hoe je de geheugenlocatie, waar deze pointer naar wijst kan bekijken en hoe je verwijzingen kan verwijderen om de gegevens te verplaatsen. Vervolgens ga je dieper in op de nuances van arrays en pointers en ontdek je hoe je pointer-berekeningen kunt gebruiken als een methode om array-elementen te bekijken. Ten slotte vergelijk je het stack- en heapgeheugen en onderzoek je de voordelen en beperkingen van elk.

Inhoud van de training

Functions and Memory in C

11 uur

Functions and Memory in C: Getting Started with Functions

  • In C, as in other programming languages, the term function

  • refers to a named and parameterized block of code that can be
  • invoked repeatedly. Functions allow monolithic programs to be split
  • into modular chunks, greatly facilitating code reuse and
  • simplifying and improving the logical structure of programs.
  • Explore C functions and learn how they are defined, declared, and
  • invoked. Next, move on to built-in functions and discover how to
  • convert strings to integers, floats, or longs. Then, you will
  • create your own functions to accept input arguments from and return
  • output to the invoker of the function. Finally, you will study the
  • difference between the declaration and the definition of a
  • function. After completing this course, you'll be able to define
  • and invoke functions, understand implicit and explicit function
  • declarations, and use both library functions and user-defined
  • functions.

Functions and Memory in C: Using Variable Scopes, Storage Classes, & Structs

  • A vital part of programming is being able to reuse codes in an

  • efficient and effective way. Using variable scopes, storage
  • classes, different user-defined types like structs, unions and
  • enums allow programmers to scale their programs and create
  • meaningful structures. Begin by exploring variable scope and learn
  • how to input argument scoping and redefine variables. Discover how
  • to work with storage classes and access them in file scope, local
  • scope, and across files. Finally, take a look at different
  • user-defined types in C. Upon completion of this course, you will
  • be able to confidently leverage variable scopes and storage classes
  • to define values, scope, and visibility.

Functions and Memory in C: Getting Started with Pointers

  • One of the main reasons C retains its relevance after 50 years

  • is the level of interaction between the programmer and the memory
  • which C allows for. While more modern languages such as Python
  • manage the memory under-the-hood, C allows the user to control all
  • aspects of memory management. At the heart of C’s memory management
  • capabilities lie pointers. Begin this course focusing on memory
  • allocation layout and the concepts of stack and heap memory. Then,
  • explore pointers to learn how to view the memory location
  • referenced by the pointer and how to dereference a pointer to view
  • the data at the referenced address or modify data stored at the
  • memory location being pointed to. Finally, use the NULL keyword as
  • both a value and a pointer to the non-existent memory address of 0.
  • Upon completion of this course, you'll be able to use referencing
  • and dereferencing operators in C and properly test for and use NULL
  • values.

Functions and Memory in C: Leveraging Pointers with Arrays & Functions

  • Pointers are some of the most important building-blocks of C and

  • are used with a variety of data types. In particular, pointers have
  • a special relationship with arrays, because an array is effectively
  • a pointer to a contiguous block of memory used to hold elements of
  • a specific type. In this course, you will create both arrays and
  • pointers to those arrays. Next, take a deeper dive into the nuances
  • of arrays and pointers and discover how to use pointer arithmetic
  • as a method of viewing array elements. Finally, explore passing
  • pointers and arrays into functions. After completing this course,
  • you'll be able to leverage the equivalence between pointers and
  • arrays, use pointer arithmetic, and return pointers from
  • functions.

Functions and Memory in C: Allocating Memory on the Heap

  • C programmers can commonly use two kinds of memory: stack and

  • heap. While stack memory is used to store local variables and is
  • fully managed by C, it does have major limitations that are
  • mitigated by heap memory. In this course, you will compare stack
  • and heap memory, exploring the advantages and limitations of each.
  • Then, you will allocate memory using the malloc() function and
  • deallocate memory using free(). Next, you will examine dangling
  • memory issues that can cause potentially dangerous security issues.
  • You will also explore other common allocation functions like
  • calloc() to zero out memory and realloc() to help when you
  • underestimate how much memory an array will require. Finally, you
  • will focus on pointers to struct objects. After completing this
  • course, you'll be able to allocate memory malloc, calloc, and
  • realloc; free memory; use pointers to structs; and avoid problems
  • related to dangling pointers and memory leaks.

Kenmerken

Engels (US)
11 uur
C#
180 dagen online toegang
HBO

Meer informatie

Extra product informatie 0
Doelgroep Softwareontwikkelaar, Webontwikkelaar
Voorkennis

Enige voorkennis over het onderwerp wordt aanbevolen.

resultaat

Na het afronden van deze training ben je in staat om functies te definiëren en aan te roepen, met vertrouwen variabele scopes en opslagklassen te gebruiken om waarden, scope en zichtbaarheid te definiëren én kan je pointers, arrays en verschillende soorten geheugen gebruiken.

Positieve reacties van cursisten

Ontwikkel je tot data analist

Service is echt heel goed. Snel, klantvriendelijk, weten waar ze over praten en denken met je mee met oplossingen. Daarnaast hebben ze ook een goed leerplatform om je studie te volgen en na elke module een korte toets om te zien hoeveel je ervan heb begrepen en je kan de status zien hoeveel tijd je hebt besteed aan je studie. Ik waardeer ze enorm en ik raad elke ICT'er aan om met hen in zee te gaan om je studie te volgen.

- Emilio Jones

Training: Introduction to SQL

Eén training geprobeerd en deze naar tevredenheid gevolgd. Een module werkte in eerste instantie niet, maar na contact opgenomen te hebben met klantenservice kreeg ik snel antwoord met een oplossing.

- Lars van der Spek

Training: Certified Ethical Hacker (CEHv12) - incl. examen

Eerste keer dat ik een online training heb gedaan en zou zo weer een training volgen via icttraningen.nl

- Jerry Jialal

Training: Microsoft Managing Modern Desktops (exam MD-101)

Het resultaat van de groep is absoluut bevredigend. Ik ga in ieder geval geen ander meer bellen.

- Antoine Evertze, Sales Engineer bij Chubb

Training: PRINCE2® 6e editie Foundation- incl. examen

Als er wat is staan ze altijd voor me klaar. Ik word meteen geholpen als ik bel.

- E. Zeijlmans, P&O adviseur bij Parnassia Groep

Training: ITIL® 4 Foundation - incl. examen

Wij zijn gebaat bij mensen die bijblijven in hun vakgebied en continu getriggerd worden.

- W. van Uijthoven, IT manager bij gemeente Arnhem

Training: Excel 2013 Compleet

Ik heb al eens eerder een training gehad via icttrainingen.nl en dat was een erg leerzame, leuke ervaring. Nu heb ik via het werk een online cursus en deze lijkt tot nu toe ook erg leerzaam.

- Michelle Brierley

Hoe gaat het te werk?

1

Training bestellen

Nadat je de training hebt besteld krijg je bevestiging per e-mail.

2

Toegang leerplatform

In de e-mail staat een link waarmee je toegang krijgt tot ons leerplatform.

3

Direct beginnen

Je kunt direct van start. Studeer vanaf nu waar en wanneer jij wilt.

4

Training afronden

Rond de training succesvol af en ontvang van ons een certificaat!

Veelgestelde vragen

Veelgestelde vragen

Op welke manieren kan ik betalen?

Je kunt bij ons betalen met iDEAL, PayPal, Creditcard, Bancontact en op factuur. Betaal je op factuur, dan kun je met de training starten zodra de betaling binnen is.

Hoe lang heb ik toegang tot de training?

Dit verschilt per training, maar meestal 180 dagen. Je kunt dit vinden onder het kopje ‘Kenmerken’.

Waar kan ik terecht als ik vragen heb?

Je kunt onze Learning & Development collega’s tijdens kantoortijden altijd bereiken via support@icttrainingen.nl of telefonisch via 026-8402941.

Background Frame
Background Frame

Onbeperkt leren

Met ons Unlimited concept kun je onbeperkt gebruikmaken van de trainingen op de website voor een vast bedrag per maand.

Bekijk de voordelen

Heb je nog twijfels?

Of gewoon een vraag over de training? Blijf er vooral niet mee zitten. We helpen je graag verder. Daar zijn we voor!

Contactopties