Questions tagged [identifier]

An identifier is a name that identifies either a unique object or a unique class of objects.

1353 questions
-2
votes
2 answers

Undeclared Identifier after the void

I have got this error on the line where the void is it says undeclared identifier for sliderDidChange can some one please help me with this i can;t find any answers. h. file // // LightViewController.h // Flash Light // // Created by John Whitney…
-2
votes
1 answer

MKMapView: Use of Undeclared Identifier 'ann'?

So I'm pulling together my mapview with coordinates from a MySQL database. I think I'm nearly there, but for some reason xcode keeps throwing me the "Use of Undeclared Identifier 'ann'". What on earth am I doing wrong? Here's my code...…
user1953744
  • 41
  • 1
  • 8
-2
votes
1 answer

RegEx matching variable names but not string values

It is hard to find. I need to write lexer and tokenizer for it. I've got a problem in finding a regex which matches variable names but not string values. The following should not be matched: "ala ma kota" 5aalaas This should be…
-2
votes
1 answer

how do i fix a "identifier is undefined" error in a simple C++ application?

I have searched everywhere, but to no avail. Could someone tell me what's wrong with this code? It is giving me the "Error: Identifier "XXX" Is Undefined" #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, …
-2
votes
3 answers

what does the dash (-) do in html?

I'm having a problem (see 2 screenshots): 1 2 The problem is "SyntaxError: identifier starts immediately after numeric literal" This data im trying to send through the ajax script is html, right? Because it says data-type: html. What is an…
Lv99Zubat
  • 853
  • 2
  • 10
  • 27
-3
votes
0 answers

undeclared identifier and unknown override specifer

I am creating an engine: #include "Engine.h" class Engine{ GraphicsManager graphicsManager; public: //Other managers void Start(){ graphicsManager.Start(); …
Mitch
  • 1
  • 2
-3
votes
1 answer

How do I create an identifier for an Array of Strings without a predefined size in java?

I am trying to figure out how do I create an identifier for an array of Strings which doesn't have a predefined set number of Strings in it? I couldn't find a solution for this specific problem when searching on the internet thats why I'm asking…
-3
votes
1 answer

How to fix the error expected?

A code returns error expected. I don't know why this error is occuring. package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { intro(); time(); } …
slims8033
  • 3
  • 1
  • 1
-3
votes
1 answer

Why is Var or RADIUS invalid for a typename (identifier) in C++?

Situation: I'm learning C++ whth a book and theres an excercise to dertemine whether an identifier/typename is valid or not. My mistakes were that the following identifier/typename I said to be valid. a) RADUIS b) Var What i did afterwards: I…
limonade
  • 45
  • 6
-3
votes
3 answers

How can I solve the cannot find symbol error in the isWon() & isFull() in my Tic Tac Toe program?

I am trying to compile this tic tac toe program but I keep getting cannot find symbol errors from the isWon() & isFull(). This is the class which contains the isWon() & isFull() import java.awt.*; import java.awt.event.*; import…
kinghabz 14
  • 7
  • 1
  • 2
-3
votes
1 answer

a given string is valid identifier or keyword in c++

This is a code of checking a given string is an identifier or a keyword. Here is the code: #include #include #include #include int main(){ int i = 0, flag = 0; char a[10][10] = {"int", "float",…
Rashed Sami
  • 141
  • 1
  • 4
  • 12
-3
votes
1 answer

I want to use SQL to Populate the Primary Key Value

I want to use SQL statements on insert to insert the new / next identifier value for my Primary Unique Index while being able to support joins with PK and FK relationships> What is the simplest solution? Data type/length recommendation? The data…
-3
votes
3 answers

Identifier expected but integer literal found

I got this problem when writing a recursive function that calculates the number of points where two general functions f1 and f2 are equal(Assuming only Integer values). object X1 { def numEqual(f1:Int=>Int,f2:Int=>Int)(a:Int,b:Int):Int= …
user6790299
-3
votes
1 answer

identifier "i" is undefined C++

#include #include #include using namespace std; struct EmployeeData { string employeeName; float overtime; float grossPay; float hoursWorked; float hourlyRate; float statetaxOwed; float…
Elsa
  • 1
  • 1
  • 1
-3
votes
3 answers

Why am I getting error "use of undeclared identifier?"

I have searched and can't work out why why I am getting this error if it is declared within the for loop? #include #include #include int main (void) { char* sur; char* space = " "; char* name =…
Ryan McCauley
  • 17
  • 1
  • 2