Skip to main content
gamedev.net
🔒 Locked

general questions

Started by braves 0 replies 250+ views
Original Post
braves
braves
I have a simple questions if anyone can help. Here they are: 1) Can someone explain what a abstract data types are and what abstact base class are. If there is such a thing, what is a abstract function? What is the difference between a abstract class and a normal class which I think is called a concrete class? 2) Why is it you can''t do void function(int a[][9]) {} main() { int a[10][9]; function(a); } you have to do it like this void function(int a[][9]) {} main() { int a[10][9]; function(a); } but you can do this void function(int *) {} main() { int a[10]; function(a); } 3)What''s the difference between private and protected data types? Thank you all for your help in advance. Braves
DanJames
DanJames
Must be an echo in here...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.