v1r05
عضو شرف
- لقد بدأت في تعلم ++c ولكني أواجه مشكلة
الخطأ في آخر سطر rerturn o; المفروض رقم وليس حرف return 0; لا الـMSDN ليس لها علاقه
- خبراء ال MFC .. ارجواا المساعدة
شوف المثال في الملف المرفق :- و شوف هذا الموقع أيضأً هنا 4bsd.zip
- خبراء ال MFC .. ارجواا المساعدة
no the error is not there it is in if (a != 'd' ) you are trying to compare a string with possibly multiple chars with a single char the correct way is if ( a[0] != 'd') also i will not force the user to choose a string that only starts with 'd' use isalpha() …
- خبراء ال MFC .. ارجواا المساعدة
شوفت الكود ولكن لم أفهم شيء المره القادمه حاول تضع تعليق في أي حال في حل خلي المتغير حق الـedit text من نوع CString و بعدين سوي كذا if (m_edit1[0] != 'd' || isdigit(m_edit1[1]) !=0) { MessageBox("error"); } //the first part of the condition checks the first ch…
- النجدة يا اخواني المحترفين با لسي ++
sample output :- what do you want to open C:\readme.txt contains 106 words what do you want to do: [1] print whole index [2]find word 1 .:[A]:. able(word number 82) about(word number 59) ACE,(word number 90) algorithm(word number 43) algorithm.(word number 17)…
- ماالمشكلة في هذا الكود
#include<stdio.h> #include<string.h> #include<ctype.h> #include<conio.h> int i=0; //make i global for interfunctional use char fullnames[10][30]; int account[10]; //also these need to be global double balance[10]; double balancevalue(int acnum); int accoutnum(…
- ماالمشكلة في هذا الكود
كانت عندك المشكله أنه أنت بتقرأ من ملف رقم من نوع int و تحاول تدخله في double وفي مشاكل أخرى شوف الكود :- #include<stdio.h> #include<string.h> #include<ctype.h> #include<conio.h> void main() { int i=0; FILE *input; char fullnames[10][30]; int account[10]; doub…
- طلب ضروري جدا
#include "time.h" #include "stdlib.h" #include "stdio.h" #define MAX 30 // controls the maximimum number so the compiler //will only choose from 0 to 30 int main(int argc, char* argv[]) { int random,usernum,max_tries; srand(time(NULL));//srand() a function to …
- مافائدة الامر Include
#include "headerfilename" will include a header file that contains functions header that you neeed to use in your current project lets say you want to use the function strcmp() in your program if you use it without adding the header file string.h your program …
- كيف افتح ملف من نوع txt
أتوقع يقصد أنه يريد يقرأ محتوى الملف كاملاً ، فقط قم باستخدام fgetc في لووب إلى EOF شوف الكود سهل مره :- #include "stdio.h" #include "string.h" #include "stdlib.h" int main(int argc, char* argv[]) { FILE * pFile; long n = 0; char c,save[2048]; //make sure its …
- كيف اعمل برنامج لاخراج cdroomب فيجوال سي++
http://www.codeguru.com/Cpp/misc/misc/cd-r...icle.php/c3739/
- اريد عمل تشفير لنص
شوف هذا مثال أبسط و أسهل طريقه xOR message XOR key = Encrypted Message Encrypted Message XOR key = message كتبتها لك كلها في داله واحده :- char *encrypt_decrypt(long key,char *string) { int len; len = strlen(string); for(int i=0;i<len;i++) { string = string ^ …
- لماذا لم يعمل GDI+ مع Win32
عندي نفس المشكله بس مش مع الـ GDI مع الـ WinSock المهم حليتها بأنه أضع الـ #include "winsock2.h" في البداية أول حاجة، وكل الدوال حقتي وضعتها في ملف main.cpp ثانياً هذه المشكله غير موجوده في الـ bloodshed dev c++ مشكله عجيـيـيــيـــيـبه جدااااااااااًًً
- برنامج لإيجاد أكبر رقم وثاني أكبر رقم
لماذا أخترت هذه الطريقه , أفضل لو ترتب الأرقام ستعطيك مرونه أكثر ، تستطيع أن تطبع الأكبر ثم ثاني أكبر رقم أو العكس شوف الكود بسيط وسهل :- #include "iostream.h" int main() { // always make your programs as simple as possible int n,tmp,j,largarray[512]; cout << …
- cracking mysql 323 hash
أولاً شكراً على مشاركتك ، برنامج جيد لكن عندي برنامج مثله أسمه cain وثانياً أنه البرنامج نفسه لا يدعم أي جدول أحتمال، بس كويس عندي الأآن برنامجين أنا أريد مثل هذا الموقع http://rainbowtables.shmoo.com/ عنده الجدوال بس لـ LM
- cracking mysql 323 hash
بسم الله الرحمن الرحيم ما ادري وين أدرج هذا الموضوع ، لكن هذا المنتدى في كثير من الخبراء ما شاء الله شباب لو واحد فيكم عنده طريقه لكراك شفراة mysql323 أو عنده فكرة وين أقدر أحمل الـ rainbow الكامل أو جرء منه يقولي بالله ساعدوني ياشباب وعارف أنه حجمها كبير بس م…
- Message service
مافي شيء تقدر تسويه ليحمي جهازك 100% خلي جهازك فيه أنتي فايروس واتأكد منه أجدد شيء ، فاير ول ، وحمل كل الوندوز أبديت ، وراقب securityfocus.com/bid و سجل بريدك في قائمة الـ news group في الموقع نفسه لتعرف أجدد أنواع الثغرات و الفيروسات و الـ updates حقت البرامج…
- اريد كود لمعرفة هل العدد أولي ام لا
http://pscode.com/vb/scripts/ShowCode.asp?...d=1352&lngWId=3
- أغلاق بورتات التجسس
تعتمد ، لو كنت في dialup نزل أي برنامج فاير ول أفضل sygate و أي برنامج تشوفه غريب أو قاعد يسمع لـأتصالات خارجيه سويله بلوك ، لو كنت في DSL , Cable كل هذا يمكنك فعله من الراوتر شوف المانيوال حق الراوتر ونزل فايرول إضافي يكون أفضل و لاتنسى الـ windows update
- كيف الوصول الي كمبيوتر بالشبكة من خلا الانترنت
nice topic. reagent what if i want to access a computer inside a network which i dont have access to the main server in the past i wrote a program to reverse connect to my home pc the trick works but it dosent work if i want it to connect to another computer i…