Re: [c-prog] Re: need help

2007-11-23 Thread ed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nico Heinze wrote: --- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote: Avik wrote: clear/flush your standard input buffer before you take a an input from standard input device (i.e. keyboard). use fflush(stdin) before scanf.

[c-prog] Visual C++ Express 2008 + Dark GDK

2007-11-23 Thread Brett McCoy
I hadn't seen anyone post about this yet, but on Nov 20, Microsoft released Visual Studio C++ Express, an update to their Visual C++ 2005 Express product. I am glad to see they now include the Windows SDK with VC++ Express by default now (as opposed to making you download it separately). Nice

[c-prog] Finding eigenvectors

2007-11-23 Thread Saba Tehrani
Hi everybody I want to find the eigenvalues and eigenvectors of a 4by4 matrix (this matrix is equal to it's inverse). Can anybody guid me how I can start? I searched alot but I didn't find anything for this kind of matrix. Cheers Saba - Get

回复: Re: [c-prog] HELP!Please help me

2007-11-23 Thread 赵鹏飞
Thank you ,Rick and Mr Hruska. I do as you told me and I have solved the problem.I know I wrote the wrong type when I print The value of ACCOUNT. - 雅虎邮箱,终生伙伴! [Non-text portions of this message have been removed]

Re: [c-prog] Finding eigenvectors

2007-11-23 Thread Thomas Hruska
Saba Tehrani wrote: Hi everybody I want to find the eigenvalues and eigenvectors of a 4by4 matrix (this matrix is equal to it's inverse). Can anybody guid me how I can start? I searched alot but I didn't find anything for this kind of matrix. Cheers Saba Really? A search

Re: [c-prog] hi

2007-11-23 Thread ed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Herring wrote: On Nov 23, 2007 1:48 PM, Michael Sullivan [EMAIL PROTECTED] wrote: On Fri, 2007-11-23 at 06:24 +, sivag9 wrote: hi everybody, i have one qs fun(int i) { printf(%d,i) fun(i); } what the o/p and what happend to the

Re: [c-prog] hi

2007-11-23 Thread Paul Herring
On Nov 23, 2007 1:48 PM, Michael Sullivan [EMAIL PROTECTED] wrote: On Fri, 2007-11-23 at 06:24 +, sivag9 wrote: hi everybody, i have one qs fun(int i) { printf(%d,i) fun(i); } what the o/p and what happend to the stack. Well, for one thing, this will eat up all your

[c-prog] Re: need help

2007-11-23 Thread Nico Heinze
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote: Avik wrote: clear/flush your standard input buffer before you take a an input from standard input device (i.e. keyboard). use fflush(stdin) before scanf. e.g. scanf(%d, y); fflush(stdin); scanf(%c, z);

Re: [c-prog] need help

2007-11-23 Thread Thomas Hruska
Avik wrote: clear/flush your standard input buffer before you take a an input from standard input device (i.e. keyboard). use fflush(stdin) before scanf. e.g. scanf(%d, y); fflush(stdin); scanf(%c, z); fflush(stdin) is NON-ANSI Standard behavior. Besides...the input data could

Re: [c-prog] hi

2007-11-23 Thread Sandeep Setty
This will execute till stack overflows! And it prints the value of i of every occurance of i till the stack overflow. - Original Message From: sivag9 [EMAIL PROTECTED] To: c-prog@yahoogroups.com Sent: Friday, 23 November, 2007 11:54:26 AM Subject: [c-prog] hi hi everybody, i

Re: [c-prog] hi

2007-11-23 Thread Michael Sullivan
On Fri, 2007-11-23 at 06:24 +, sivag9 wrote: hi everybody, i have one qs fun(int i) { printf(%d,i) fun(i); } what the o/p and what happend to the stack. Well, for one thing, this will eat up all your computer memory...

Re: [c-prog] need help

2007-11-23 Thread Avik
clear/flush your standard input buffer before you take a an input from standard input device (i.e. keyboard). use fflush(stdin) before scanf. e.g. scanf(%d, y); fflush(stdin); scanf(%c, z); - Original Message From: naveen babu [EMAIL PROTECTED] To: c-prog@yahoogroups.com Sent:

Re: [c-prog] HELP!Please help me

2007-11-23 Thread ~Rick
At Thursday 11/22/2007 09:46 AM, you wrote: Hi,everyone .When I try to change decimal number into other type numbers. I write it like as follow: int main() { int integer; int a[100] = {0}; static double account = 0; int i ; double ii = 0; double number = 0; double digit;