-
Playing with pointers in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
Two simple examples of how pointers and arrays relate to each other. These examples make a pointer point to every element of a 2D and 3D array and print their elements in order using pointer arithmetic.
David Saenz
NCN Project, Purdue University
-
Playing with structures in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
Simple examples of how to work with structures in C++. The examples within the compressed folder include simple code which exemplifies their use to form more complex ones like linked lists. There is an example on simple linked lists and there is another one on doubly linked lists.
David Saenz
-
Playing with shells in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
Although simple, this example portrays the essential parts of a shell program. In this example we can appreciate how other examples like the tokenizer can get merged with new code to create a new program. Also a basic introduction to the creation of child processes is exemplified. Lastly, this …
-
Playing with memory in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
This resource contains a couple of programs exemplifying the use of the function "malloc" for static and dynamic memory allocation. For making the programs understandable, many details have been simplified, but the main idea, (i.e. memory allocation/deallocation) is perfectly portrayed.
David …
-
Playing with tokens in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
In this example, the use of a tokenizer function explains how the process of separating a string into tokens works. A programmer is usually interested in tokens because they serve as a raw input for terminal shells.
David Saenz
NCN Project, Purdue University
-
Playing with classes in C++
05 Jun 2012 | Teaching Materials | Contributor(s): David A Saenz
This is a simple example of how to use classes in C++. The program within the folder is a simple terminal TicTacToe game. It makes use of the TicTacToe class where all data and methods are defined.
David Saenz
NCN Project, Purdue University
-
Playing with arrays in C++
28 May 2012 | Teaching Materials | Contributor(s): David A Saenz
Two very simple examples on how to manage multidimensional arrays in C++. The compressed folder contains two examples. One on I/O of a 2D array and another on a 3D one. From these examples, an instructor or student can extend the technique for higher dimensional arrays.
NCN …
-
C++ Programming Examples I
02 Mar 2012 | Teaching Materials | Contributor(s): David A Saenz
A set of simple C++ programming examples, from a basic Hello World to an example of the use of pointers.
David Saenz, O'Reili book: Practical C++ programming
Practical C++ Programming
NCN Project, Purdue University
-
XPS Thickness Solver
18 Dec 2011 | Tools | Contributor(s): Kyle Christopher Smith, David A Saenz, Dmitry Zemlyanov, Andrey Voevodin
Helps the user to determine the thickness of an overlayer material from XPS experiment data.
-
Rappture setup in Ubuntu
22 Aug 2011 | Publications | Contributor(s): David Alberto Saenz
This is a short article about how to set up a functional copy of a rappture development environment simmilar to the workspace but in a local machine. This permits the user to make use of their own software licenses and develop rappture programs in matlab regardless of being outside the premises of …
-
On-Chip Thermoelectric Cooling Tool
29 Mar 2011 | Tools | Contributor(s): Shuaib Salamat, David Alberto Saenz
Simulates a peltier cooler embedded on a chip casing and it's thermal profile.
-
Rappturizer
04 Oct 2010 | Teaching Materials | Contributor(s): David Alberto Saenz
This resource is a program which helps to build simple rappture applications. The user will just have to input the information about their code and a template and XML file will be automatically generated for the user to just copy/paste his calculations and let the template do the rest. A detailed …
-
Capacitance, Dielectrics, Current and Circuits Formula Sheet
13 Mar 2010 | Notes | Contributor(s): David Alberto Saenz
This Formula sheet covers Chapter 24, 25 and 26 from the book University Physics (12th Edition) by Hugh Young, Roger Freedman, and Lewis Ford, which was used as a main source. The formula sheet serves as a resource when solving problems as a quick reference.
Hugh Young, Roger Freedman, and Lewis …
-
Electric Charge, Field, Flux and Potential Formula Sheet
14 Feb 2010 | Notes | Contributor(s): David Alberto Saenz
This is a Formula Sheet designed for a Fields and waves course at The University of Texas at El Paso as a part of a program to uplift the education. The book "University Physics with Modern Physics" (12th Edition) by Hugh D. Young and Roger A. Freedman was used as source. Covers formulas for …