Buckys C++ Programming Tutorials - 42 - Arrow Member Selection Operator

thenewboston · 383K views · 2011 · 8:02

Open on YouTube

C, C++, Rust, Go & systems languagesEducation & learningtutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when they are following the series as new C++ learners and hit compile, link or IDE setup problems with multi-file classes.

Recommended by 0 people across 0 different months, 2014 to 2017.

What it is

An 8-minute beginner C++ tutorial from Bucky Roberts' thenewboston channel, part of a long numbered series. It covers the arrow member selection operator (->) for calling class members through a pointer, using a Sally class split across header and source files in Code::Blocks.

What people said

Cites Hasselhaub · 2014-09 · Stack Overflow · on “Simple program with undefined reference & relocation truncated to fit error”

OK so I am going through a c++ tutorial on youtube as I am a relatively new programmer. I am trying to learn how to use header files and such when creating classes. In this tutorial we learn how to use the arrow member selection operator. [this video] I am not using codeblocks which is the IDE he is using. I am writing my code on gedit and compiling and running it using Cygwin. Any help would be greatly appreciated! Here is the simple code: Main.cpp #include <iostream> #include "Sally.h" using namespace std; int main(){ Sally sallyObject; Sally *sallyPointer = &sallyObject; sallyObject.printCrap(); sallyPointer->printCrap(); } Sally.cpp #include "Sally.h" #include <iostream> using namespace std;

Cites Md. Ehsanul Haque Kanan · 2015-03 · Stack Overflow · on “Cannot Run Any C++ Program with Classes in Multiple Files in Code Blocks”

Hi Jeff, I created project on Code Blocks. In fact, I have learnt some basics about the software. I am learning C++ by watching the tutorials of New Boston. I have done everything right as shown in the Tutorial 42 ( [this video] ), but the program is not running. The same thing happens in case of tutorial 15 ( [LINK] ). Please, someone help me to solve this isse.

Cites Marm · 2017-02 · Stack Overflow · on “New to XCode - How to create a class?”

I am new to Xcode, running version 8.0. Right now I am going trough this [this video] tutorial. (I am programming in C++). There the author is creating a class. Since he is not using Xcode and the other answers to a similar question are dealing with an older version, I am asking myself if someone can help me out. Thanks in advance.