PLEASE ALWAYS USE CODE TAGS (the <> formatting button), to the right of this box, when posting code. Along with the proper indenting it makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/ http://www.cplusplus.com/articles/z13hAqkS/ Hint: You can edit your post, highlight your code and press the <> formatting button. You can use the preview button at the bottom to see how it looks. I found the second link to be the most help. |
You totally messed it up :D |
#include<conio.h> Obsolete since 1990, when the world stopped using DOS as a primary operating system. |
list = new product[(N = fSize/sizeof(product))];
. I see two problems whit this. "N" is defined in the function "getStudent", which should not be in "main" and "main" has no access to this variable. Also I am not sure if this [(N = fSize/sizeof(product))]
will even work. I will have to check on that.
|
|
|
|