-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (121 loc) · 5.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>C++ Foundations: Cybersecurity and Software Development</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #001f3f;
color: #cdd3de;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
box-sizing: border-box;
}
h1, h2 {
color: #00c6ff;
border-bottom: 2px solid #00c6ff;
padding-bottom: 5px;
}
a {
color: #00aaff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
text-align: left;
padding-left: 20px;
}
.graphic {
display: flex;
align-items: center;
margin-bottom: 20px;
background-color: rgba(0, 0, 0, 0.1);
padding: 15px;
border-radius: 10px;
}
.graphic img {
width: 150px;
margin-right: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.button-link {
display: inline-block;
background-color: #00aaff;
color: white;
padding: 10px 20px;
margin-top: 10px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.button-link:hover {
background-color: #008ecc;
}
@media (max-width: 768px) {
h1, h2 {
font-size: 1.5em;
}
.graphic img {
width: 100px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>C++ Foundations: Cybersecurity and Software Development</h1>
<p>This project demonstrates foundational programming concepts in C++ that are essential for understanding secure software development and system-level programming.</p>
<div class="graphic" style="display: flex; align-items: center;">
<img src="https://github.com/LuCamachoJr/cpp-objects-and-pointers/blob/master/images/cybersecuritygraphic.png?raw=true" style="width: 200px; margin-right: 20px;">
<p>This project highlights the intersection of cybersecurity and software development, showcasing foundational programming skills in C++ that are critical for secure coding and system-level security tools.</p>
</div>
<h2>Key Features</h2>
<ul>
<li>Object-Oriented Programming (OOP)</li>
<li>Dynamic memory management</li>
<li>Functions and pointers</li>
<li>Secure software development principles</li>
</ul>
<h2>Relevance to Cybersecurity</h2>
<p>This project builds a strong foundation in C++ programming by emphasizing secure coding practices such as effective memory management, pointer usage, and object-oriented design. These skills are directly applicable to cybersecurity tasks like developing secure applications, understanding vulnerabilities in legacy systems, and analyzing low-level system behavior.</p>
<h2>Code Highlights: main.cpp</h2>
<p>The accompanying <a href='https://github.com/LuCamachoJr/cpp-objects-and-pointers/blob/master/main.cpp' target='_blank'>main.cpp</a> file demonstrates key programming principles, including:</p>
<ul>
<li><strong>Object-Oriented Programming (OOP):</strong> Showcasing the use of classes, objects, and encapsulation to ensure secure and modular code.</li>
<li><strong>Dynamic Memory Management:</strong> Highlighting pointers and memory allocation techniques to avoid memory leaks and vulnerabilities like buffer overflows.</li>
<li><strong>Secure Coding Practices:</strong> Implementing structured logic and error handling to build reliable and robust applications.</li>
</ul>
<p>By applying these principles, the code ensures both performance and security, making it a valuable example for aspiring software developers and cybersecurity professionals.</p>
<ul>
<li>Buffer overflow prevention</li>
<li>Memory safety in system-level programming</li>
<li>Secure coding techniques for large-scale applications</li>
</ul>
<div class="graphic" style="display: flex; align-items: center;">
<img src="https://cdn.pixabay.com/photo/2016/11/19/14/00/code-1839406_1280.jpg" alt="Software Development Graphic" style="width: 200px; margin-right: 20px;">
<p>This project delves into secure software development practices using C++ and explores key concepts like data encapsulation, pointer management, and efficient memory handling, which are critical for preventing vulnerabilities in system-level programming.</p>
</div>
<h2>How to Run the Code</h2>
<p>Clone the repository and compile the code using a C++ compiler:</p>
<pre>
g++ CS115_IP5_LuisCamachoJr.cpp -o output
./output
</pre>
<h2>Run Online</h2>
<p>You can test the code directly in your browser using the Programiz online compiler:</p>
<a href="https://www.programiz.com/online-compiler/64XcIYv3AwDYf" class="button-link" target="_blank">Run on Programiz</a>
</div>
</body>
</html>