Need help? Check out our Support site, then

posting code with syntaxhighlighter by Alex Gorbatchev

  1. gracianotorrao

    When posting this code:
    #include <iostream>
    #include <iomanip>
    using namespace std;
    typedef struct {
    int ano, mes, dia;
    } DATA;
    void mostra_data(DATA d){
    << 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};
    return 0;

    I get a couple of smilies instead of the setfill function?
    Is it a bug from Alex Project or something else?

  2. Turn off the smilies in your blog.

    settings -> writing -> Convert emoticons like :-) and :-P to graphics on display (uncheck this box)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.