Open main menu

CDOT Wiki β

Changes

C/C++ FAQ

3 bytes added, 17:13, 18 November 2012
C/C++ FAQ
Q: What is the correct way to pass a 2D array (called array) into a function? Which of the following is right: array[][],
array[][COLS] or **array?
Q: When creating the header file for a template class and putting the implementation in the header as well there are no errors. However when splitting the deceleration (header) and implementation (making a cpp file) for that class template there are numerous compile errors. What do all these errors mean?
Q: Can Stacks, Queues or Lists be referenced using indexes? </pre>
1
edit