C++ Class in XCode
File1.h
Anyone know why XCode is inserting an extra indent before 'User( void );'
if I remove the line 'char m_Pass[16];' it nolonger inserts the extra indent before 'User( void );'
I'm using XCode v2.3
Code:
// File1.h
#ifndef _FILE1_H_
#define _FILE1_H_
class User
{
private:
char m_Name[16];
char m_Pass[16];
public:
User( void ); // <- Extra Indent? why?
~User( void );
};
#endif _FILE1_H_Anyone know why XCode is inserting an extra indent before 'User( void );'
if I remove the line 'char m_Pass[16];' it nolonger inserts the extra indent before 'User( void );'
I'm using XCode v2.3
Does it matter?
"When you dream, there are no rules..."
Turn off auto indent, its much easier to work with, I use command-[ and ] to indent/undent in Xcode, or just use emacs.
Sir, e^iπ + 1 = 0, hence God exists; reply!
Because you did not place the cursor in front of User( void ); and press the "delete" key. It is located on the top right portion of the keyboard.
Special note: If you have an extended keyboard, the top right portion may actually be the eject key. If that is the case, refer to your user manual for the location of the delete key.
Special note: If you have an extended keyboard, the top right portion may actually be the eject key. If that is the case, refer to your user manual for the location of the delete key.
Closed before it gets out of hand...
"When you dream, there are no rules..."
