Re: [c-prog] Windows Thumbnail Icon

2008-07-22 Thread scare
No, I do not want to retrieve the thumbnail icon for image file. I want to retrieve the file type thumbnail icon like cpp,header, zip, doc, txt file etc. that windows file explorer shows when we select thumbnail view. Thanks for reply. --- On Mon, 7/21/08, Thomas Hruska [EMAIL PROTECTED]

Re: [c-prog] strcpy() crashed !!

2008-07-22 Thread Raj jyotee DuttaPhookan
Hi Tom Katt, let me try if I can give an explanation to this problem of yours. In your code, please refer to the following lines: char *s1=hello; char *s2=hi; Here s1 and s2 are pointers to characters and through the above codes, s1 is assigned the base address of the character

[c-prog] can some one clarify doubts on memory segments !!

2008-07-22 Thread TOM KATT
Hi, In the below program i have made a comment next to each variable declaration. Can some one correct me if theer are some mistakes? also please let me knwo if my understanding on the below memory segments is right ? Code: where the program is stored along with some const variables. Data:

Re: [c-prog] strcpy() crashed !!

2008-07-22 Thread Paul Herring
On Tue, Jul 22, 2008 at 6:09 AM, Raj jyotee DuttaPhookan [EMAIL PROTECTED] wrote: Now the problem lies in this incrementing of the base address of s1 and s2. Since the base address of s1 and s2 are lost, the identity is lost. And hence the program crashes. This has nothing to do with why

Re: [c-prog] can some one clarify doubts on memory segments !!

2008-07-22 Thread Paul Herring
On Tue, Jul 22, 2008 at 9:30 AM, TOM KATT [EMAIL PROTECTED] wrote: Hi, In the below program i have made a comment next to each variable declaration. Can some one correct me if theer are some mistakes? The only mistake is the assumption that there are 'segments' in the first place. C and C++

[c-prog] printf

