ما هي الفائدة من جعل دالة static غير تعاملها مع انواع static
ما الفائدة من جعل كائن معين static لاني جربت اكتب اكواد ولكن لم اجد فرق بين
MyClass a; static MyClass b;
كيف يمكن تنفيذ هذا الكود لاني حاولت مرارا ولكن الخطا C2440 في الدوت نت يظهر كل مرة
string s[]={"hello","code"}
string* const ps[5]={0};
// any way to store s in ps
const string* S="hello";
const string *ss=&SomeString;
//any way to store S or ss in the ps