مساعدة بخصوص Indirection in,output على الملفات - برمجة 2

كل ما يتعلق بمادة البرمجة 2 من استفسارات و مناقشات و محاضرات...........

المشرفون: Ghais, Karam

مساعدة بخصوص Indirection in,output على الملفات - برمجة 2

مشاركة غير مقروءةبواسطة Adel Hamad » الجمعة مارس 25, 2011 4:26 am

مرحبا شباب

لو متأخر شوي

بس طلب صغير
بآخر محاضرة الملفات الثنائية حكا الدكتور بشكل سريع عن الادخال والاخراج الغير مباشر على الملفات

يعني اذا كان البرنامج عادي وما بيتعامل مع الملفات كيف بدنا نخليه بدل ما يطبع على الشاشة يطبع على ملف
أويقرأ من الملف بدل من لوحة المفاتيح

وعطانا تعليمتين على الدوس

للقراءة

c: p1< 'filename'

o
للكتابة
c: p1< 'filename'



بتمنى من اللي اشتغل بالموضوع وفهمو تمام يشرح شرح مفصل

ومشكورين
نلتقي لنرتقي
Adel Hamad
عضو جديد
عضو جديد
 
مشاركات: 10
اشترك في: الخميس سبتمبر 30, 2010 11:52 am
الجتس: ذكر
الشهادة الثانوية: تقنيات حاسوب
الجامعة: جامعة دمشق
الكلية: الهندسة المعلوماتية
المرحلة الدراسية: السنة الثانية

Re: مساعدة بخصوص Indirection in,output على الملفات

مشاركة غير مقروءةبواسطة HELP YOU » الجمعة مارس 25, 2011 6:22 pm

هلا نحنا منستفيد من هاد الموضوع انو نغير خرج البرنامج بدل ما يطبع عشاشة بيطبع عشي ملف(مفكرة)
او بدل ما دخل قيم من كيبورد بدخل القيم لي بيحتاجا البرنامج بملف (مفكرة)
هلا اول شي منساوي برنامج عل باسكال وليكن
CODE: تحديد الكل
Program mmm;
Var a:integer;
       S:string;
Begin
       Read(a);
Read(s);             
Write(a);     
       Write(s);   
End.


هلا أذا بدنا نغير خرج البرنامج بدل ما يطبع البرنامج القيم عشاشة يطبعن عملف (باستخدام مفكرة) منكتب التعليمة التالية:
CODE: تحديد الكل
C:\koko.exe>c:\popo.txt

حيث kokoهو البرنامج لي كتبتو عل باسكال بس لازم يكون التنفيذي حصرا انت وات بتخزن برنامج بيتخزن ب 3 ملفات وكل ملف له لاحقة .pas .exe . bak
و popo هو ملف باستخدام المفكرة انت اول ما تكتب هي التعليمة لازم دخلو قيم A and s
وبتعمل Enter فلما حتروح عل مسار لي انت حاطط في ملف popo رح تلاقي القيم لي ادخلتا فانت بهالحالة غيرت خرج البرنامج من الطباعة عل شاشة للطباعة عل الملف ان شالله تكون وضحت الفكرة :imb: :imb:

هلا لتفير الدخل بدل من الكيبورد من ملف بتكتب قيم لي لازم دخلا تبع برنامجك بالملف تبع المفكرة يعني popo وبتكتب هي التعليمة:
CODE: تحديد الكل
C:\koko.exe<c:\popo.txt

فهون بهالحالة هو رح ياخد القيم من الملف ويطبعن عل شاشة.
بس ملاحظة اذا انت حبيت تغير المسار من
CODE: تحديد الكل
c:\
to
g:\

فلازم تكتب بال dos ابل
CODE: تحديد الكل
cd..

وهيك بهالحالة رح يضل يرجعك مجلد مجلد حتى توصل ل
CODE: تحديد الكل
C:\

وقتها بتكتب القرص الجديد وليكن مثلا g
CODE: تحديد الكل
g:

