C++ Programming Fundamentals: Arrays, References, Structures, and More

Arrays can only contain the same data type. Data types: bool, char, int, float, double. To declare an array: type arrayName [ arraySize ]; — This is called a single-dimension array. To declare a 10-element array called balance of type double, use this statement:

Double balance[10];


You can initialize C++ array elements either one by one or using a single statement:

Double balance[5] = {1000.0, 2.0, 3.4, 17.0, 50.0};


— Or you can do this this way:


Double balance[] = {1000.0, 2.0, 3.4, 17.0, 50.0}

Read More

Understanding Computer Hardware: A Comprehensive Guide

Computer Hardware

Core Components

Motherboard

The motherboard, also known as the mainboard or system board, is the central printed circuit board in computers and other systems. It connects and facilitates communication between crucial electronic components, including the central processing unit (CPU), memory, and peripherals.

Microprocessor (CPU)

The microprocessor is the brain of a computer, incorporating the functions of the central processing unit on a single integrated circuit. It accepts digital

Read More

Information Storage and Management: A Comprehensive Guide

1. Active-Active vs. Active-Passive

AA-Symm

Hosts can perform I/Os through any controller.

AP-VNX

Hosts can perform I/Os only through the controller that owns the LUN (MODULE 4)

2. Advantages of IP (4)

  • Uses existing network
  • Easily scalable
  • Reduced hardware cost
  • Uses existing security options
  • Uses existing long-distance recovery solutions

3. Application

Software program that provides logic for computing operations (MODULE 2)

4. Application Virtualization

Presenting an application to an end-user without installation

Read More

AutoCAD Command Reference

3D

  • 3D: Creates three-dimensional polygon mesh objects
  • 3DARRAY: Creates a three-dimensional array
  • 3DFACE: Creates a three-dimensional face
  • 3DMESH: Creates a free-form polygon mesh
  • 3DPOLY: Creates a polyline of straight line segments in three-dimensional space
  • 3DSIN: Imports a 3D Studio File
  • 3DSOUT: Exports to a 3D Studio file

A

  • ‘ABOUT: Displays information about AutoCAD
  • ACISIN: Imports an ACIS file
  • ACISOUT: Exports AutoCAD solid objects to an ACIS file
  • ALIGN: Moves and rotates objects to align with other objects
  • AMECONVERT:
Read More

PowerShell Cheat Sheet for Exam 70-411: Administering Windows Server 2012

sharing-caring.png

I have finished 70-410 and now working on the 70-411. And this time I will be making an PowerShell Cheat sheet as well. I’m sure I’m missing some command especially the Hyper-v once

CmdletDescription
Add-WsusComputerAdds a specified client computer to a specified target group
Approve-WsusUpdateApproves an update to be applied to clients
Get-WsusClassificationGets the list of all WSUS classifications currently available in the system.
Get-WsusComputerGets the WSUS computer object that represents the client
Read More

Programming Concepts: A Guide to Loops, Arrays, and File Handling

Programming Control Do-While Loops

Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click

Dim num As Integer

num = 1

txtResult.Clear()

Do While num <= 7

txtResult.AppendText(CStr(num) & vbCrLf)

num = num + 1

Loop

End Sub

Do-Until Loops

Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click

Dim num As Integer

num = 6

txtResult.Clear()

Do

txtResult.AppendText(CStr(num) & vbCrLf)

num = num

Read More