Jump to content

Help:Adding a new compiler/interpreter: Difference between revisions

m
(→‎Creating a New Example: reflect header template usage)
m (→‎Using an Existing Example: reflect C++ usage)
Line 24:
If there's already a programming example written in a language your compiler supports, then all you need to do is ensure that the programming example works as expected in your compiler. Once you've determined that, you need only add your compiler to the list of compilers that support that code and that programming language.
 
Assuming you want to add Visual Studio.NETC++ 2005 to the list of compilers that support a programming example written in C++...
 
<nowiki>
==[[C plus plus{{header|C++]]}}==
'''Compiler:''' [[GCCg++]] 4.0.1
int main ( void ) {
// Some code here
Line 36:
 
<nowiki>
==[[C plus plus{{header|C++]]}}==
'''Compiler:''' [[GCCg++]] 4.0.1, [[Visual Studio.NETC++]] 2005
int main ( void ) {
// Some code here
Cookies help us deliver our services. By using our services, you agree to our use of cookies.