وبتعمل بعدا إنتر فبفوتك عالقرص g:\ وبتكتب المسار السابق

بس حصرا لتكتب المسار لازم يكون عندك الملف التنفيذي للبرنامج هو مجرد ما عملت ctrl/f9لحالو المفروض ينشا
بس انا بصراحة عندي ما لقيت الملف التنفيذي :imb: :imb: :imb:
فاتبعت هي الطريقة اني استخدمت الباسكال لي بالدلفي لحتى احصلت عملف التنفيذي
ان شالله الفكرة تكون وضحت
بالتوفيق :iok: :iok:
ذبحوا الأطفال يا رب..قصفوا المساجد يا رب..مزقوا قرآننا يا الله..دنسوا مقدساتنا يا الله
يا رب فلتقعقع أبواب السماء من عندك رجاءً يا الله..وليهتز عرشك غضباً يا الله ..
من نحن حتى تنصرنا يا الله...انصر دينك يا الله!!!
صورة العضو الشخصية
HELP YOU
مشرفة لوحة الإعلانات
مشرفة لوحة الإعلانات
 
مشاركات: 1150
اشترك في: الأربعاء سبتمبر 29, 2010 9:34 pm
مكان: في بلاد الله الواسعة
الجتس: أنثى
الشهادة الثانوية: تقنيات حاسوب
الجامعة: جامعة دمشق
الكلية: -----
المرحلة الدراسية: السنة الثالثة

Re: مساعدة بخصوص Indirection in,output على الملفات - برمجة 2

مشاركة غير مقروءةبواسطة Adel Hamad » السبت مارس 26, 2011 3:07 am

اكيد وضحت وزيادة
شكرا كتير
نلتقي لنرتقي
Adel Hamad
عضو جديد
عضو جديد
 
مشاركات: 10
اشترك في: الخميس سبتمبر 30, 2010 11:52 am
الجتس: ذكر
الشهادة الثانوية: تقنيات حاسوب
الجامعة: جامعة دمشق
الكلية: الهندسة المعلوماتية
المرحلة الدراسية: السنة الثانية

Re: مساعدة بخصوص Indirection in,output على الملفات - برمجة 2

مشاركة غير مقروءةبواسطة shimaaomara1 » الجمعة ديسمبر 06, 2013 4:31 pm

shimaaomara1
عضو جديد
عضو جديد
 
مشاركات: 13
اشترك في: الجمعة ديسمبر 06, 2013 3:52 pm
الجتس: أنثى
الشهادة الثانوية: مصريه
الجامعة: جامعه بنها
الكلية: التربيه النوعيه
المرحلة الدراسية: السنة الأولى
الاختصاص: غير ذلك

Re: مساعدة بخصوص Indirection in,output على الملفات - برمجة 2

مشاركة غير مقروءةبواسطة asmaaaaa » السبت ديسمبر 07, 2013 12:33 pm

asmaaaaa
عضو جديد
عضو جديد
 
مشاركات: 54
اشترك في: السبت ديسمبر 07, 2013 10:48 am
الجتس: أنثى
الشهادة الثانوية: سورية
الجامعة: جامعة دمشق
الكلية: الهندسة المعلوماتية
المرحلة الدراسية: السنة الخامسة


footteerype Gagaddeld Texyexink 55288

مشاركة غير مقروءةبواسطة Cokedgeannogy » السبت ديسمبر 07, 2013 1:05 pm

Cokedgeannogy
عضو جديد
عضو جديد
 
مشاركات: 40
اشترك في: السبت ديسمبر 07, 2013 12:59 pm
الجتس: أنثى
الشهادة الثانوية: ?????
الجامعة: ????? ????
الكلية: ??????? ???????????
المرحلة الدراسية: دكتور
الاختصاص: غير ذلك

footteerype Gagaddeld Texyexink 99753

