dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
|
2
(1) |
3
(4) |
4
(1) |
|
5
|
6
|
7
|
8
(1) |
9
(2) |
10
|
11
(1) |
|
12
(1) |
13
|
14
(3) |
15
|
16
|
17
(2) |
18
|
|
19
|
20
|
21
(1) |
22
|
23
|
24
|
25
|
|
26
(1) |
27
(1) |
28
(2) |
29
(1) |
30
|
|
|
|
From: Franco B. <fbr...@gm...> - 2009-04-03 13:44:20
|
Fibonacci
For each of two posted cases, try the C code below:
/* code begin */
#include <stdio.h>
#include <conio.h>
int main()
{
const int
FIBO_SIZE = 100;
double
a = 0,
b = 1,
c,
fibonacci[FIBO_SIZE];
int
d,
i;
printf("\n\n First case\n");
/* first case */
while (b < 10)
{
printf("%3.0f\n", b);
c = a + b;
a = b;
b = c;
}
printf("\n\n Press a key to run Second case");
getch();
printf("\n Second case\n");
/* returning to initial values, to the second answer */
a = 0;
b = 1;
for (i = 0; i < FIBO_SIZE - 1; ++i)
{
c = a + b;
a = b;
b = c;
d = i + 1;
*(fibonacci + i) = a;
*(fibonacci + d) = b;
printf("%3d %25.0f\n", i, *(fibonacci + i));
}
printf("%3d %25.0f\n\n\n Press a key to exit ", d, *(fibonacci + d));
getch();
return 0;
}
/* code end */
I hope it helps.
Franco
2009/4/3 <dev...@li...>
> Send Dev-cpp-users mailing list submissions to
> dev...@li...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> or, via email, send a message with subject or body 'help' to
> dev...@li...
>
> You can reach the person managing the list at
> dev...@li...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dev-cpp-users digest..."
>
> Today's Topics:
>
> 1. Re: Dev-cpp-users Digest, Vol 35, Issue 1 (edison ibanda)
> 2. Re: Dev-cpp-users Digest, Vol 35, Issue 1 (Per Westermark)
> 3. Re: Dev-cpp-users Digest, Vol 35, Issue 1 (rodolfo d'Ettorre)
>
>
> ---------- Mensagem encaminhada ----------
> From: edison ibanda <edi...@gm...>
> To: dev...@li...
> Date: Fri, 3 Apr 2009 08:41:16 +0300
> Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 35, Issue 1
> Hi over there,
> Can someone over there help me write a program to display a series of 100
> fibonachi numbers in an array.With each number against its index?
> Will be greartful for your help.
> Edison.
>
> On Thu, Apr 2, 2009 at 3:04 PM, <
> dev...@li...> wrote:
>
>> Send Dev-cpp-users mailing list submissions to
>> dev...@li...
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>> or, via email, send a message with subject or body 'help' to
>> dev...@li...
>>
>> You can reach the person managing the list at
>> dev...@li...
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Dev-cpp-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: dev-c++ & postgresql 8.3.7 (Windows XP) (Reid Thompson)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 01 Apr 2009 22:47:29 -0400
>> From: Reid Thompson <rei...@at...>
>> Subject: Re: [Dev-C++] dev-c++ & postgresql 8.3.7 (Windows XP)
>> To: Osvaldo Demierre <osv...@ya...>
>> Cc: dev...@li...
>> Message-ID: <49D...@at...>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Osvaldo Demierre wrote:
>> > Hello.
>> > I work on Windows XP and I am trying run a program "c" compiled under
>> > DEP-C++ 4.9.9.2, to access POSTGRESQL 8.3.7.
>> > The program is compiled/linked OK, but don't work.
>> > Anyone can help me? (the source is below...)
>> > Thank in advance...
>> >
>> what error are you getting.
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Dev-cpp-users mailing list
>> Dev...@li...
>> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
>> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>>
>>
>> End of Dev-cpp-users Digest, Vol 35, Issue 1
>> ********************************************
>>
>
>
>
> ---------- Mensagem encaminhada ----------
> From: Per Westermark <pw...@ia...>
> To: edison ibanda <edi...@gm...>
> Date: Fri, 3 Apr 2009 10:12:53 +0200 (CEST)
> Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 35, Issue 1
> Would your school teacher also be grateful for our help?
>
> I would think that the code skills needed for this project would already
> have been covered during the classes. It is just a question of combining
> the building blocks into something meaningful.
>
> By the way - don't reply to the daily summary without first removing all
> the noise.
>
> /pwm
>
> On Fri, 3 Apr 2009, edison ibanda wrote:
>
> > Hi over there,
> > Can someone over there help me write a program to display a series of
> 100
> > fibonachi numbers in an array.With each number against its index?
> > Will be greartful for your help.
> > Edison.
>
>
>
>
>
>
> ---------- Mensagem encaminhada ----------
> From: rodolfo d'Ettorre <rod...@ho...>
> To: <pw...@ia...>, <edi...@gm...>
> Date: Fri, 3 Apr 2009 10:47:47 +0000
> Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 35, Issue 1
>
> Fibonacci?? I have got an example:
>
> ... a, b = 0, 1
>
> >>> while b < 10:
>
> ... print b
>
> ... a, b = b, a+b
>
>
> Ohhh, just one problem, it is in Python, but anybody can translate it in C.
>
> Enjoy
>
> Rodolfo d'Ettorre
>
>
> > Date: Fri, 3 Apr 2009 10:12:53 +0200
> > From: pw...@ia...
> > To: edi...@gm...
> > CC: dev...@li...
> > Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 35, Issue 1
> >
> > Would your school teacher also be grateful for our help?
> >
> > I would think that the code skills needed for this project would already
> > have been covered during the classes. It is just a question of combining
> > the building blocks into something meaningful.
> >
> > By the way - don't reply to the daily summary without first removing all
> > the noise.
> >
> > /pwm
> >
> > On Fri, 3 Apr 2009, edison ibanda wrote:
> >
> >> Hi over there,
> >> Can someone over there help me write a program to display a series of
> 100
> >> fibonachi numbers in an array.With each number against its index?
> >> Will be greartful for your help.
> >> Edison.
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
> _________________________________________________________________
> Looking to change your car this year? Find car news, reviews and more
>
> http://a.ninemsn.com.au/b.aspx?URL=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttp%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
>
|
|
From: rodolfo d'E. <rod...@ho...> - 2009-04-03 10:47:50
|
Fibonacci?? I have got an example:
... a, b = 0, 1
>>> while b < 10:
... print b
... a, b = b, a+b
Ohhh, just one problem, it is in Python, but anybody can translate it in C.
Enjoy
Rodolfo d'Ettorre
> Date: Fri, 3 Apr 2009 10:12:53 +0200
> From: pw...@ia...
> To: edi...@gm...
> CC: dev...@li...
> Subject: Re: [Dev-C++] Dev-cpp-users Digest, Vol 35, Issue 1
>
> Would your school teacher also be grateful for our help?
>
> I would think that the code skills needed for this project would already
> have been covered during the classes. It is just a question of combining
> the building blocks into something meaningful.
>
> By the way - don't reply to the daily summary without first removing all
> the noise.
>
> /pwm
>
> On Fri, 3 Apr 2009, edison ibanda wrote:
>
>> Hi over there,
>> Can someone over there help me write a program to display a series of 100
>> fibonachi numbers in an array.With each number against its index?
>> Will be greartful for your help.
>> Edison.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Looking to change your car this year? Find car news, reviews and more
http://a.ninemsn.com.au/b.aspx?URL=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttp%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
|
|
From: Per W. <pw...@ia...> - 2009-04-03 08:13:11
|
Would your school teacher also be grateful for our help? I would think that the code skills needed for this project would already have been covered during the classes. It is just a question of combining the building blocks into something meaningful. By the way - don't reply to the daily summary without first removing all the noise. /pwm On Fri, 3 Apr 2009, edison ibanda wrote: > Hi over there, > Can someone over there help me write a program to display a series of 100 > fibonachi numbers in an array.With each number against its index? > Will be greartful for your help. > Edison. |
|
From: edison i. <edi...@gm...> - 2009-04-03 05:41:23
|
Hi over there, Can someone over there help me write a program to display a series of 100 fibonachi numbers in an array.With each number against its index? Will be greartful for your help. Edison. On Thu, Apr 2, 2009 at 3:04 PM, <dev...@li... > wrote: > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Re: dev-c++ & postgresql 8.3.7 (Windows XP) (Reid Thompson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 01 Apr 2009 22:47:29 -0400 > From: Reid Thompson <rei...@at...> > Subject: Re: [Dev-C++] dev-c++ & postgresql 8.3.7 (Windows XP) > To: Osvaldo Demierre <osv...@ya...> > Cc: dev...@li... > Message-ID: <49D...@at...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Osvaldo Demierre wrote: > > Hello. > > I work on Windows XP and I am trying run a program "c" compiled under > > DEP-C++ 4.9.9.2, to access POSTGRESQL 8.3.7. > > The program is compiled/linked OK, but don't work. > > Anyone can help me? (the source is below...) > > Thank in advance... > > > what error are you getting. > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > > > ------------------------------ > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > End of Dev-cpp-users Digest, Vol 35, Issue 1 > ******************************************** > |