DavidWesselsVIU
DavidWesselsVIU
  • 337
  • 137 774
CSCI 330 lab4 (spring '23)
An overview/intro for lab 4: using lex and yacc to tokenize and parse code in a simple language. The lecture resources page has links for additional material on regular expressions, context free grammars, and lex/yacc.
Переглядів: 109

Відео

CSCI 159 Lab 3, part 1 (Spring '23)
Переглядів 151Рік тому
An overview/walk through of the steps for part 1 of lab 3 (intro to recursion and loops). Full details are available at the lab3 web page: csci.viu.ca/~wesselsd/courses/csci159/labs/lab3/
Exceptions, exception handling, and assertions in C++
Переглядів 4012 роки тому
An introduction to exceptions and exception handling in C , examining try, throw, catch and (briefly) the std::exception class heirarchy. A short discussion of assert and assertions is also included. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci...
CSCI 330 lab 6 (spring '22): variadic and higher order functions in C/C++
Переглядів 872 роки тому
For lab 6 we're looking at how to implement variadic functions and higher order functions in languages that don't provide direct support for them. We'll be looking at the use of the stdarg macro system for variadic functions in C, the recursive templated function approach to variadic functions in C , and the use of templated function pointers for higher order functions in C .
CSCI 161 project (spring '22)
Переглядів 572 роки тому
An overview of the resources, requirements, and expectations for this term's C project, dealing with classes and linked lists.
CSCI 161 lab3: linked lists (spring '22)
Переглядів 1202 роки тому
An overview of the resources and requirements for this terms lab3, dealing with linked lists.
Struct heirarchies and arrays of structs in C++: an example
Переглядів 682 роки тому
A short example showing the implementation and use of structs that contain other structs as fields, and the implementation and use of arrays of structs. The focus is on simplification of design through the use of functions tailored for each layer of data type. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources...
Intro to quicksort
Переглядів 892 роки тому
An introduction to the quicksort algorithm, including potential implications of the choice of pivot value. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
Intro to mergesort
Переглядів 592 роки тому
An introduction to the mergesort algorithm and a C implementation. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
Simple sorting algorithms, part 2
Переглядів 702 роки тому
A look at two more sorting algorithms, insertion sort and selection sort, and C implementations of them. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
CSCI 161 lab 2 (part 1, spring '22)
Переглядів 1272 роки тому
An overview of the requirements for lab 2, a review of the process for obtaining and submitting the lab, a look at the intended program functionality, and an overview of the various .h and .cpp files you'll be completing.
Resizable circular buffers in C++
Переглядів 7562 роки тому
An example introducing circular buffers (of strings in this case), implemented using structs in C , with the capability to resize the buffer when needed. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
More on tpes in C++: static, enum, typedef, auto, and references
Переглядів 652 роки тому
A quick intro to a handful of useful C type options, briefly covering static local variables, enumerated types, typedefs, references, and the use of auto. This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
Standard input, error, and output streams in linux and C++
Переглядів 2532 роки тому
A short intro to the idea of standard input and output streams in linux, using cin, cerr, and cout in C . This video is part of a series for a second course on programming and computer science. The full series, along with supporting resources (slides, notes, code examples, etc) is available at url csci.viu.ca/~wesselsd/courses/csci161/vidres.html
CSCI 330 Lab 2 (part 1, spring '22)
Переглядів 692 роки тому
An intro to the lab2 objectives and requirements - focusing on the use of lisp lists and recursion.
CSCI 161 second week of lab 1 (Dave's sections, spring '22)
Переглядів 892 роки тому
CSCI 161 second week of lab 1 (Dave's sections, spring '22)
CSCI 330 Lab 1 week 2 discussion (spring '22)
Переглядів 432 роки тому
CSCI 330 Lab 1 week 2 discussion (spring '22)
Modularity and abstraction in programming
Переглядів 3202 роки тому
Modularity and abstraction in programming
CSCI 161 code standards (Dave's sections, spring '22)
Переглядів 822 роки тому
CSCI 161 code standards (Dave's sections, spring '22)
Key stages in the the life cycle of software
Переглядів 532 роки тому
Key stages in the the life cycle of software
CSCI 330 Lab 1 (spring '22)
Переглядів 782 роки тому
CSCI 330 Lab 1 (spring '22)
CSCI 161 lab1 week1 (Dave's sections, Spring '22)
Переглядів 1242 роки тому
CSCI 161 lab1 week1 (Dave's sections, Spring '22)
Intro to make and makefiles (using linux/C++ examples)
Переглядів 2722 роки тому
Intro to make and makefiles (using linux/C examples)
CSCI 330: Intro/administrivia for spring 2022
Переглядів 592 роки тому
CSCI 330: Intro/administrivia for spring 2022
CSCI 161: intro/administrivia, spring 2022 (Dave's sections)
Переглядів 2022 роки тому
CSCI 161: intro/administrivia, spring 2022 (Dave's sections)
Intro to C++ classes
Переглядів 632 роки тому
Intro to C classes
CSCI 160 wrapup and exam discussion
Переглядів 272 роки тому
CSCI 160 wrapup and exam discussion
CSCI 265 wrapup, exam discussion Fall '21
Переглядів 172 роки тому
CSCI 265 wrapup, exam discussion Fall '21
CSCI 265 lab6 overview (fall '21)
Переглядів 363 роки тому
CSCI 265 lab6 overview (fall '21)
Intro to C++ namespaces
Переглядів 403 роки тому
Intro to C namespaces

КОМЕНТАРІ

  • @iprogramplus
    @iprogramplus Рік тому

    hi there, is there such a tool to run on windows for ARM mcus? thanks in advance

  • @kartikaybhardwaj6320
    @kartikaybhardwaj6320 Рік тому

    thank you for this. This helped me out a lot

  • @LevKozlodoev
    @LevKozlodoev 2 роки тому

    Can it instead tell you the theoretical number of CPU cycles by considering what kind of instructions were run?

  • @michaeldunlavey6015
    @michaeldunlavey6015 2 роки тому

    Sampling: Suppose you find a problem, fix it, and execution time shrinks from 100 to 50 seconds. What's the probability that a random sample of the stack will exhibit the problem code? Fifty percent, at least. If you took 10 stack samples (using a debugger), how many would show it? Five, more or less. So, does a profiler improve on this? If so, how?

  • @ronensuperexplainer
    @ronensuperexplainer 2 роки тому

    GProf is a disgrace compared to the Microsoft Visual Studio performance profiler.

  • @ishaparasher1360
    @ishaparasher1360 2 роки тому

    Straightforward and useful ; thankyou!

  • @MuhammadHassan-hj6mx
    @MuhammadHassan-hj6mx 2 роки тому

    Thanks man! Good video :)

  • @abhimanyumithun832
    @abhimanyumithun832 2 роки тому

    Thank you for making this beautiful very useful, could you make more video on Makefile rules ....

  • @PLZhao
    @PLZhao 3 роки тому

    It is nice! thanks a lot

  • @smalinux
    @smalinux 3 роки тому

    Thanks!

  • @lxnny2357
    @lxnny2357 3 роки тому

    When I ran valgrind --tool=massif it returned 0 snapshots.

  • @philosophers_wool
    @philosophers_wool 3 роки тому

    First of all, I really liked your videos of profiling. It will also be really helpful if in all videos which are for profiling like of gprof, valgrind and likewise(gperftools) you can inform stuff like whether that support profiling of Multiprocess application. Thank you.

    • @mr.vinayreddypesseece303
      @mr.vinayreddypesseece303 2 роки тому

      Hi Nitesh, I am working on Instruction Profiling. As a beginner which is the best one to start with?

  • @Kuro123Polska
    @Kuro123Polska 3 роки тому

    Great video, thanks :)

  • @legoboyluc2002
    @legoboyluc2002 4 роки тому

    gotta love that meme!

  • @JohannSuarez
    @JohannSuarez 4 роки тому

    Haha, the GLaDOS reference!

  • @DarkMonsterGFX
    @DarkMonsterGFX 4 роки тому

    Hi Sir, amazing video! What if i dont know the amount of parameter the function is getting?