|
كليات المجموعة الرياضية (الهندسة - الحاسبات والمعلومات - التجارة & التجارة إنجلش - الفنون التطبيقية والجميلة) |
|
أدوات الموضوع | انواع عرض الموضوع |
|
#1
|
|||
|
|||
![]() اقتباس:
كل عام وانتم بخير اسف للغياب الطويل لظروف الدراسة بالنسبة لسؤالك يابشمهندس هوا مش سؤال اهبل ولا حاجة ودا الرد على سؤالك using namespace std
library in c and c++ that contains set of classes , objects and functions the commonly used functions from this library is cout , cin , endl if you write ur program without using namespace std the compiler will give u error function(cout,cin,endl.....) undeclared to declare this functions without writing using namespace std use this syntax std::cout std::cin std::endl see examples 1- with using namespace std كود:
#include<iostream> using namespace std; int main() { cout<<"hello world"<<endl; system("pause"); return 0; } كود:
#include<iostream> int main() { std::cout<<"hello world"<<std::endl; system("pause"); return 0; } اتمنى انى اكون وفقت فى توصيل المعلومة ولى فى اى استفسار انا موجود |
العلامات المرجعية |
|
|