Sandbox: Difference between revisions
Jump to navigation
Jump to search
(Initial Edit) |
(codeblock tests) |
||
Line 17: | Line 17: | ||
Localisation Test: [[Sandbox/de]] | Localisation Test: [[Sandbox/de]] | ||
Code Blocks Formatting | |||
==CPP== | |||
<code lang="cpp"> | |||
#include <test.h> | |||
#define CONSTANTVALUE 9 | |||
if(x==true) | |||
{ | |||
callSomeOtherFunction(); | |||
switch(someVar) | |||
{ | |||
default: | |||
case CONSTANTVALUE: | |||
{ | |||
for(int i=0;i<CONSTANTVALUE;i++) | |||
{ | |||
qDebug()<<"Text: "<< i; | |||
} | |||
} | |||
break; | |||
} | |||
} | |||
</code> | |||
==None== | |||
<code> | |||
#include <test.h> | |||
#define CONSTANTVALUE 9 | |||
if(x==true) | |||
{ | |||
callSomeOtherFunction(); | |||
switch(someVar) | |||
{ | |||
default: | |||
case CONSTANTVALUE: | |||
{ | |||
for(int i=0;i<CONSTANTVALUE;i++) | |||
{ | |||
qDebug()<<"Text: "<< i; | |||
} | |||
} | |||
break; | |||
} | |||
} | |||
</code> | |||
==Unknown== | |||
<code lang="unknown"> | |||
#include <test.h> | |||
#define CONSTANTVALUE 9 | |||
if(x==true) | |||
{ | |||
callSomeOtherFunction(); | |||
switch(someVar) | |||
{ | |||
default: | |||
case CONSTANTVALUE: | |||
{ | |||
for(int i=0;i<CONSTANTVALUE;i++) | |||
{ | |||
qDebug()<<"Text: "<< i; | |||
} | |||
} | |||
break; | |||
} | |||
} | |||
</code> |
Revision as of 13:32, 7 July 2015
Welcome to the Sandbox
Here you can try out the MediaWiki Markup and our Qt Wiki Templates.
Info about this Wiki:
Site Name: | Qt Wiki |
Server Name: | wiki.qt.io |
Info about this page:
Page Name: | Sandbox |
Localisation Test: Sandbox/de
Code Blocks Formatting
CPP
#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
callSomeOtherFunction();
switch(someVar)
{
default:
case CONSTANTVALUE:
{
for(int i=0;i<CONSTANTVALUE;i++)
{
qDebug()<<"Text: "<< i;
}
}
break;
}
}
None
#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
callSomeOtherFunction();
switch(someVar)
{
default:
case CONSTANTVALUE:
{
for(int i=0;i<CONSTANTVALUE;i++)
{
qDebug()<<"Text: "<< i;
}
}
break;
}
}
Unknown
#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
callSomeOtherFunction();
switch(someVar)
{
default:
case CONSTANTVALUE:
{
for(int i=0;i<CONSTANTVALUE;i++)
{
qDebug()<<"Text: "<< i;
}
}
break;
}
}