مشاركة غير مقروءةبواسطة Cokedgeannogy » السبت ديسمبر 07, 2013 1:09 pm

Cokedgeannogy
عضو جديد
عضو جديد
 
مشاركات: 40
اشترك في: السبت ديسمبر 07, 2013 12:59 pm
الجتس: أنثى
الشهادة الثانوية: ?????
الجامعة: ????? ????
الكلية: ??????? ???????????
المرحلة الدراسية: دكتور
الاختصاص: غير ذلك

Share Some Methods In cyber monday deals mall sale in the in

مشاركة غير مقروءةبواسطة Gemmoopay » السبت ديسمبر 07, 2013 7:48 pm

It is never wise to click on such links no matter what day of the year it is.The Carbide and Vengeance DIMMs are still discounted in that sale, though, and they have interesting company.Eight in Ten are Concerned about Overspending; TwentyEight Percent of those who Shop Around are Finding Better Deals Online The essential thing to keep in mind while buying something as expensive as diamond jewelry and engagement ringsoff of the internet is to thoroughly analyze the product that you're looking to acquire.Her fashionable hair cuts, designer outfits, and ultra-chic high heels have made her the most talked about celeb mommy.To learn more about creating an "underdog" environment within your organization go to FreePower2PerformAnalysis.There can also be some expired coupons so it is important to go through the complete details. abercrombie cyber monday sale 2013 It has been stated by the sources that this camcorder comes with integrated memory of 64 MB and a user can insert SD card for expanding the storage capacity of the camera till 2 GB.
We advocate that you select to Buying as much as 4star reviews from the Most costeffective "Flip Video Underwater Case for Select Flip Ultra Flip" Store.
But now it's available for all to see, including the embarrassing moment where James Schugel pesters a guy who can't speak English over the phone.
For the kitchen, cookware sets, standing mixers, and juicers will all be on sale, along with comforters and bedding sets.
"Everyone goes over to Buffalo or whatever on Black Friday, so it's good that they're bring it here," said Julia McCoy, who planned to take advantage of the sales.Black Friday, the Friday after Thanksgiving, is traditionally known as the single best day to get the greatest instore deals resulting in hectic, early morning, mad rushes to large name brand stores.This event has run smooth since half a decade and it is not stopping.Black Friday Sales Steve Madden Men Nommadd LaceUp Boot,Black Leather,13 M US Special Price Click This Link Below!!Boulder businesses jump on Cyber Monday wagon hollister cyber monday hours Martines, 37, who works for the business networking site LinkedIn, bought some iPad speakers at Brookstone, a gift certificate for his wife at a maternity store and several items at Apple's online store.
The promotion follows a weekend that saw strong sales online.
2) These deals selected to be showcased on Tom's wasn't found months ago.
Drake says the hottest online buys this Monday for adults are Ereaders such as the Amazon Kindle.
What do most women do after a shower? They apply lab-created skin care products that contain alcohol and other drying agents.Young, school-aged youngsters are commonly confronted with insects and parasites due to their frequent, close contact with others.All you need to do in order to produce this easy homemade all natural face cleaner and toner is simply take one cup of water, 2 basil leaves, three sliced of your lemon, and something tea bag of chamomile tea and bring them to your boil in a small sauce pan on your stove.Consider your skin type and choose a face wash based this.Whether you have normal, oily, combination or a sensitive skin type, there's a cleanser to suit your skin. louis vuitton cyber monday deals Be smart this year as much as you may enjoy the thrill of the holiday shopping season Thanksgiving Day Sales and Black Friday sales typically bring out more than just "hungry for deals" shoppers they also bring out the unsavory individuals bent on grabbing their own loots such as pursesnatchers and shopping bag thieves.In fact, consumers generally spend more online as Christmas and Hanukkah draw nearer." Although no weapon was found, she was arrested and charged with disorderly conduct.Free shipping is also available through most retailers online. I think they should be outlawed in retail stores in every state that borders an ocean or the Gulf.Stay updated with current on goings with 'Shahram Shahramian'China Airlines Travel in Hostile and Soothing AmbianceKumarakom Lake Resort: A Resort Worthy Of Kerala Indeed!Beautify your interiors with breathtaking rugs of leading service providersSpend Amazing Moments Filled With Fun And Relaxation At The Ginger Tree Beach ResortHow Wedding Planners Add Stars to the Auspicious Event?Hotel Hilltone Mount Abu: The Pride Of MountainsProtect your expensive television with best quality wall mountsHaving A Home Business Can Now Be A Reality And Not A DreamTravel Guide 101?First Lady Hillary Clinton to be honored for contributions to Children's Health ProgramsThis is an incredible opportunity to own real designer fashions at a small percent of their retail cost.Long under British rule but now part of China, the city is famous for everything from snake soup to egg tarts, and serves up an interesting mix of Cantonese delicacies and Western favorites. cyber monday toms How much fish should my baby eat? For babies just starting out on solids, I recommend about 2 ounces of wild salmon per week.Just tell us what your idea is all about for your business mobile apps and will show you how we develop them based on what you want, be it for android or iphone or both.What more, even India and CSK skipper MS Dhoni too is busy cracked jokes at the expense of Jadeja.About 30,000 tourist hikers, mostly Americans and Europeans, travel the mountainous rocky paths every year. Of these inquiries, the one that cost the most and drew the most attention was centered on whether Palin inappropriately fired the state's director of public safety.hoodies: bape, bbc, lrg, ed hardy, christian audigier, kidrobot, artful dodger, polo, locaste, 10 Deep, coogi, evisu. north face cyber monday Torex Retail's product and solution set spans a diverse set of retail segments as well as the petroleum and convenience sector and with over 6,000 customer relationships, including Tesco, Woolworth, Selfridges, Shell and Argos, the company has earned a leading reputation among retailers.The first is going to be less since it includes factory-made models, since the second consists in hand-made extravagant shirts.
Gemmoopay
عضو جديد
عضو جديد
 
