dev-cpp-users Mailing List for Dev-C++ (Page 3)
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
(1) |
2
(4) |
3
(4) |
4
(3) |
5
(3) |
6
(2) |
7
(6) |
|
8
(6) |
9
(2) |
10
(6) |
11
(4) |
12
(3) |
13
(5) |
14
(3) |
|
15
(4) |
16
(2) |
17
(10) |
18
(7) |
19
(1) |
20
|
21
(1) |
|
22
(1) |
23
(1) |
24
(1) |
25
(3) |
26
(2) |
27
|
28
|
|
29
|
30
|
31
|
|
|
|
|
|
From: kalb <ka...@em...> - 2006-01-10 17:56:04
|
Try typing <Ctrl-Z> instead of <Enter>, you'll be surprised...
kalb
Gary Lefebvre wrote:
> #include <stdio.h>
>
> #include <stdlib.h>
>
>
>
> main()
>
> {
>
> long nc;
>
>
>
> nc=0;
>
> for (nc=0; getchar()!=EOF; ++nc);
>
> printf("%ld\n",nc);
>
> system("Pause");
>
> return 0;
>
> }
>
>
>
> No matter what loop option I try I have the same result. The loop does
> not terminate when, after entering text, I press the enter key. The
> command window hangs. The loop will not terminate to proceed to the
> rest of the code.
>
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Cerchi lamore? Allora iscriviti gratis a Meetic: troverai migliaia di single in linea e potrai chattare con loro.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4049&d=10-1
|
|
From: <dz...@su...> - 2006-01-10 16:57:32
|
Mr=2E Lefebvre,
In you "for()" loop you left out the "{" & "}" braces
defining your loop=2E
Try the following changes listed below=2E This worked
for me=2E
=2E=2EBob
#include <stdio=2Eh>
#include <stdlib=2Eh>
main()
{
long nc;
nc=3D0;
for (nc=3D0; getchar()!=3DEOF; ++nc)
{ //opening brace for "for()" loop=2E
printf("%ld\n",nc);
system("Pause");
} //closing brace for "for()" loop=2E
return 0;
}
--------------------------------------------------------------------Fr
om: dev-cpp-users-admin@lists=2Esourceforge=2Enet
[mailto:dev-cpp-users-admin@lists=2Esourceforge=2Enet] On Behalf Of Gary
Lefebvre
Sent: Tuesday, January 10, 2006 9:32 AM
To: dev-cpp-users@lists=2Esourceforge=2Enet
Subject: [Dev-C++] Loops
#include <stdio=2Eh>
#include <stdlib=2Eh>
main()
{
long nc;
nc=3D0;
for (nc=3D0; getchar()!=3DEOF; ++nc);
printf("%ld\n",nc);
system("Pause");
return 0;
}
No matter what loop option I try I have the same result=2E The loop
does not terminate when, after entering text, I press the enter key=2E
The command window hangs=2E The loop will not terminate to proceed to
the rest of the code=2E
|
|
From: Gary L. <gar...@co...> - 2006-01-10 16:32:08
|
#include <stdio.h>
#include <stdlib.h>
main()
{
long nc;
nc=0;
for (nc=0; getchar()!=EOF; ++nc);
printf("%ld\n",nc);
system("Pause");
return 0;
}
No matter what loop option I try I have the same result. The loop does not
terminate when, after entering text, I press the enter key. The command
window hangs. The loop will not terminate to proceed to the rest of the
code.
|
|
From: Frye J. <dhi...@uo...> - 2006-01-09 23:41:37
|
This One is Strong UP 0.50 (28.57%) Jan 9th Alone Huge PR Campaign Running for Tuesday Jan 10th We expect explosive growth thru Friday Infinex Ventures Inc. (IFNX) Current Price: 2.25 UP 0.50 (28.57%) OTC: IFNX.OB COMPANY OVERVIEW Aggressive and energetic, Infinex boasts a dynamic and diversified portfolio of operations across North America, with an eye on international expansion. Grounded in natural resource exploration, Inifinex also offers investors access to exciting new developments in the high-tech sector and the booming international real estate market. Our market based experience, tenacious research techniques, and razor sharp analytical skills allow us to leverage opportunities in emerging markets and developing technologies. Identifying these opportunities in the earliest stages allows us to accelerate business development and fully realize the companyЎ¦s true potential. Maximizing overall profitability and in turn enhancing shareholder value. Current Press Release Infinex Ventures Inc. (IFNX - News) is pleased to announce the appointment of Mr. Stefano Masullo, to its Board of Directors. Mr. Michael De Rosa the President says, "Mr. Masullo's varied background in finance, engineering and economics, as well as his experience of over 10 years as a Board member of a vast number of International companies, will make him a valuable addition to the Infinex Board. His appointment will show our commitment to the financial, engineering and business structure of our Company." Mr. Masullo attended the University of Luigi Bocconi, in Milan Italy, where he graduated in industrial, economic and financial sciences. Mr. Masullo first began his well rounded career during one of his years at University (1986-1987), where he assisted the Director of Faculty of Finance in finance and investment. |
|
From: Josh M. <mrl...@gm...> - 2006-01-08 16:57:55
|
The Dev-C++ for linux port is extremely out of date. Your best bet here would be to use Code::Blocks (http://www.codeblocks.org) which is quite similar to Dev-C++ and completely portable. On 1/8/06, Thisse Pascal <p.t...@wa...> wrote: > > hello all,happy new year. > > In the roadmap,devcpp are ported to linux or another OS or not ? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > 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 > -- Cheers, Josh PGP: http://revvy.box43.net/Josh_Matthews.asc |
|
From: Scott S. <ssi...@sp...> - 2006-01-08 15:49:31
|
Thisse Pascal wrote: > hello all,happy new year. > > In the roadmap,devcpp are ported to linux or another OS or not ? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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 > I believe there is a Linux port of Dev-C++, but it is fairly old and isn't maintained. I haven't touched Linux in a while, so I can't think of any IDEs that I can recommend to you. For small projects though, there is always your trusty Emacs. -- ~~Scott Simontis~~ ssi...@sp... |
|
From: Thisse P. <p.t...@wa...> - 2006-01-08 12:00:21
|
hello all,happy new year. In the roadmap,devcpp are ported to linux or another OS or not ? |
|
From: Jason B. <red...@ya...> - 2006-01-08 00:56:13
|
How does one use listview or other controls that are similar? |
|
From: Jason B. <red...@ya...> - 2006-01-08 00:48:44
|
How do I perform a wildcard search? I've been experimenting with string lists, but I can't figure it out. Does it involve recursion? |
|
From: Per W. <pw...@ia...> - 2006-01-08 00:48:35
|
Just a note: you should always be careful with the use of directories
containing spaces, since unix tools always requires quotation marks around
the paths or the use of \ before the spaces in the path.
/Per W
On Sat, 7 Jan 2006, Sergio wrote:
> hi there:
> im having a problem, when i compile this:
> -------------------------------------------------------------------------=
-----
> #include <iostream.h>
> #include <stdlib.h>
> #include <fstream.h>
> #include <ctype.h>
> #include <string.h>
>
> #include "table.inc"
>
> #define NAMESIZE 100
> #define MSGSIZE 1000
>
> ofstream outfile;
>
> void OpenOutFile(void)
> {
> char filename[NAMESIZE];
>
> cout << "Enter the name of the output file (will create if doesn\'t
> exist):\n";
> cin.getline(filename,NAMESIZE-1,'\n');
> outfile.open(filename, ios::out);
> if(!outfile.good())
> {cout << "cannot open file, quitting...\n"; exit(1);}
> }
>
> int gncline(char line[], int len)
> {
> int i, actuallen;
>
> cin.getline(line,len-1,'\n');
> actuallen =3D strlen(line);
> if(actuallen =3D=3D 0)
> return 0;
> for(i=3D0; i< actuallen; i++)
> if(!isprint(line[i]))
> {cout << "invalid character, line discarded"; return -1;}
> cout << "line len: " << strlen(line) << endl;
> return actuallen;
> }
>
> void getmsg(char text[])
> {
> int count =3D 0, n;
> const int ll =3D 120;
> char line[ll];
>
> text[count] =3D '\0';
> n =3D gncline(line, ll);
> while(n !=3D 0) {
> if(n > 1) {
> count +=3D n;
> if(count >=3D NAMESIZE-2)
> {cout << "sry, message is too long,
> quitting..\n";exit(1);}
> strcat(text,line);
> text[count] =3D ' ';
> count++;
> text[count] =3D '\0';
> }
> n =3D gncline(line,ll);
> }
> }
>
> void encrypt(char m[])
> {
> int k =3D START, i;
> char ch;
>
> for(i=3D0; m[i] !=3D '\0'; i++) {
> ch =3D m[i];
> m[i] =3D substitutions[(ch - 32 + k) % len];
> k +=3D INCREMENT;
> }
> }
>
> int main()
> {
> char msg[MSGSIZE];
>
> OpenOutFile();
> cout << "Enter text of message:\n";
> getmsg(msg);
> cout << "\nEncrypting and saving...\n";
> encrypt(msg);
> outfile << msg;
> outfile.close();
> system("pause");
> return 0;
> }
> -------------------------------------------------------------
>
> when i compile that on this folder:
> D:\Mis Documentos\Programaci=F3n\Nuevas Pruebas\C11\encriptador
> i get this error:
> D:\Mis Documentos\Programaci=F3n\Nuevas
> Pruebas\C11\encriptador\Makefile.win [Build Error] Error 1 enc.exe
>
> but if i do the same on one folder at the desktop, i can compile it with
> no problems....
>
> is "C11\encriptador" cursed or what?
>
> thank for reading.
> SeR.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> _______________________________________________
> 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: Sergio <el...@gm...> - 2006-01-07 17:13:29
|
hi there:
im having a problem, when i compile this:
------------------------------------------------------------------------------
#include <iostream.h>
#include <stdlib.h>
#include <fstream.h>
#include <ctype.h>
#include <string.h>
#include "table.inc"
#define NAMESIZE 100
#define MSGSIZE 1000
ofstream outfile;
void OpenOutFile(void)
{
char filename[NAMESIZE];
cout << "Enter the name of the output file (will create if doesn\'t
exist):\n";
cin.getline(filename,NAMESIZE-1,'\n');
outfile.open(filename, ios::out);
if(!outfile.good())
{cout << "cannot open file, quitting...\n"; exit(1);}
}
int gncline(char line[], int len)
{
int i, actuallen;
cin.getline(line,len-1,'\n');
actuallen = strlen(line);
if(actuallen == 0)
return 0;
for(i=0; i< actuallen; i++)
if(!isprint(line[i]))
{cout << "invalid character, line discarded"; return -1;}
cout << "line len: " << strlen(line) << endl;
return actuallen;
}
void getmsg(char text[])
{
int count = 0, n;
const int ll = 120;
char line[ll];
text[count] = '\0';
n = gncline(line, ll);
while(n != 0) {
if(n > 1) {
count += n;
if(count >= NAMESIZE-2)
{cout << "sry, message is too long,
quitting..\n";exit(1);}
strcat(text,line);
text[count] = ' ';
count++;
text[count] = '\0';
}
n = gncline(line,ll);
}
}
void encrypt(char m[])
{
int k = START, i;
char ch;
for(i=0; m[i] != '\0'; i++) {
ch = m[i];
m[i] = substitutions[(ch - 32 + k) % len];
k += INCREMENT;
}
}
int main()
{
char msg[MSGSIZE];
OpenOutFile();
cout << "Enter text of message:\n";
getmsg(msg);
cout << "\nEncrypting and saving...\n";
encrypt(msg);
outfile << msg;
outfile.close();
system("pause");
return 0;
}
-------------------------------------------------------------
when i compile that on this folder:
D:\Mis Documentos\Programación\Nuevas Pruebas\C11\encriptador
i get this error:
D:\Mis Documentos\Programación\Nuevas
Pruebas\C11\encriptador\Makefile.win [Build Error] Error 1 enc.exe
but if i do the same on one folder at the desktop, i can compile it with
no problems....
is "C11\encriptador" cursed or what?
thank for reading.
SeR.
|
|
From: Jack G <joh...@ve...> - 2006-01-07 16:12:50
|
Hi, Although I haven't actually done much with it, the SmartWin++ package = for Dev-C++ seems like it would be a good place to start. It seems to = be a bare-bones Windows GUI library. It uses all the handle, device = context, canvas, etc. stuff that the Windows API uses. I've been using Allegro, which I like a lot, but I had to create my own = "widgets", since the dialogs, buttons, etc. in Allegro are kind of = tedious to use. From, A short-time reader, first time poster "If Tyranny and Oppression come to this land, it will be in the guise of = fighting a foreign enemy." - James Madison From: TornadoChaser <kb...@gm...> To: dev...@li... Subject: [Dev-C++] Hello to the group and reference material ------=3D_Part_3477_24859297.1136598217577 Content-Type: text/plain; charset=3DISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Long time reader, first time poster. I took an intro C++ class in = college but didn't study very hard and skipped most classes, still managed a = passin=3D g grade amazingly enough. Now I'm interested in picking it back up as = well a=3D s everything I lost. We used the Borland compiler and UI when I was at = schoo=3D l but I've been tinkering with Dev-C++. I like it quite a bit! I'm to the point in my limited self education that I want to try working inside a Windows Application. One of my early textbook assignments was = to develop a program that converts Farehneit temerature measurements to Celcius. I figured that would be a good place to start working in = Windows Applications. I'm looking for some online references that will help me along in my new endeavour. I've got a basic understanding of how C++ works and how programming should be done, so starter websites would be probably my = best bet. If anyone can help me out, I'd appreciate it! Thanks Kevin. |
|
From: Per W. <pw...@ia...> - 2006-01-07 15:16:34
|
Just a note wx-windows is since sometime called wxWidgets (http://www.wxwidgets.org/) and I highly recommend it. Learning the native Win32 interface isn't so good since it takes quite a lot of work to make anything and besides, M$ are deprecating it and moving over to their .Net environment. I definitely agree with Reid - select a multiplatform toolkit. The movement of M$ to .Net might result in a significant loss of M$ market penetration. /Per W On Fri, 6 Jan 2006, Reid Thompson wrote: > TornadoChaser wrote: > > > Long time reader, first time poster. I took an intro C++ class in > > college but didn't study very hard and skipped most classes, still > > managed a passing grade amazingly enough. Now I'm interested in > > picking it back up as well as everything I lost. We used the Borland > > compiler and UI when I was at school but I've been tinkering with > > Dev-C++. I like it quite a bit! > > > > I'm to the point in my limited self education that I want to try > > working inside a Windows Application. One of my early textbook > > assignments was to develop a program that converts Farehneit > > temerature measurements to Celcius. I figured that would be a good > > place to start working in Windows Applications. > > > > I'm looking for some online references that will help me along in my > > new endeavour. I've got a basic understanding of how C++ works and > > how programming should be done, so starter websites would be probably > > my best bet. If anyone can help me out, I'd appreciate it! > > > > Thanks > > Kevin. > > > > -- > > Microsoft Windows: OS's for the masses, computer literate types need > > not apply. > > > > Small print on the Longhorn EULA... "Thank you for continuing to let > > us think for you. If you wish us to continue to do all your mental > > work press 'I accept'". > > > > So, let's review...time travel is made possible by using the Flux > > Capacitor. Now flux is a change in some quantity, and a capacitor is > > used to store something (generally a charge). So a Flux Capacitor is > > a device that stores change ----> A piggy bank. > > Choose one of the multi-platform frameworks that work with Dev-C++ ( > wx-windows, gtk+, etc ) - they all have fairly comprehensive websites > with examples and there are lots of tutorials and code available on the > web... > > Google on wx-windows > Google on gtk+ > Google on multi-platform application development frameworks and you > should get numerous pages with bunches of frameworks. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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: Noorez K. <lor...@ho...> - 2006-01-07 06:35:09
|
case WM_COMMAND:
{
switch( LOWORD( wParam ) )
{
case HWND_BUTTON_SENDMSG:
{
if( GetWindowTextLength( GetDlgItem(hwnd, HWND_EDIT_TYPEMSG)
) > 99 )
{
MessageBox(hwnd,"Message Length Too Large","ERROR",MB_OK);
break;
}
else if( GetWindowTextLength( GetDlgItem(hwnd,
HWND_EDIT_TYPEMSG) ) == 0 )
break;
char buffer[100];
GetWindowText( GetDlgItem(hwnd, HWND_EDIT_TYPEMSG), buffer,
100 );
if( strcmp( buffer, "/cls" ) == 0 )
{
SendMessage( GetDlgItem(hwnd,HWND_EDIT_SEEMSG),
WM_SETTEXT, (WPARAM)0, (LPARAM)"" );
SendMessage( GetDlgItem(hwnd,HWND_EDIT_TYPEMSG),
WM_SETTEXT, (WPARAM)0, (LPARAM)"" );
SetFocus( GetDlgItem(hwnd,HWND_EDIT_TYPEMSG) );
break;
}
c->sendMessage( buffer );
SendMessage( GetDlgItem(hwnd,HWND_EDIT_TYPEMSG), WM_SETTEXT,
(WPARAM)0, (LPARAM)"" );
SetFocus( GetDlgItem(hwnd,HWND_EDIT_TYPEMSG) );
}
break;
case HWND_EDIT_TYPEMSG:
{
// check for enter button
}
}
}
break;
Here is my WM_COMMAND for my controls. How can i test for the enter button
in the
HWMD_EDIT_TYPEMSG control where the comment is?
_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft®
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|
|
From: Reid T. <Rei...@at...> - 2006-01-07 02:14:10
|
TornadoChaser wrote: > Long time reader, first time poster. I took an intro C++ class in > college but didn't study very hard and skipped most classes, still > managed a passing grade amazingly enough. Now I'm interested in > picking it back up as well as everything I lost. We used the Borland > compiler and UI when I was at school but I've been tinkering with > Dev-C++. I like it quite a bit! > > I'm to the point in my limited self education that I want to try > working inside a Windows Application. One of my early textbook > assignments was to develop a program that converts Farehneit > temerature measurements to Celcius. I figured that would be a good > place to start working in Windows Applications. > > I'm looking for some online references that will help me along in my > new endeavour. I've got a basic understanding of how C++ works and > how programming should be done, so starter websites would be probably > my best bet. If anyone can help me out, I'd appreciate it! > > Thanks > Kevin. > > -- > Microsoft Windows: OS's for the masses, computer literate types need > not apply. > > Small print on the Longhorn EULA... "Thank you for continuing to let > us think for you. If you wish us to continue to do all your mental > work press 'I accept'". > > So, let's review...time travel is made possible by using the Flux > Capacitor. Now flux is a change in some quantity, and a capacitor is > used to store something (generally a charge). So a Flux Capacitor is > a device that stores change ----> A piggy bank. Choose one of the multi-platform frameworks that work with Dev-C++ ( wx-windows, gtk+, etc ) - they all have fairly comprehensive websites with examples and there are lots of tutorials and code available on the web... Google on wx-windows Google on gtk+ Google on multi-platform application development frameworks and you should get numerous pages with bunches of frameworks. |
|
From: TornadoChaser <kb...@gm...> - 2006-01-07 01:43:44
|
Long time reader, first time poster. I took an intro C++ class in college but didn't study very hard and skipped most classes, still managed a passin= g grade amazingly enough. Now I'm interested in picking it back up as well a= s everything I lost. We used the Borland compiler and UI when I was at schoo= l but I've been tinkering with Dev-C++. I like it quite a bit! I'm to the point in my limited self education that I want to try working inside a Windows Application. One of my early textbook assignments was to develop a program that converts Farehneit temerature measurements to Celcius. I figured that would be a good place to start working in Windows Applications. I'm looking for some online references that will help me along in my new endeavour. I've got a basic understanding of how C++ works and how programming should be done, so starter websites would be probably my best bet. If anyone can help me out, I'd appreciate it! Thanks Kevin. -- Microsoft Windows: OS's for the masses, computer literate types need not apply. Small print on the Longhorn EULA... "Thank you for continuing to let us think for you. If you wish us to continue to do all your mental work press 'I accept'". So, let's review...time travel is made possible by using the Flux Capacitor. Now flux is a change in some quantity, and a capacitor is used to store something (generally a charge). So a Flux Capacitor is a device that stores change ----> A piggy bank. |
|
From: Noorez K. <lor...@ho...> - 2006-01-06 05:57:11
|
If one of my EDIT controls receives the WM_COMMAND notification, how can i check to see if it was the enter key that caused it? _________________________________________________________________ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: Alfred P. R. <al...@ya...> - 2006-01-06 00:05:35
|
I would also recommend
cout << i << endl;
Your form would probably input cout to the variable i then input that into endl ???
Ben Miller <ben...@ya...> wrote:
A quick question, by someone very new to c++.
I have a for loop I am putting in a project, this is what it looks like.
for(i = 10; i != 0; i--)
{
cout >> i >> endl;
}
Alfred P. Reaud
|
|
From: Scott B. <doo...@ya...> - 2006-01-05 05:53:45
|
If you use the Sleep function from the win32 API, it will pause between counts. For instance: cout >> i >> endl; Sleep(1000); will pause for a second after each number 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. unzip *.zip files (sigit himawan) 2. Re: unzip *.zip files (Reid Thompson) 3. [Fwd: Re: [Dev-C++] unzip *.zip files] (Reid Thompson) 4. (no subject) (Ben Miller) --__--__-- Message: 1 Date: Wed, 4 Jan 2006 07:00:33 -0800 (PST) From: sigit himawan To: Dev...@li... Subject: [Dev-C++] unzip *.zip files --0-1371980026-1136386833=:5394 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hallo, Anybody knows how to unzip *.zip files with c++? what libraries should I include using dev-c++? or maybe anyone has idea by including winzip as the extractor? maybe someone has an example with it. thankyou very much. reards, Hima MfG, SIGIT HIMAWAN --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. --0-1371980026-1136386833=:5394 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hallo, Anybody knows how to unzip *.zip files with c++? what libraries should I include using dev-c++? or maybe anyone has idea by including winzip as the extractor? maybe someone has an example with it. thankyou very much. reards, Hima MfG, SIGIT HIMAWAN --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. --0-1371980026-1136386833=:5394-- --__--__-- Message: 2 Date: Wed, 04 Jan 2006 10:09:37 -0500 From: Reid Thompson Reply-To: rei...@at... To: sigit himawan Cc: Dev...@li... Subject: Re: [Dev-C++] unzip *.zip files sigit himawan wrote: > Hallo, > > Anybody knows how to unzip *.zip files with c++? > what libraries should I include using dev-c++? > or maybe anyone has idea by including winzip as the extractor? maybe > someone has an example with it. > > thankyou very much. > > reards, > > Hima > > > *MfG,* > *SIGIT HIMAWAN* > > * > * > > ------------------------------------------------------------------------ > Yahoo! Photos > Ring in the New Year with Photo Calendars > . > Add photos, events, holidays, whatever. google on libz --__--__-- Message: 3 Date: Wed, 04 Jan 2006 15:45:33 -0500 From: Reid Thompson Reply-To: rei...@at... To: dev...@li... Subject: [Fwd: Re: [Dev-C++] unzip *.zip files] > What if you called a program like winzip using the system() procedure. doable - keeping in mind that: a) user must have winzip on their machine b) it has to be in the PATH c) winzip is NOT free, for use or bundling with other software see 7-Zip if you want to bundle/use system call http://www.7-zip.org/ --__--__-- Message: 4 Date: Wed, 4 Jan 2006 19:15:48 -0800 (PST) From: Ben Miller To: dev...@li... Subject: [Dev-C++] (no subject) --0-1187323339-1136430948=:82130 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit A quick question, by someone very new to c++. I have a for loop I am putting in a project, this is what it looks like. for(i = 10; i != 0; i--) { cout >> i >> endl; } When i comple it, it will just show all the numbers at once. My question is, how do I make the program pause itself, then start itself again, after each number is shown? I want it to be like a count down. Thank you very much. --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less --0-1187323339-1136430948=:82130 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit A quick question, by someone very new to c++. I have a for loop I am putting in a project, this is what it looks like. for(i = 10; i != 0; i--) { cout >> i >> endl; } When i comple it, it will just show all the numbers at once. My question is, how do I make the program pause itself, then start itself again, after each number is shown? I want it to be like a count down. Thank you very much. --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less --0-1187323339-1136430948=:82130-- --__--__-- _______________________________________________ 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 Send instant messages to your online friends http://au.messenger.yahoo.com |
|
From: Reid T. <rei...@at...> - 2006-01-05 05:35:50
|
Ben Miller wrote:
> A quick question, by someone very new to c++.
> I have a for loop I am putting in a project, this is what it looks like.
> for(i = 10; i != 0; i--)
> {
> cout >> i >> endl;
sleep(3);
> }
>
> When i comple it, it will just show all the numbers at once.
> My question is, how do I make the program pause itself, then start
> itself again, after each number is shown?
> I want it to be like a count down.
>
> Thank you very much.
>
> ------------------------------------------------------------------------
> Yahoo! DSL
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/%20>
> Something to write home about. Just $16.99/mo. or less
|
|
From: Ben M. <ben...@ya...> - 2006-01-05 03:16:00
|
A quick question, by someone very new to c++.
I have a for loop I am putting in a project, this is what it looks like.
for(i = 10; i != 0; i--)
{
cout >> i >> endl;
}
When i comple it, it will just show all the numbers at once.
My question is, how do I make the program pause itself, then start itself again, after each number is shown?
I want it to be like a count down.
Thank you very much.
---------------------------------
Yahoo! DSL Something to write home about. Just $16.99/mo. or less |
|
From: Reid T. <rei...@at...> - 2006-01-04 20:45:40
|
> What if you called a program like winzip using the system() procedure. doable - keeping in mind that: a) user must have winzip on their machine b) it has to be in the PATH c) winzip is NOT free, for use or bundling with other software see 7-Zip if you want to bundle/use system call http://www.7-zip.org/ |
|
From: Reid T. <rei...@at...> - 2006-01-04 15:09:51
|
sigit himawan wrote: > Hallo, > > Anybody knows how to unzip *.zip files with c++? > what libraries should I include using dev-c++? > or maybe anyone has idea by including winzip as the extractor? maybe > someone has an example with it. > > thankyou very much. > > reards, > > Hima > > > *MfG,* > *SIGIT HIMAWAN* > > * > * > > ------------------------------------------------------------------------ > Yahoo! Photos > Ring in the New Year with Photo Calendars > <http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=>. > Add photos, events, holidays, whatever. google on libz |
|
From: sigit h. <rms...@ya...> - 2006-01-04 15:00:52
|
Hallo, Anybody knows how to unzip *.zip files with c++? what libraries should I include using dev-c++? or maybe anyone has idea by including winzip as the extractor? maybe someone has an example with it. thankyou very much. reards, Hima MfG, SIGIT HIMAWAN --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. |
|
From: Noorez K. <lor...@ho...> - 2006-01-03 19:37:12
|
umm...that didn't work....hears my WinProc
LRESULT CALLBACK WindowProcedureClient (HWND hwnd, UINT message, WPARAM
wParam, LPARAM lParam)
{
HWND inMessage, outMessage;
HWND send;
switch( message )
{
case WM_CREATE:
inMessage = CreateWindowEx (
0, /* Extended possibilites for variation */
"EDIT", /* Classname */
"", /* Title Text */
WS_CHILD | WS_VISIBLE | WS_VSCROLL | /*WS_HSCROLL |*/
ES_MULTILINE |
ES_AUTOVSCROLL /*| ES_AUTOHSCROLL*/,
43, /* Windows decides the position */
0, /* where the window ends up on the screen */
444, /* The programs width */
250, /* and height in pixels */
hwnd, /* The window is a child-window to desktop */
(HMENU)3001, /* No menu */
gThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);
outMessage = CreateWindowEx(
0,
"EDIT",
"",
WS_CHILD | WS_VISIBLE | WS_HSCROLL | ES_AUTOHSCROLL |
WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE,
43,
255,
444,
60,
hwnd,
(HMENU)4001,
gThisInstance,
NULL
);
send = CreateWindowEx(
0,
"BUTTON",
"SEND",
WS_CHILD | WS_VISIBLE,
70,
345,
150,
38,
hwnd,
(HMENU)5001,
gThisInstance,
NULL
);
break;
case WM_SIZE:
break;
case WM_DESTROY:
break;
default:
return DefWindowProc( hwnd, message, wParam, lParam );
}
}
>From: Per Westermark <pw...@ia...>
>To: Noorez Kassam <lor...@ho...>
>CC: dev...@li...
>Subject: Re: [Dev-C++] HWND resize
>Date: Tue, 3 Jan 2006 11:56:50 +0100 (CET)
>
>All windows are HWND windows - it might just be wrapped inside a nice
>class.
>
>Hook the WM_SIZE message and ignore it.
>
>/Per W
>
>On Mon, 2 Jan 2006, Noorez Kassam wrote:
>
> > Is there a way to prevent an HWND window from being resized?
> >
> > _________________________________________________________________
> > Take charge with a pop-up guard built on patented Microsoft® SmartScreen
> > Technology
> >
>http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> > Start enjoying all the benefits of MSN® Premium right now and get the
> > first two months FREE*.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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
> >
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_idv37&alloc_id865&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
_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special
stationery, fonts and colors.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|