well if I enter " if ((pirand = new int[C_TableSize]) == NULL) "
straight into Java, I get a " ')' expected" error at the line where the if statement is declared.
At first I tried rewriting it as a " if ((pirand = int[] C_TableSize == null)" statement instead, I get a ".class expected" error instead.
I think the most likely error is that I dont know what they are...
User Profile
Collapse
-
I have a statement,
ColorJitter::Co lorJitter() // Class constructor
{
int i; // Loop index
status = TRUE;
// Initialize jitter lookup table pointers
pirand = NULL;
pxrand = NULL;
pyrand = NULL;
noise = 1; // Set default noise level
if ((pirand = new int[C_TableSize]) == NULL)
{
status = FALSE;
return;
}
...Leave a comment:
-
C++ convert to Java?
Hello, I am currently converting a C++ program into Java, but I cannot find the equivilant to UCHAR_MAX in Java. Does anyone know this?
No activity results to display
Show More
Leave a comment: