You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cs1003-s...@googlegroups.com
Assalaam-o-Alikum,
Respected Sir & Madam,
Please tell me what the below statement do in .cpp file of class for static variable and If I do not write this statement than the compiler gives Linker error, Kindly explain why this error comes.
int CDummy::n;
CDummy is class name and "n" is public static variable of this class.
Regards,
Mehran Khan
Sami Ullah Kashif
unread,
May 12, 2013, 6:25:28 AM5/12/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cs1003-s...@googlegroups.com
Walaikum Assalam,
Try to initialize it to something and then tell me whether it resolves the error or not.