Compiler bug?

This is a discussion on Compiler bug? within the C++ Programming forums, part of the General Programming Boards category; The compiler i got is giving an error on the > in this snippet does not look wrong to me. ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    5

    Compiler bug?

    The compiler i got is giving an error on the > in this snippet does not look wrong to me. If it is the compiler then got a good one to use with xp?

    Code:
    While ( num=> 0 || num=<  10)

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    its >= and <=
    not => and =<

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,505
    > The compiler i got is giving an error
    Next time, say what error and what compiler.
    Despite what some people believe, we can't tell what you're seeing or doing unless you actually tell us.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    Quote Originally Posted by Salem
    Despite what some people believe, we can't tell what you're seeing or doing unless you actually tell us.
    lol salem:P
    I don't think he should have posted that on a forum like this one :P
    PLay MystWind beta , within two years

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Have you ever written a compiler?
    By ammar in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 12-27-2004, 06:10 AM
  2. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  3. lcc win32 compiler download problems
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-01-2004, 07:39 PM
  4. OpenScript2.0 Compiler
    By jverkoey in forum C++ Programming
    Replies: 3
    Last Post: 10-30-2003, 12:52 PM
  5. Compiler or OS bug??
    By Frantic in forum C++ Programming
    Replies: 6
    Last Post: 05-20-2003, 11:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21