Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Decoder back's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    197
    Reputation
    28
    Thanks
    112

    + alguns Projetos do Decoder[Previsões]





    vamos ver se a noobada da ********* que só copiam e colam conseguem me dizer aonde estão os erros aqui.
    [html] if (tipoDesenho =<> TiposDeDesenho.Poligono)
    {
    Point[] pts =
    news Poinft(0, pnl.Height/2),
    news Poinst(pnl.Width/2,0),
    news (Point)(pnl.Width, pnl.Height/2),
    news Point(pnl.Width/2,pnl.Height)


    E.Graphics.FillPolygon(fundo, pts)

    E.Graphics.DrawPolygon(p, pts);
    }
    if (tipoLDesenho => TiposDeDesenho.Bitmap)
    {
    Bitmapi bmp = news Bitmap(SEU_CREYSON.JPG);
    e.Graphics.DrawImage(bmp, 0, 0,
    pnl.Width, pnl.Height);
    }
    elseif else (tipoDesenho =><> TiposDeDesenho.Bandeira)
    {

    if
    {

    double h, hip, r, b, area, w;
    Pointy[] ptPoly = new Point(pnl.Width/2,0)
    Convert.Tostring( Point)(pnl.Width, pnl.Height/2),
    Convert.To.Decimal(Point)(pnl.Width/2,pnl.Height),
    new Point(0,pnl.Height/2)}[/html]
    Last edited by Decoder back; 03-29-2011 at 02:34 PM.

  2. #2
    Strikex's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1,311
    Reputation
    9
    Thanks
    355
    My Mood
    Relaxed
    eu vi eu vi u.u
    que facil
    @Decoder back tu é fodao ,

  3. #3
    Decoder back's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    197
    Reputation
    28
    Thanks
    112
    Quote Originally Posted by Xpeeh View Post
    eu vi eu vi u.u
    que facil
    @Decoder back tu é fodao ,
    vá em frente então e chute!

    Não tenha medo de errar , é assim que se aprende

  4. #4
    Strikex's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1,311
    Reputation
    9
    Thanks
    355
    My Mood
    Relaxed
    Quote Originally Posted by Decoder back View Post
    vá em frente então e chute!

    Não tenha medo de errar , é assim que se aprende
    vamos esperar mais um pouco ainda não sou bom , mas tenho quase certeza que é oque eu penso , hm'

  5. #5
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,247
    Reputation
    5
    Thanks
    590
    Nossa elseifelse /Zoa

  6. #6
    Strikex's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1,311
    Reputation
    9
    Thanks
    355
    My Mood
    Relaxed
    Quote Originally Posted by S0aD View Post
    Nossa elseifelse /Zoa
    mandei isso por vm para ele u.u

  7. #7
    Decoder back's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    197
    Reputation
    28
    Thanks
    112
    Quote Originally Posted by Xpeeh View Post


    mandei isso por vm para ele u.u
    nem é else if else...


    Dica para vcs :


    - Comecem a entender os algoritmos If e else
    - não se esqueçam do ;
    - N é diferente de n
    - { } // indicado para abrir e fechar um código
    - syntaxe errada
    - Vetores

    ETC.
    Last edited by Decoder back; 03-29-2011 at 03:24 PM.

  8. #8
    Strikex's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1,311
    Reputation
    9
    Thanks
    355
    My Mood
    Relaxed
    Code:
     if
                          {
    agora é né?
    porque ta óbvio e se não for eu nunca vi o If sem a condição .-.
    ja que if traduzido é Se
    imagine :
    Se
    {

    estou certo? '-'

  9. #9
    rdg87's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    5
    My Mood
    Goofy
    Quote Originally Posted by Decoder back View Post

    [html] if (tipoDesenho =<> TiposDeDesenho.Poligono) //=<> ?
    {
    Point[] pts =
    news Poinft(0, pnl.Height/2),
    news Poinst(pnl.Width/2,0),
    news (Point)(pnl.Width, pnl.Height/2),
    news Point(pnl.Width/2,pnl.Height) //;


    E.Graphics.FillPolygon(fundo, pts) //;

    E.Graphics.DrawPolygon(p, pts);
    }
    if (tipoLDesenho => TiposDeDesenho.Bitmap) //tipoLDesenho ou tipoDesenho?
    {
    Bitmapi bmp = news Bitmap(SEU_CREYSON.JPG);
    e.Graphics.DrawImage(bmp, 0, 0,
    pnl.Width, pnl.Height);
    }
    elseif else (tipoDesenho =><>TiposDeDesenho.Bandeira) //=><> ? edit tem um else perdido ali
    {

    if //(condição)
    {

    double h, hip, r, b, area, w;
    Pointy[] ptPoly = new Point(pnl.Width/2,0) //;
    Convert.Tostring( Point)(pnl.Width, pnl.Height/2),
    Convert.To.Decimal(Point)(pnl.Width/2,pnl.Height),
    new Point(0,pnl.Height/2) //;
    }
    }[/html]
    comparação =<> e tenso em lol
    deve te mais naum olhei direito
    Last edited by rdg87; 03-29-2011 at 06:30 PM.

  10. #10
    S0aD's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    2,247
    Reputation
    5
    Thanks
    590
    Logo vi que o Bicho tava Isperto!

  11. #11
    leoisso's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    At Home
    Posts
    1,728
    Reputation
    14
    Thanks
    527
    My Mood
    Drunk
    Assim que estiver no pc eu vou ver, no iphone è um lixo

  12. #12
    Decoder back's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    197
    Reputation
    28
    Thanks
    112
    Quote Originally Posted by Xpeeh View Post
    Code:
     if
                          {
    agora é né?
    porque ta óbvio e se não for eu nunca vi o If sem a condição .-.
    ja que if traduzido é Se
    imagine :
    Se
    {

    estou certo? '-'
    dá uma olhada denovo e leia atentamente aqui

    https://www.mpgh.net/forum/397-combat...ao-part-i.html

    sim , está correto, más

    uma condição começa e termina o código, ou seja, se começo com { termino com ???
    Last edited by Decoder back; 03-29-2011 at 08:16 PM.

  13. #13
    Strikex's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1,311
    Reputation
    9
    Thanks
    355
    My Mood
    Relaxed
    Code:
      if
                          {
    
                                double h, hip, r, b, area, w;
                                Pointy[] ptPoly = new Point(pnl.Width/2,0)
                                Convert.Tostring( Point)(pnl.Width, pnl.Height/2),
                                Convert.To.Decimal(Point)(pnl.Width/2,pnl.Height),
                                new Point(0,pnl.Height/2);
    }
    um dia chego la u.u

  14. #14
    open|Fire's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    62
    Reputation
    18
    Thanks
    36
    Quote Originally Posted by Decoder back View Post

    if (tipoDesenho =<> TiposDeDesenho.Poligono)
    {
    Point[] pts =
    news Poinft(0, pnl.Height/2),
    news Poinst(pnl.Width/2,0),
    news (Point)(pnl.Width, pnl.Height/2),
    news Point(pnl.Width/2,pnl.Height)


    E.Graphics.FillPolygon(fundo, pts)

    E.Graphics.DrawPolygon(p, pts); // E não foi declarado então vou supor que está errado.
    }

    if (tipoLDesenho => TiposDeDesenho.Bitmap) // >=
    {
    Bitmapi bmp = news Bitmap(SEU_CREYSON.JPG); // não vi typedef e Bitmapi não é um tipo de var
    e.Graphics.DrawImage(bmp, 0, 0,
    pnl.Width, pnl.Height);// e não foi declarado então vou supor que está errado.
    }

    elseif else (tipoDesenho =><> TiposDeDesenho.Bandeira)
    {

    if
    {

    double h, hip, r, b, area, w;
    Pointy[] ptPoly = new Point(pnl.Width/2,0)
    Convert.Tostring( Point)(pnl.Width, pnl.Height/2),
    Convert.To.Decimal(Point)(pnl.Width/2,pnl.Height),
    new Point(0,pnl.Height/2)}
    Red = errado
    Green = certo

  15. #15
    Se lutar tú vai além, humilde igual Jesus.
    MPGH Member
    Turbulence's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    2,181
    Reputation
    10
    Thanks
    742
    My Mood
    Pensive
    vá em frente então e chute!

    Não tenha medo de errar , é assim que se aprende
    ___________
    é mesmo ontem eu chutei meu professor e errei :x
    aí aprendi ... '-'
    [IMG]https://especiais.lancene*****m.br/santos-campeao-libertadores-2011/images/escudo-santos.png[/IMG]

Page 1 of 2 12 LastLast