2008-07-22 Thread kathir resh
since printf is a function it returns the no of characters it prints..how to view how much it returns instead of using nested printf - Share files, take polls, and make new friends - all under one roof. Click here. [Non-text portions of this message

Re: [c-prog] printf

2008-07-22 Thread Paul Herring
On Tue, Jul 22, 2008 at 12:19 PM, kathir resh [EMAIL PROTECTED] wrote: since printf is a function it returns the no of characters it prints..how to view how much it returns instead of using nested printf Store the return value in an int, and use a subsequent printf to 'view' it: int i =

[c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Akash Makhija
Hi Please tell me what are access modifiers in C ? and also types of access modifiers? -- Thanks and Regards Akash [Non-text portions of this message have been removed]

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Brett McCoy
On Tue, Jul 22, 2008 at 7:29 AM, Akash Makhija [EMAIL PROTECTED] wrote: Please tell me what are access modifiers in C ? and also types of access modifiers? In C? Or do you mean C++? Did you try searching Google on this? -- Brett In

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Akash Makhija
Ya in C i Google it but still i am unable to find the answer On Tue, Jul 22, 2008 at 5:08 PM, Brett McCoy [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 7:29 AM, Akash Makhija [EMAIL PROTECTED] akash.makhija84%40gmail.com wrote: Please tell me what are access modifiers in C ?

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Brett McCoy
On Tue, Jul 22, 2008 at 7:40 AM, Akash Makhija [EMAIL PROTECTED] wrote: Ya in C i Google it but still i am unable to find the answer That should tell you something... In C++, we have public, private, protected access modifiers for classes... C does not use this concept. -- Brett

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Akash Makhija
Public private and protected in C++ are* access specifiers* I am asking about *Access Modifiers in C * On Tue, Jul 22, 2008 at 5:17 PM, Brett McCoy [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 7:40 AM, Akash Makhija [EMAIL PROTECTED] akash.makhija84%40gmail.com wrote: Ya in C i

[c-prog] anybody can help me solve tis prob?i reali duno how to do it...plz..

2008-07-22 Thread lim cuiting
Conditional Statements(Useif or else). The owner of FIZIrestaurant distributes brochures to his customers informing discounts offeredon selected menu for the month of April.To be eligible for the discount,acustomer must orded any three items of the menu.The discounts for each item inthe menu

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Brett McCoy
On Tue, Jul 22, 2008 at 7:49 AM, Akash Makhija [EMAIL PROTECTED] wrote: Public private and protected in C++ are* access specifiers* I am asking about *Access Modifiers in C We're talking about the same thing. C does not use access modifiers or specifiers for data structures. Google is

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Lim Cuiting
i not very understand wat u was asking to me... sorry... --- On Tue, 7/22/08, Akash Makhija [EMAIL PROTECTED] wrote: From: Akash Makhija [EMAIL PROTECTED] Subject: Re: [c-prog] What are Access Modifiers in C ??? To: c-prog@yahoogroups.com Date: Tuesday, July 22, 2008, 4:40 AM

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Akash Makhija
My Question is what are Access Modifiers in C? It is totally different from Access Specifier(which is Public, Private, Protected) that is used in C++. On Tue, Jul 22, 2008 at 5:27 PM, Lim Cuiting [EMAIL PROTECTED] wrote: i not very understand wat u was asking to me... sorry... --- On

Re: [c-prog] What are Access Modifiers in C ???

2008-07-22 Thread Brett McCoy
On Tue, Jul 22, 2008 at 8:15 AM, Akash Makhija [EMAIL PROTECTED] wrote: My Question is what are Access Modifiers in C? It is totally different from Access Specifier(which is Public, Private, Protected) that is used in C++. I think you'll find the terms 'access modifier' and 'access

[c-prog] Re: What are Access Modifiers in C ???

2008-07-22 Thread bart_pengyou
--- In c-prog@yahoogroups.com, Brett McCoy [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 8:15 AM, Akash Makhija [EMAIL PROTECTED] wrote: My Question is what are Access Modifiers in C? It is totally different from Access Specifier(which is Public, Private, Protected) that is used

Re: [c-prog] Re: What are Access Modifiers in C ???

2008-07-22 Thread Paul Herring
On Tue, Jul 22, 2008 at 2:31 PM, bart_pengyou [EMAIL PROTECTED] wrote: I'm quite sure C language has no 'access modifiers' or 'access specifiers' because the C language is not an Object-oriented language. 'Access modifiers' and 'access specifiers' are language implementations of the concept

Re: [c-prog] Re: What are Access Modifiers in C ???

2008-07-22 Thread Bala L
'static' encapsulates variables to file scope. 'auto' encapsulates variables to block scope...   To be more precise,   The scope of a variable is 1. The area of the program where that variable is valid. 2. The life span of that variable.   static used as global varable encapsulates variables to

[c-prog] help me and teach me do~

2008-07-22 Thread Dynva Dave
Repeat the Problem before, calculating the sum of every nth integer, beginning with the value assigned to nstart(i.e. for i = nstart, nstart + n, nstart +2*n, nstart + 3*n, etc). continue the looping process for all values of I that do not exceed nstop. Send instant messages to your online

Re: [c-prog] help me and teach me do~

2008-07-22 Thread Tyler Littlefield
] __ NOD32 3289 (20080722) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com [Non-text portions of this message have been removed]

Re: [c-prog] Windows Thumbnail Icon

2008-07-22 Thread Thomas Hruska
scare wrote: No, I do not want to retrieve the thumbnail icon for image file. I want to retrieve the file type thumbnail icon like cpp,header, zip, doc, txt file etc. that windows file explorer shows when we select thumbnail view. Thanks for reply. You mean icon view. Thumbnail view is a

Re: [c-prog] anybody can help me solve tis prob?i reali duno how to do it...plz..

2008-07-22 Thread Raj jyotee DuttaPhookan
Dear Lim, it seems you have missed out the table which shows the discounts for each item. I would suggest you send the table. Also I would advise you to at least try making the flowchart and send to this group as a M.S Visio file. I can tell you that this group does not do homework for

Re: [c-prog] printf

2008-07-22 Thread Raj jyotee DuttaPhookan
As I can count, Hello world has 11 characters including the gap between Hello and world. But why does it return 12 characters? Paul Herring [EMAIL PROTECTED] wrote: On Tue, Jul 22, 2008 at 12:19 PM, kathir resh [EMAIL PROTECTED] wrote: since printf is a function it returns the no of