Search Results for: main.cpp_GETME

C File Write and Read Primer Tutorial

Today, inspired by a Yahoo Answers question (thanks) we take a look at some C code dealing with files (both writing, and then rereading) and interactive input and string functionality in the downloadable C programming code you could call filestuff.c: … Continue reading

Posted in eLearning, Tutorials | Tagged , , , , | Leave a comment

C++ std::vector Primer Tutorial

Today we answer a Yahoo Answers question (thanks) to point out an advantage C++ std::vector “container” datatype has over a base array datatype. We use Xcode (on a Mac laptop) as our IDE for this work. Read more here about … Continue reading

Posted in eLearning, Tutorials, Xcode | Tagged , , , , , , | Leave a comment

C 2D Array via File Tutorial

You don’t have to use an IDE to do C programming. There is Digital Mars C as an example of that. We have talked about the Xcode command line tools before, that frees the gcc compiler to (also) be a … Continue reading

Posted in eLearning, Operating System, Tutorials | Tagged , , , , , , , , | 21 Comments

C++ Formatting cout Primer Tutorial

C++ uses iostream.h methods to format command line output. Programmers with a background in C may think the iostream.h “cout” stream output methods are a little harder to use (compared to C’s printf and sprintf and fprintf (which, of course, … Continue reading

Posted in eLearning, Tutorials, Xcode | Tagged , , , , | 21 Comments

Xcode Debug C Strings Program Tutorial

Have a bit of an esoteric C programming scenario today, and because it is esoteric, and some or all of you may fall asleep, am also going to show you how to debug in Xcode … and only now just … Continue reading

Posted in eLearning, Tutorials, Xcode | Tagged , , , , , , | 8 Comments

Xcode Objective-C Polymorphic Array Primer Tutorial

Have you heard of Objective-C? It is a great object-oriented programming language that builds that object orientation on top of a C programming base. Sounds good (even better than good), and Objective-C is the language of iOS Mobile Apps, so … Continue reading

Posted in eLearning, OOP, Tutorials, Xcode | Tagged , , , , , , | 16 Comments

Code::Blocks C++ Win32 API Frame Menu Primer Tutorial

The tutorial today is about a programming IDE called Code::Blocks, and we use this to create a project to create a C++ Windows 32bit GUI frame application (Win32 API) with two simple submenus. Programming IDEs take a lot of the … Continue reading

Posted in Code::Blocks, eLearning, GUI, Tutorials | Tagged , , , , , , , , | 6 Comments

C++ Xcode OOP Exceptions Primer Tutorial

Our C++ Xcode OOP Exceptions Tutorial presented here opens the door to the idea of handling error exceptions when using C++. The two major areas I’ve found where error handling is really important are with mathematical calculations and with input/output … Continue reading

Posted in eLearning, OOP, Tutorials, Xcode | Tagged , , , , , , | Leave a comment