• Post Reply Bookmark Topic Watch Topic
  • New Topic

int cannot be dereferenced  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting this error "int cannot be dereferenced".Why it is coming.
 
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Presumably you are getting the error because you are using 'int' in an illegal context but unless you show the code that is causing the problem it's hard to give a definitive answer.
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome again
You must not put a . (dot operator) after a variable name which points to one of the eight primitive types, including int.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!