Name=C/C++
Description=C/C++ Code Snippets
FileTypes=c,h,cpp,hpp,cxx,hxx,rc
LanguageID=$0409
Language=English (United States)
Name=Headers\Header File
Shortcut=hdrfile
/////////////////////////////////////////////////////////////////////////////
// #%FILENAME%#
//
// Time: #%LONGDATE%# #%TIME24%# - #%TIME%#
// Author: #@Author@#
// Organization: #@Organization@#
// Description: #@Description@#
/////////////////////////////////////////////////////////////////////////////
#if !defined(##_H__)
#define ##_H__
#%SELTEXT%#^$
#endif // !defined(##_H__)
Name=Headers\Implementation File
Shortcut=srcfile
/////////////////////////////////////////////////////////////////////////////
// #%FILENAME%#
//
// Time: #%LONGDATE%# #%TIME24%#
// Author: #@Author@#
// Organization: #@Organization@#
// Description: #@Description@#
/////////////////////////////////////////////////////////////////////////////
Name=Headers\Function or Method
Shortcut=funchdr
/////////////////////////////////////////////////////////////////////////////
// #%FILENAME%#
//
// Time: #%LONGDATE%# #%TIME24%#
// Author: #@Author@#
// Organization: #@Organization@#
// Description: #@Description@#
/////////////////////////////////////////////////////////////////////////////
Name=Headers\Section
Shortcut=sechdr
/////////////////////////////////////////////////////////////////////////////
// #%FILENAME%#
//
// Time: #%LONGDATE%# #%TIME24%#
// Author: #@Author@#
// Organization: #@Organization@#
// Description: #@Description@#
/////////////////////////////////////////////////////////////////////////////
Name=Data Types\Child Class
Shortcut=childclass
class #@Class Name@# : public #@Parent Class Name@#
{
public:
// Public Variables
// Public Methods
protected:
// Protected Variables
// Protected Methods
private:
// Private Variables
// Private Methods
};
Name=Data Types\Root Class
Shortcut=class
class #@Class Name@#
{
public:
// Public Variables
// Public Methods
protected:
// Protected Variables
// Protected Methods
private:
// Private Variables
// Private Methods
};
Name=Data Types\Struct
Shortcut=struct
struct #@Struct Name@#
{
#%SELTEXT%#^$
};
Name=Data Types\Union
Shortcut=union
union #@Union Name@#
{
#%SELTEXT%#^$
};
Name=Data Types\Type Definition
Shortcut=typedef
typedef #@Data type to define@# #@New data type@#;
Name=Functions and Methods\Function Declaration
Shortcut=funcdec
#@Return Type@# #@Function Name@#(#@Arguments@#);
Name=Functions and Methods\Method Definition
Shortcut=methoddef
#@Return Type@# #@Class Name@#::#@Method Name@#(#@Arguments@#)
{
#%SELTEXT%#^$
}
Name=Functions and Methods\Function Definition
Shortcut=funcdef
#@Return Type@# #@Function Name@#(#@Arguments@#)
{
#%SELTEXT%#^$
}
Name=Sentences\case
Shortcut=case
case #@Constant Value@#:
#%TAB%#break;
Name=Sentences\do while(...)
Shortcut=dowhile
do
{
##
} while (#@Condition@#);
Name=Sentences\for (...)
Shortcut=for
for (#@Initial Expression@#; #@Stop Condition@#; #@Value Change@#)
{
##
}
Name=Sentences\if (...)
Shortcut=if
if (#@Condition@#)
{
##
}
Name=Sentences\if (...) else
Shortcut=ifelse
if (#@Condition@#)
{
##
}
else
{
}
Name=Sentences\switch (...)
Shortcut=switch
switch (#@Expression@#)
{
#%SELTEXT%#^$
}
Name=Sentences\try catch (...)
Shortcut=try
try
{
##
}
catch (#@Exception to capture@# e)
{
}
Name=Sentences\while (...)
Shortcut=while
while (#@Condition@#)
{
##
}