posting code with syntaxhighlighter by Alex Gorbatchev
-
When posting this code:
#include
#include
using namespace std;
typedef struct {
int ano, mes, dia;
} DATA;
void mostra_data(DATA d){
cout
<< setw(4) << setfill(‘0’) << d.ano << “/”
<< setw(2) << setfill(‘0’) << d.mes<<“/”
<< setw(2) << setfill(‘0’) << d.dia;
}int main(){
DATA d1={1970,1,9};
mostra_data(d1);
return 0;
}I get a couple of smilies instead of the setfill function?
Is it a bug from Alex Project or something else?
Thanks -
Turn off the smilies in your blog.
settings -> writing -> Convert emoticons like :-) and :-P to graphics on display (uncheck this box)
- The topic ‘posting code with syntaxhighlighter by Alex Gorbatchev’ is closed to new replies.