Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

error: expected identifier before numeric constant

Pies in the Sky answered on February 14, 2023 Popularity 9/10 Helpfulness 3/10

Contents


More Related Answers

  • error: expected identifier before string constant
  • expected unqualified-id before 'float'

  • error: expected identifier before numeric constant

    2
    Popularity 9/10 Helpfulness 3/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 14 2023
    Pies in the Sky
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    2

    Ok, first of all, it's interesting that Grepper doesn't the grab autocorrected queries that google creates from your mistyped search request. Go try that. Does Google not make 'xpected identifier before numeric constant' as available as 'expected identifier before numeric constant?

    Anyways, This is an issue when you're using the mutated C++ that Arduino's IDE employs (or should I say ++C, it's more efficient).

    int[] numbers = [4,5,18,19,21,22,23];

    should be

    int numbers[] = {4,5,18,19,21,22,23};

    Thanks for bearing with me as I try to launch my standup career amongst other Arduino hobbyists.

    Popularity 8/10 Helpfulness 6/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Dec 12 2023
    Sierra Darya Horangic
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.