glennmathew-blog
glennmathew-blog
Untitled
6 posts
Don't wanna be here? Send us removal request.
glennmathew-blog · 6 years ago
Text
Learning Log:
Overview of C++: Learning C++ is awesome i have learn so many things in c++ kahit minsan nasa point na ako ng pagsuko pero nandyan naman si pareng google kaya nalalampasan ko parin. i want to learn more about c++ soon.
Tumblr media
0 notes
glennmathew-blog · 6 years ago
Text
Learning Log:
Vector: A one-dimensional array is a row of data items, all of the same type. The word "array" is used in programming in general to describe this type of structure, but, in C++, the word "array" is used to refer rather more specifically to the implementation of this structure in C. Since C++ subsumes all of C, you can have C-style arrays in a C++ program. But C-style arrays are inflexible and in some ways awkward to use, so we will use the C++ implementation of the structure, which is a vector.Just as a C++ string is more than a mere row of characters - it can also do things for you, such as telling you how long it is or providing a substring - so a vector is more than a mere row of, say, integers or doubles. Like a string, a vector is an object and has a number of member functions. To use vectors in your code, you need the appropriate library - #include <vector>. Vectors are declared as in this example:vector<int> ivec(4);
Tumblr media
String:  i learn about strings in C programming. i learn to declare them, initialize them and use them for various I/O operations with the help of examples.
0 notes
glennmathew-blog · 6 years ago
Text
Learning Log:
Seminar: Intro to JS for Web Dev. Wala po ako nung nag seminar kayo sir may lagnat po ako nun. sorry po
Tumblr media
0 notes
glennmathew-blog · 6 years ago
Text
Intro to JS for Web Dev.
Wala po ako nung nag seminar kayo sir may lagnat po ako nun. sorry po
0 notes
glennmathew-blog · 6 years ago
Text
Learning Log:
IOStream Definition:  ostream is a header file in which some function is already defined like cout,cin... etc. Full form of iostream is input output stream. iostream is a standard library function contains input and output operations.
Tumblr media
I/O sources and sinks are called streams. 3 are defined in the header:-
cin The standard input, normally the keyboard.
cout The standard output, normally the screen.
cerr The error output, normally the screen.
0 notes
glennmathew-blog · 6 years ago
Text
Learning Log:
                                               Lesson 6: Arrays
Arrays Definition: Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.Instead of declaring individual variables, such as number0, number1, ..., and number99, you declare one array variable such as numbers and use numbers[0], numbers[1], and ..., numbers[99] to represent individual variables. A specific element in an array is accessed by an index.All arrays consist of contiguous memory locations. The lowest address corresponds to the first element and the highest address to the last element.
Tumblr media
Declaring Arrays: Array variables are declared identically to variables of their data type, except that the variable name is followed by one pair of square [ ] brackets for each dimension of the array. 
1 note · View note