Category Archives: cpp

C++ Functions

Function Need to include function prototype before function can be used void DoMagic(Magic name); Passing parameters C++ is pass by value Use pointer to pass by pointer (dah) void TestPassByPointer(){ int num = 10; Incr10(&num); return; } // Pass by … Continue reading

Posted in cpp | Leave a comment