Hamada Sayed
-
المساهمات
106 -
تاريخ الانضمام
-
تاريخ آخر زيارة
-
عدد الأيام التي تصدر بها
4
نوع المحتوى
ريادة الأعمال
البرمجة
التصميم
DevOps
التسويق والمبيعات
العمل الحر
البرامج والتطبيقات
آخر التحديثات
قصص نجاح
أسئلة وأجوبة
كتب
دورات
أجوبة بواسطة Hamada Sayed
-
-
السلام عليكم.
ايقونه الارسال خاصيه الhref لها يكون محتواها رابط لصفحه علي السرفر تظهر لك فورم الارسال.
<a href="/showbox.php?user=username">send message</a>
يكون محتوي الصفحه الفورم الموجود في الاعلي.
واضف السطر التالي داخل الفورم.
<input type="hidden" name="to" value="اسم المستخدم" />
-
- 2
-
المرفقات توضح كيف يتم برمجته بلغه السي.
-
السلام عليكم.
برنامج التحكم بالعتاد يتم برمجته بلغات
C, C++, Assembly
الجافا لاتصلح لهذا النوع من البرامج.
-
عليكم السلام.
بتاريخ 13 دقائق مضت قال Fouad Daoudi:انا اريد انشاء تطبيق طبخ يكون محمي من الهندسة العكسية
بالنسبه لبئيه اندرويد يمكن الحمايه بنسبه 80% بإنشاء مكتبات ربط بين الc/c++ والجافا.
-
في اللغات الثنائيه يمكن تغيير محتواها.
في لغات السكربتات يمكن تغيير محتواها؟
-
ممكن بهذا الشكل.
#include <iostream>
using namespace std;#define colleges 7
#define OtherOptionsRow 1
#define OtherOptionsCol 1char size[4][25] = {
"Small", "Medium", "Large", "XLarge"
};unsigned int savedata[colleges + OtherOptionsRow][4 + OtherOptionsCol], TotalAll = 0;
int main(int c, char **g)
{
// Input & Calc
for (int college = 0; college < colleges; college++)
{
cout << endl << "College Details ( " << college+1 << " )" << endl;
savedata[college][4] = 0;
for (int sizeidx = 0; sizeidx < 4; sizeidx++)
{
cout << "\t" << "Count Size " << size[sizeidx] << " ";
cin >> savedata[college][sizeidx];
cout << savedata[college][sizeidx];
savedata[college][4] += savedata[college][sizeidx];
}}
cout << endl << endl;// Output
cout << "\t" << "\t" << "\t";
for (int college = 1; college <= colleges; college++)
{
cout << college << "\t";
}
cout << "Total" << endl;
int sizeidx = 0;
for (; sizeidx < 4; sizeidx++)
{
cout << size[sizeidx] << "\t\t\t";
savedata[colleges][sizeidx] = 0;
for (int college = 0; college < colleges; college++)
{
savedata[colleges][sizeidx] += savedata[college][sizeidx];
cout << savedata[college][sizeidx] << "\t";
}
cout << savedata[colleges][sizeidx] << endl;
}
cout << "College Total\t\t\t";
for (int college = 0; college < colleges; college++)
{
TotalAll += savedata[college][sizeidx];
cout << savedata[college][sizeidx] << "\t";
}
cout << endl << "Total Quantity On Hand " << TotalAll << endl;}
- 1
-
بتاريخ On ١٥/١٢/٢٠١٨ at 17:28 قال seid hussein:
SELECT message FROM message WHERE id='5' AND id ='6
لديك مشكله اخري .
التنصيص الفردي للآدي ٦ ناقص.
ملحوظه:
يمكن الاستغناء عن علامات التنصيص مع القيمه العدديه داخل نص الاستعلام.
SELECT message FROM message WHERE id='5' AND id ='6';
او
SELECT message FROM ;message WHERE id=5 AND id =6
- 1
-
السلام عليكم
AND تستخدم اذا كان الادي يساوي ٥و٦ في نفس الصف.
ولكن اذا اردت الاستعلام عن الادي ٥و٦ في الجدول استبدال AND ب OR.
- 1
-
السلام عليكم.
استبدل الonKeyup بالonkeyup
- 2
-
ممكن باستخدام.
unsigned int maxValue(unsigned int val1, unsigned int val2, unsigned int val3){
val2=(val1<val2)?val2:val1;
return (val2<val3)?val3:val2;
}
ارقام صحيحه الحد الاقصي 32bit
-
البرنامج محتاج تطوير للتأكد من ان الحقول توجد بها قيم وان القيم ارقام وليست حروف او ارقام وحروف.
والبرنامج قد يعمل معك اذا كانت الارقام تتوسطها حروف او تنهاها.
-
استبدل الfunction
function cacl() { "use strict"; document.getElementById("Caclulate").innerHTML = [(document.getElementById("oldCost").value + document.getElementById("newCost").value)] / [(document.getElementById("oldQuantity").value + document.getElementById("newQuantity").value)]; }
بالfunction
function cacl() {
"use strict";
document.getElementById("Caclulate").innerHTML =
(parseInt(document.getElementById("oldCost").value) + parseInt(document.getElementById("newCost").value)) / (parseInt(document.getElementById("oldQuantity").value) + parseInt(document.getElementById("newQuantity").value));
}وإحرص علي ان لا تكون قيمه المقسوم عليه صفر وإلا ستظهر لك النتيجه infinity
-
الويب سايت فارغ ولا يوجد به شئ مفيد.
-
اذا كانت النتيجه undefined
استخدم stringToNumber
function stringToNumber(str){ str=new String(str+"");
if ("parseInt" in window) return parseInt(str);
var num=0, n=1, i=str.length-1, ch;
for (;i>-1; i--){
ch=str.charAt(i);
if (ch<='9' && ch>='0'){
ch=ch&15;
num=num+(ch*n);
n=n*10;
} else break;
}
return num;
}
مع العلم ان الطريقه stringToNumber يمرر لها وسيط واحد.
-
لا أعلم اذا كانت الطريقه parseInt تعمل علي متصفح مايكروسوفت.
-
استخدم
parseInt
لتحويل النص الي رقم صحيح.
var num=document.getElementById("..."). value
num=parseInt(num);
-
السلام عليكم.
قم بتحويل النص الي رقم صحيح قبل إجراء العمليات الحسابيه
-
يوجد خطأ بالبرنامج
استبدال السطر
;std::cout << endl
بالسطر
;std::cout << std::endl
-
#include <iostream>
int main(int argc, char **argv)
{
int b = 0;
int i, j, k = 0, l=1, c = 10;for (i = 0; i < c; i++)
{
for (j = 0; j < l; j++)
{
if (i == c - 1)
b = 1;
else if (k == 0)
b = 1;
else if ((j % k) == 0)
{
b = 1;
}if (b)
{
std::cout << "*";
b = 0;
}
else
std::cout << " ";
}
std::cout << endl;
k++;
l++;
}
return 0;
}- 1
سؤال عن انشاء صندوق رسائل php mysql
في جافا سكريبت
نشر
السلام عليكم.
ايقونه الارسال خاصيه الhref لها يكون محتواها رابط لصفحه علي السرفر تظهر لك فورم الارسال.
<a href="/showbox.php?user=username">send message</a>
يكون محتوي الصفحه الفورم الموجود في الاعلي.
واضف $_GET["user"] في خانه المستقبل.
وفي صفحه الارسال احصل علي الايميل عن طريق اسم المستخدم من قاعده بيانات المستخدمين الموجوده في الموقع.