fi9fi9
- saving and loading a two dimensional integer array into and from a file
يعطـيك العافية على ردك اخوي blueteeth الـمشكلة كانت ان لمى يقرى من الملف ياخذ الرقم كله ك Intger رقم واحد وانحلت المشكلة حيث وضعت مسافة بين كل رقم ورقم for (i=0; i < 9; i++) for (ii=0; ii < 9; ii++) { save << x[ii] << " "; }
- saving and loading a two dimensional integer array into and from a file
Lol i did, Cmon I'm not that stupid =p but i still have the same problem when I load, it fill the array with garbage not the numbers that is saved in the file :/ should I re-write the code in a diffrent way if i'm going to read intgers from the file? blueteeth…
- saving and loading a two dimensional integer array into and from a file
جزاك الله الف خير اخوي blueteeth ما انتهبت عليها انحلت المشكلة الحين حفظ الاري يعمل بشكل ممتاز بس الودنك يعطيني قاربج الا الحين بعد ما يشغل هالكود ifstream load; load.open("game.dat"); if (load.fail()){ cout << "unable to open file game.dat for loading" << end…
- saving and loading a two dimensional integer array into and from a file
السـلام عليكم ورحمة الله وبـركاتة اخـواني طلب مني عمل لعبة sudoku كمشروع والتسليم سيكون غدا والحمدالله كتبت كود اللعبه واللعبة تعمل بشكل رائع لكن المشكلة اني اضفت فنكشن لكي تعمل حفظ للعبة ولود له فيما بعد وهاذي الفنكشن تعمل على ال Input/Output files الفكرة اني…