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
(7) |
2
(15) |
3
(3) |
4
(9) |
5
(7) |
6
(12) |
|
7
(18) |
8
(14) |
9
(11) |
10
(6) |
11
(16) |
12
(14) |
13
(7) |
|
14
|
15
|
16
(2) |
17
(3) |
18
(5) |
19
(3) |
20
(1) |
|
21
(3) |
22
(8) |
23
(14) |
24
(9) |
25
(8) |
26
(4) |
27
(2) |
|
28
(8) |
29
(1) |
30
(4) |
|
|
|
|
|
From: Alexsandro M. <mei...@gm...> - 2004-11-08 23:57:15
|
Thanks, but forgetting the colours is it possible to create dynamically the objects of C++ Builder according to a varied number of syllables?? Thanks in advance!! On Mon, 8 Nov 2004 23:44:50 +0100 (CET), Per Westermark <pw...@ia...> wrote: > A normal edit control can't handle text with attributes, i.e. your text > with varying colors in it. >=20 > You must use a rich text control instead. >=20 > Alas, I don't have any link to give you about how to use it :( >=20 > /Per W >=20 >=20 >=20 > On Mon, 8 Nov 2004, Alexsandro Meireles wrote: >=20 > > Hi C++ users, > > > > Please! I need to know how to add dynamically an Edit Box on C++ > > Builder 5. The problem is the following: > > > > I have a program made in Dev-C++ which separate the syllables from a > > word. Ex.: I give the word input "absoluto" and the program gives me > > [aB.so.lu.tU]. The problem is that I want to put every single syllable > > of the word in a C++ Builder 5.0 Edit Box. > > > > For this example I will have 4 s=EDlabas inside an Edit Box with > > different colours according to its word stress. > > > > I have a counter who count the number of syllables. I cannot manage > > how to add dynamically these Edit Boxes, cause in my language > > (Portuguese) the number of syllables in a word varies widely. > > > > Thanks in advance!!! > > > > -- > > Alexsandro Meireles (Lab. of Phonetics and Psicolinguistics >=20 >=20 --=20 Alexsandro Meireles |
|
From: Per W. <pw...@ia...> - 2004-11-08 22:55:25
|
Do you want absolute time or relative time in ms resolution? For Win32, you can use GetTickCount() that gives number of ms since the machine booted. It overflows every 49.7 days. However, it doesn't tick every ms. For a workstation I think it change value every 32 ms. I haven't bothered to test, but I think the tick interval depends on the length of time strata used by the windows installation for task switching, i.e. it will vary between workstation and server installation. For better time intervals you can use the performance counters in windows - they count time in clock cycles of the processor. On a unix machine you can use gettimeofday() to get absolute time down to us resolution, but for this function too, the time is of course not stepped every microsecond. Note that this function - as compared to the Win32 GetTickCount() function - takes some time to call, so a program making large amount of calls will get slowed down. /Per W On Mon, 8 Nov 2004, Rob Lawless wrote: > Hey folks just reading the <ctime> documentation which can only specify a mimimun time in seconds...does anyone know how to calulate a time interval in milliseconds? > regards > Rob |
|
From: Per W. <pw...@ia...> - 2004-11-08 22:45:16
|
A normal edit control can't handle text with attributes, i.e. your text with varying colors in it. You must use a rich text control instead. Alas, I don't have any link to give you about how to use it :( /Per W On Mon, 8 Nov 2004, Alexsandro Meireles wrote: > Hi C++ users, > > Please! I need to know how to add dynamically an Edit Box on C++ > Builder 5. The problem is the following: > > I have a program made in Dev-C++ which separate the syllables from a > word. Ex.: I give the word input "absoluto" and the program gives me > [aB.so.lu.tU]. The problem is that I want to put every single syllable > of the word in a C++ Builder 5.0 Edit Box. > > For this example I will have 4 s=EDlabas inside an Edit Box with > different colours according to its word stress. > > I have a counter who count the number of syllables. I cannot manage > how to add dynamically these Edit Boxes, cause in my language > (Portuguese) the number of syllables in a word varies widely. > > Thanks in advance!!! > > -- > Alexsandro Meireles (Lab. of Phonetics and Psicolinguistics |
|
From: Rob L. <rob...@nt...> - 2004-11-08 22:11:52
|
Hey folks just reading the <ctime> documentation which can only specify = a mimimun time in seconds...does anyone know how to calulate a time = interval in milliseconds? regards Rob |
|
From: Bo F. <bo...@ma...> - 2004-11-08 20:08:21
|
Hi. I've downloaded a source example: http://www.gametutorials.com/download/Networking/MultipleHosts_NW.zip and I'm trying to get the server to run. This is the compiler error message: 65 c:\docume~1\sletin~1\skrive~1\multip~1\server\server.cpp C:\DEV-C_~1\Include\winsock2.h:46: unbalanced `#endif' How do I fix this? Thx. |
|
From: Alexsandro M. <mei...@gm...> - 2004-11-08 20:02:00
|
Hi C++ users, Please! I need to know how to add dynamically an Edit Box on C++ Builder 5. The problem is the following: I have a program made in Dev-C++ which separate the syllables from a word. Ex.: I give the word input "absoluto" and the program gives me [aB.so.lu.tU]. The problem is that I want to put every single syllable of the word in a C++ Builder 5.0 Edit Box. For this example I will have 4 s=EDlabas inside an Edit Box with different colours according to its word stress. I have a counter who count the number of syllables. I cannot manage how to add dynamically these Edit Boxes, cause in my language (Portuguese) the number of syllables in a word varies widely. Thanks in advance!!! --=20 Alexsandro Meireles (Lab. of Phonetics and Psicolinguistics/Unicamp/Brazil) |
|
From: Cary H. <xen...@gm...> - 2004-11-08 14:44:54
|
Hi all, I hope this will be of some help.
By default, win2k and xp close a console(dos) window when the program
that is using it exits. In 2k, you can change the behavior of a
window to remain open once the program exits until you close it
yourself. XP, however, does not have this "feature". In my
experience, it is easiest to add the call system("pause") right before
the program terminates so that the window remains open. Another
option is to open the run command, type cmd, and open a console
window, and run the executable that way.
If you decide to go the system("pause") route, remember to add a
#include <stdlib.h> // for c
#include <cstdlib> // for c++
Good Luck!
Cary Haynie
ps. on a side note, system() should support any legal dos command,
not just pause.
On Mon, 08 Nov 2004 14:55:23 +0100, shocked <sh...@po...> wrote:
>
>
> Haim Bishop wrote:
>
> > Hello
> > I have installed Dev-C++ 4.9.9.0
> > I am using windows xp
> > When I run a program I have wrote
> > opens the dos window and then it closes.
> > How can I do that it will stay open after the
> > program ends to run.
> > Thank you.
> >
> >
>
> Hi,
>
> This problem sometimes appears in this Mlist, but AFAIK it has no
> straightforward solution
> Some workarounds I saw are
> -to put as last instruction a 'system("pause")' or a 'getchar()' or
> something similar that wait for an input
> -to place the cursor onto the last instruction and use the
> run-until-cursor debug command
>
> These are not the best, because if your code has many exit points (e.g
> in case of error) the window will be closed anyway.
>
> Hoping this help you, I say "goodbye"
>
> Andrea S. Atzeni
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> 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
>
|
|
From: Rob L. <rob...@nt...> - 2004-11-08 14:43:00
|
Hey folks I am a newbie to using the GDB debugger so please excuse me = for asking a simple question i want to put a watch point on a particular varaible e.g some int = variable..therefore i will know its run time value but the problem i have when i set a watch point it says the watch point = for the particular variable " not found in current context" can anyone explain what this means? or/and explain to me the proper = procedure to be able to set a watchpoint on a particular variable & thus = view its run time value. any help greatly appreciated & again apologies for my inexperience regards Rob |
|
From: shocked <sh...@po...> - 2004-11-08 13:54:30
|
Haim Bishop wrote:
> Hello
> I have installed Dev-C++ 4.9.9.0
> I am using windows xp
> When I run a program I have wrote
> opens the dos window and then it closes.
> How can I do that it will stay open after the
> program ends to run.
> Thank you.
>
>
Hi,
This problem sometimes appears in this Mlist, but AFAIK it has no
straightforward solution
Some workarounds I saw are
-to put as last instruction a 'system("pause")' or a 'getchar()' or
something similar that wait for an input
-to place the cursor onto the last instruction and use the
run-until-cursor debug command
These are not the best, because if your code has many exit points (e.g
in case of error) the window will be closed anyway.
Hoping this help you, I say "goodbye"
Andrea S. Atzeni
|
|
From: Pascal <p.t...@ti...> - 2004-11-08 11:09:59
|
Are you added in the main()? ---->
system("pause")
for not close directly the windows console when user make nothing.
|
|
From: Daniel K. O. <dan...@ya...> - 2004-11-08 08:19:22
|
Peter Dennis wrote: > So 0 means there are no flags? Precisely. Daniel K. O. |
|
From: Peter D. <don...@ne...> - 2004-11-08 08:03:14
|
Hi Daniel, So 0 means there are no flags? This is also from MSDN: The send <http://msdn.microsoft.com/library/en-us/winsock/winsock/send_2.asp> and recv <http://msdn.microsoft.com/library/en-us/winsock/winsock/recv_2.asp> functions both return an integer value of the number of bytes sent or received, respectively, or an error. Each function also takes the same parameters: the active socket, a char buffer, the number of bytes to send or receive, and any flags to use. From the man page: The flags parameter is the bitwise OR of zero or more of the following flags. So if you use 0 does this mean there are no flags? But if i use one of the flags such as MSG_OOB then I take it the bitwise OR of MSG_OOB is not equal to 0? For that matter is the bitwise of 0 equal to 0? Is this right? In the ballpark? Or am I still on my own planet? Thanks for your help, Peter. Daniel K. O. wrote: > Peter Dennis wrote: > >> sent = send( datasock, string, strlen( string ), 0); >> >> I understand the first 3 parameters but can someone tell me what the >> '0' is as the fourth parameter to the send function? (it is probably >> a flag but what does it do? does it mean there are no flags?) > > > > You can find Winsock documentation at MSDN; you can also Google for a > .hlp/.chm help file for off-line reference. > This is from > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/send_2.asp > : > > --- > int send( > SOCKET s, > const char* buf, > int len, > int flags > ); > > Parameters > > s > [in] Descriptor identifying a connected socket. > buf > [in] Buffer containing the data to be transmitted. > len > [in] Length of the data in buf, in bytes. > flags > [in] Indicator specifying the way in which the call is made. > > > (...) > > > The flags parameter can be used to influence the behavior of the > function beyond the options specified for the associated socket. The > semantics of this function are determined by the socket options and > the flags parameter. The latter is constructed by using the bitwise OR > operator with any of the following values. > > MSG_DONTROUTE Specifies that the data should not be subject to > routing. A Windows Sockets service provider can choose to ignore this > flag. > MSG_OOB Sends OOB data (stream-style socket such as SOCK_STREAM only. > --- > > > Daniel K. O. > > |
|
From: Daniel K. O. <dan...@ya...> - 2004-11-08 07:13:46
|
Peter Dennis wrote: > sent = send( datasock, string, strlen( string ), 0); > > I understand the first 3 parameters but can someone tell me what the > '0' is as the fourth parameter to the send function? (it is probably > a flag but what does it do? does it mean there are no flags?) You can find Winsock documentation at MSDN; you can also Google for a .hlp/.chm help file for off-line reference. This is from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/send_2.asp : --- int send( SOCKET s, const char* buf, int len, int flags ); Parameters s [in] Descriptor identifying a connected socket. buf [in] Buffer containing the data to be transmitted. len [in] Length of the data in buf, in bytes. flags [in] Indicator specifying the way in which the call is made. (...) The flags parameter can be used to influence the behavior of the function beyond the options specified for the associated socket. The semantics of this function are determined by the socket options and the flags parameter. The latter is constructed by using the bitwise OR operator with any of the following values. MSG_DONTROUTE Specifies that the data should not be subject to routing. A Windows Sockets service provider can choose to ignore this flag. MSG_OOB Sends OOB data (stream-style socket such as SOCK_STREAM only. --- Daniel K. O. |
|
From: Peter D. <don...@ne...> - 2004-11-08 06:08:44
|
Hi, In the send function as per: int send( int socket, const char *buffer, int len, int flags ); If I want to send data like the following: char* string = "hello, internet!"; int sent; sent = send( datasock, string, strlen( string ), 0); I understand the first 3 parameters but can someone tell me what the '0' is as the fourth parameter to the send function? (it is probably a flag but what does it do? does it mean there are no flags?) Many thanks, Peter. |