مشاركات: 82
اشترك في: السبت ديسمبر 07, 2013 8:48 am
مكان: Marshall Islands
الجتس: أنثى
الشهادة الثانوية: ?????
الجامعة: ????? ????
الكلية: ??????? ???????????
المرحلة الدراسية: ماجستير
الاختصاص: شبكات و نظم

Get Little Methods above cyber monday deals shopping in the

مشاركة غير مقروءةبواسطة Gemmoopay » السبت ديسمبر 07, 2013 7:59 pm

"Once customers are in our stores, they ours to lose," he told investors Wednesday.Amazon, Target, and Walmart began their big online sales on Sunday this year.With essays on topics ranging from farmer's markets to proper proportions, the book includes more than 125 original recipes from Dr. Newman's Own is donating some of its money to help out the people in need in other countries.The design of cheap toms shoes has drawn on the traditional style of the shoes in Argentina, which is made of the cotton cloth and canvas.Cependant Nanmoins Nanmoins , toms chaussures IL NE SERA qu'une Partie raison Au fait Employeurs habituellement Soutien coule compenser le Cot personnel payeur par Leur part Avec en plus de Ne Pas Tout Bientre polices d'assurance au Texas, toms chaussures Vous Serez Ncessaire et passeur spcifie Lis la sant xigences .Shop in style with these whimsical bags, which come in a variety of chic patterns with natural and floral themes. abercrombie cyber monday sale To be sure, Cyber Monday hasn always been the biggest online shopping day.
Cyber Monday has become Black Friday's Web counterpart, with online retailers offering steep discounts and pushing more units than on any other day of the year.
Brands would get access to free advertising thanks to consumer's news feeds.
It isn't only turkey that people look forward to when Thanksgiving arrives.
In New York, crowds reportedly looted a clothing store in Soho.Earlier reports had indicated that feelings of financial insecurity could overwhelm the Christmas giving spirit, pressuring Canadians to be more frugal holiday shoppers this season.Canadian consumers are adopting the trend, in part by shopping at sites south of the border that ship across the border, and a growing number of Canadian retailers are realizing they need to offer similar promotions to keep their customers.This Most costeffective "Kodak PlaySport (Zx3) HD Waterproof Pocket Video Camera" store that serves very good. hollister cyber monday 2013 piece of the holiday pie is growing every day, and all the key dates are growing with it, said Forrester Research analyst Sucharita Mulpuru.
shamgarin case you all didnt notice, the BEST DEAL ON THIS PLANET ON BLACK FRIDAY was the deal where you didnt buy anything.
There is nothing (and I mean nothing) that I want/need/crave/desire enough to stand in line with a bunch of total strangers who may or may not have showered recently to buy.
As a result, the period between Thanksgiving and Cyber Monday has become busy for online shopping as well.
You might be reluctant to drink as much water as you should when you're on the road, because it causes you to have to stop to go to the bathroom too often.There are really many various sorts face washes about the market today, and there is practically one for every different skin type.After a month of use, I can honestly state my skin is feeling like silk.Cleaning your face before shaving also give you much better results and gives you a much closer shave with less irritation. louis vuitton cyber monday In fact, most say that shopping on Cyber Monday is more convenient than Black Friday, with 40 percent asserting that Cyber Monday simply has more attractive deals.Ziftr, a recently added component to FreePriceAlerts, tracks shopping trends and prices for users.Experts suggest shoppers take precautions before Cyber MondayThirtyfive percent of those surveyed said they will use debit cards most often for holiday shopping, while 33 percent favor credit cards. Tying in with the music video All Fired Up we are trying to bring in a lot of leather, so things like leather wrist bands etc just to rock it up a bit.After five years with no success, the Auckland couple sought medical help and were told they couldn't have children naturally.BlatchGeib, 41, said doing so wouldn't be tantamount to giving her girls a green light to have sex."Giving the vaccine goes with a conversation.If every photo of her makes her look like a supermodelor even a nerdybutcute girl next doorthe chances of her being legit are slim to none, Spira says."Your ego may try to convince you she's real, but goodlooking women don't spend a lot of time contacting strange men online." toms cyber monday sale Cervelli said he consulted Biogenesis for a foot injury, but didn't receive any treatment."We'll let MLB handle everything and we don't really have a comment," Yankees manager Joe Girardi said after a 43 win over Cleveland.The health, education and behavior of children from single parent families will be adversely impacted by the absence of a parent.India's innings was interrupted twice, the batsmen fell behind in the scoring rate before they realised, and lost wickets in panic.And who'll be in the Phase 2 hat? Basically, the four Leinster and Munster semifinal losers, paired on crossprovincial lines. Basso will also have mitigated memories of the Stelvio, for different reasons: the favourite for overall victory as the 2005 Giro left the Dolomites and headed for the Alps, the Italian succumbed to a deadly cocktail of stomach troubles and the Stelvio intestinal contortions to lose 42 minutes and all hope of overall glory.It is now a matter of fashion that most youth basketball uniforms consist of wideshouldered vests and oversized shorts. north face cyber monday Different sections of mens and womens designer clothes are affluent with a wide array of fabrics, colors, shapes and patterns.The additional compliment of shampoo, conditioner and health supplements are a cost one would most likely incur anyway.
Gemmoopay
عضو جديد
عضو جديد
 
مشاركات: 82
اشترك في: السبت ديسمبر 07, 2013 8:48 am
مكان: Marshall Islands
الجتس: أنثى
الشهادة الثانوية: ?????
الجامعة: ????? ????
الكلية: ??????? ???????????
المرحلة الدراسية: ماجستير
الاختصاص: شبكات و نظم


العودة إلى البرمجة 2

الموجودون الآن

المستخدمون المتصفحون لهذا المنتدى: لا يوجد أعضاء مسجلين متصلين و 1 زائر