CST 334 - Week 01
This week, I learned about the C programming language. Throughout my programming journey, my classes predominantly involved the use of Java and C++. I always thought C would be fairly similar to C++, but I see now it is preferred for better control, as it allows for low-level access, allowing for direct memory manipulation. This can be seen by the ability to allocate memory dynamically through the use of the malloc function. It is also different in the fact that it does not have built in boolean types, so false is simply expressed as '0'. However, it also has the capabilities to use pointers, like C++, which accesses the original object and are locations in memory. Although it does not have object-oriented programming abilities, it seems to place create emphasis on structs to store different data types together to make another usable type. It just doesn't create any other functions associated with it like Java. It requires caution when using, since everything created is pu...