ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

ساختار با 2 فیلد

 
Post new topic   Reply to topic    ParsX.com Forum Index -> C/C++ Programming
View previous topic :: View next topic  
Author Message
nei
مهمون يكي دو روزه


Joined: 09 Dec 2006
Posts: 31

PostPosted: Fri Feb 02, 2007 3:14 pm    Post subject: ساختار با 2 فیلد Reply with quote

خواهش میکنم هر کی می تو نه کمک کنه
این ترمم به جواب این سوالا وابسته است Crying or Very sad
برنامه ای بنویسید که در آن یک ساختار با دو فیلد تعریف شده باشد .یک فیلد ان یک رشته و فیلد دیگر آن یک آرایه از رشته ها باشد .سپس متغیری از نوع این ساختار تعریف کنید
Back to top
vahid
بي تو هرگز


Joined: 26 Nov 2004
Posts: 3067
Location: Tehran

PostPosted: Sat Feb 03, 2007 8:52 am    Post subject: Reply with quote


struct testt{ char str1[50];
   char str2[10][50]}var1;
Back to top
nei
مهمون يكي دو روزه


Joined: 09 Dec 2006
Posts: 31

PostPosted: Sun Feb 04, 2007 12:25 pm    Post subject: Reply with quote

Wink ممنون آقا وحید
اگه میشه یه نگاه به بقیه سوالامم بنداز.تا هجدهم فقط وقت دارم.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> C/C++ Programming All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum