Announcement

Collapse
No announcement yet.

"missing ';'" [quickie]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "missing ';'" [quickie]

    How can ; be missing in this!?:


    #pragma once

    #include "GameFramework/Character.h"
    #include "Jack.generated.h"

    /**
    *
    */
    UCLASS()
    class CPPSHOOTER_API AJack : public ACharacter
    {
    GENERATED_UCLASS_BODY()
    virtual void BeginPlay() override;
    protected:
    virtual void SetupPlayerInputComponent(class UInputComponent* InputComponent) override;
    UFUNCTION()
    void WalkF(float Val);
    UFUNCTION()
    void WalkR(float Val);
    UFUNCTION()
    void OnStartJump();
    UFUNCTION()
    void OnStopJump();
    }

    #2
    It would be easier to help if you included the full error message, which has the line number and character position.

    You need a ; after the last } to close out the class declaration.

    Comment


      #3
      There's a ; missing after your class declaration.

      Comment


        #4
        Thanks! Didn't think of that

        Comment

        Working...
        X