G+_mike klaene Posted February 27, 2015 Share Posted February 27, 2015 In plain old 'C' - a structure is a way to group together a set of data that are to be used together. A good example is the 'FILE' structure that is defined in the stdio.h file. The FILE structure contains all of the values that are needed by the standard I/O functions to manage all of the file operations for you. In languages that support classes, the basic 'C' type structure concept is expanded such that one or more of the data values in the structure can be defined as private. Also a class may include the specific functions, called 'methods', for acting upon the class. Both 'C' and OOP languages have their uses - they are just tools. You, as the programmer, should selected the best tool for the task at hand. Link to comment Share on other sites More sharing options...
G+_Fr. Robert Ballecer, SJ Posted February 27, 2015 Share Posted February 27, 2015 Do you ever miss plain 'ole "C"? :) Link to comment Share on other sites More sharing options...
G+_Louis Maresca Posted February 28, 2015 Share Posted February 28, 2015 Great post Mike! You are right... a job\task is always easier with the right tools. I wish I had a CNC mill sometimes... life would be easier Link to comment Share on other sites More sharing options...
G+_Nate Follmer Posted February 28, 2015 Share Posted February 28, 2015 Louis Maresca? my buddy has a CNC and one of those 3d handheld scanners that can make models by scanning anything... You really don't want either because you end up making more desk toys than anything else ;) That's why I've been holding off on getting a 3d printer. Link to comment Share on other sites More sharing options...
G+_mike klaene Posted February 28, 2015 Author Share Posted February 28, 2015 Fr. Robert Ballecer, SJ Yes Father, I do. To me, C is the perfect high level language. I have taught C++ an an adjunct at both Cabrini College and Delaware County Community College here near Philly. My preference would be to start with a combined architecture/assembler class with which to build a solid foundation. Unfortunately the goal was coding not understanding. Link to comment Share on other sites More sharing options...
G+_mike klaene Posted February 28, 2015 Author Share Posted February 28, 2015 Louis Maresca Lou - thanks for the compliment. Link to comment Share on other sites More sharing options...
Recommended Posts