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
(4) |
|
2
(9) |
3
(10) |
4
(29) |
5
(27) |
6
(20) |
7
(12) |
8
(3) |
|
9
(5) |
10
(14) |
11
(1) |
12
(13) |
13
(4) |
14
(18) |
15
(7) |
|
16
(3) |
17
(8) |
18
(16) |
19
(3) |
20
(14) |
21
(14) |
22
(8) |
|
23
(8) |
24
(9) |
25
(9) |
26
(13) |
27
(7) |
28
(3) |
29
(2) |
|
30
(2) |
|
|
|
|
|
|
|
From: Noorez K. <coo...@ho...> - 2003-11-24 19:57:07
|
The solution given didn't work. The error message was :
[Warning] In function `int WinMain(void *, void *, CHAR *, int)':
ANSI C++ forbids implicit conversion from `void *' in argument passing
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
(LPVOID)NULL); //creation paramaters
//error hear
From: Joe Greenawalt <js...@ca...>
To: Dev...@li...
Subject: [Dev-C++] RE: Windows Application
Date: Mon, 24 Nov 2003 10:48:33 -0600
Try casting to LPVOID, or void *
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
(LPVOID)NULL); //creation paramaters, or
try (void *)
Norrez Kassam wrote:
There is a problem with this windows application. I'm getting an invalid
conversion from void* message at the marked line.
<snip>
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
NULL); //creation paramaters //invalid
conversion from void
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
|
|
From: <ser...@ju...> - 2003-11-24 18:42:00
|
Greetings, I have been a user of the Dev-C++ version 4.0 and recently decided to try out the new Dev-C++ version 5.0 (I also use M$-VC++). After removing the 4.0 version and installing the new 5.0 version, I came across this very strange message when I tried to load an old source code file: "Cannot find the file 'C:\WINDOWS\Desktop\hello.c' (or one of it's components). Make sure the path and filename are correct and that all required libraries are available." So, I made a new 'hello.c' file from within Dev-C++, compiled and ran it. No problem. However, when I tried to load it again (By double-clicking - I have all associations set to Dev-C++), I get the same message. And the same thing happens when I try to load a source file with M$-VC++. I liked the old 4.0 version, so I uninstalled the 5.0 and re-installed the 4.0. The problem still exists. By the way, I'm using Win98. Any help would be much appreciated. Thanks. ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! |
|
From: <ten...@ne...> - 2003-11-24 18:02:27
|
In windows programming, with Mingw you shall cast all variables which are not of the exact parameter type and the return value. > |
|
From: Joe G. <js...@ca...> - 2003-11-24 16:49:16
|
Try casting to LPVOID, or void *
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
(LPVOID)NULL); //creation paramaters,
or try (void *)
Norrez Kassam wrote:
There is a problem with this windows application. I'm getting an invalid
conversion from void* message at the marked line.
<snip>
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
NULL); //creation paramaters
//invalid conversion from void
|
|
From: Noorez K. <coo...@ho...> - 2003-11-24 15:55:52
|
There is a problem with this windows application. I'm getting an invalid
conversion from void* message at the marked line.
#include <windows.h>
long FAR PASCAL _export WndProc(HWND hwnd, UINT message, UINT wParam, LONG
lParam)
{
HDC hdc;
HPEN hpen, hpenOld;
PAINTSTRUCT ps;
RECT rect;
switch(message)
{
case WM_PAINT:
hdc = BeginPaint(hwnd, &ps);
GetClientRect(hwnd, &rect);
hpen = CreatePen(PS_SOLID,6,RGB(0, 0, 255));
hpenOld = (HPEN)SelectObject(hdc, hpen);
Rectangle(hdc, rect.left + 10,
rect.top + 10,
rect.right - 10,
rect.bottom - 10);
DrawText(hdc, "Hello, world!", -1, &rect,
DT_SINGLELINE | DT_CENTER | DT_VCENTER);
SelectObject(hdc, hpenOld);
DeleteObject(hpen);
EndPaint(hwnd, &ps);
return 0;
case WM_DESTROY:
PostQuitMessage(0);
return 0;
}
return DefWindowProc(hwnd, message, wParam, lParam);
}
int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR
lpszCmdParam,
int nCmdShow)
{
static char szAppName[] = "Hello";
HWND hwnd;
MSG msg;
WNDCLASS wndclass;
if(!hPrevInstance)
{
wndclass.style = CS_HREDRAW | CS_VREDRAW;
wndclass.lpfnWndProc = WndProc;
wndclass.cbClsExtra = 0;
wndclass.cbWndExtra = 0;
wndclass.hInstance = hInstance;
wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
wndclass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wndclass.lpszMenuName = NULL;
wndclass.lpszClassName = szAppName;
RegisterClass(&wndclass);
}
hwnd = CreateWindow(szAppName, //window class name
"HELLO Program", //windows caption
WS_OVERLAPPEDWINDOW, //window style
CW_USEDEFAULT, //inital x position
CW_USEDEFAULT, //inital y position
CW_USEDEFAULT, //inital x size
CW_USEDEFAULT, //inital y size
NULL, //parent window handle
NULL, //window menu handle
hInstance, //program instance handle
NULL); //creation paramaters //invalid
conversion from void
ShowWindow(hwnd, nCmdShow);
UpdateWindow(hwnd);
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=https%3a%2f%2f2.zoppoz.workers.dev%3a443%2fhttp%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
|
|
From: Ferdinando F. <s2...@st...> - 2003-11-24 12:18:45
|
On Sat, 22 Nov 2003, wugang wrote: Well, than I can't say more: I never experienced something like that. > There are two IDEs installed in my computer. One is hitool, an off the shelf > IDE for arm embedd system. It uses arm-elf-gcc and arm-elf-ld to build > projects. And, in c:\hitool.arm\Compiler\pc-cygwin\bin\, only there is > make.exe, no arm-elf-make.exe. Ops, sorry, I meant just it... > > When hitool works, I can see the command line it uses to call arm-elf-gcc and > arm-elf-ld. > Thus, in 'Log' in Dev-C++ (at least in 5, I just don't remember about 4) you should find the same thing: you can compare the two outputs > You said "It calls make clean to let make delete all outdated files of > previous compilations", but I dont know why in hitool the compiler > doesnt need clean. No clean.exe in the subdirectory. Well, clean isn't a file: a makefile is a file who tells, in a standard syntax, what to do when called to perform one or more operations. It is an old but efficient way to do what modern compilers call a 'project': in a makefile you can specificate what compiler to call, dependencies about sources, and it is customary to include in a section named 'clean' the commands to run when user need to refresh compilation outputs (tipically the *.o files). If you type 'make clean', make.exe simply searches in the makefile the line 'clean:' to know what to do. Dev-C++, who is designed to interface itself with GNU-style compilers, tipically translates your project in a makefile named Makefile.win and then invokes your compiler's make to build it: make knows what compiler to call, because Dev-C++ wrote it in the makefile. I hope you have this file: I don't remember what version of Dev-C++ you were using, and don't know its behaviour under Win98 (I use XP). If you find it and have some experience with unix shells' syntax (at least in environment var definition) you should see something you can understand. > And, why there is > "D:\cygwin\" before the path I input? To me it makes no sense. I never experienced something like that in Win98 > > Greetings. > > Wugamp > Hope I helped. Bye. Ferdinando |
|
From: Smitha V. B. <smi...@so...> - 2003-11-24 04:16:09
|
try this code
#include <stdio.h>
typedef struct list
{
int data;
struct list *next;
}ll;
main()
{
ll *head,*p;
int temp;
char c;
head=(ll*) malloc(sizeof(struct list));
printf("the data for head:");
scanf("%d",&head->data);
printf("head=:%d",head->data);
printf("enter the value of c:");
fflush(stdin);/* Added here*/
c=getchar();
printf("here:%c",c);
p=head;
system("PAUSE");
return 0;
}
> -----Original Message-----
> From: vasanthsena x [SMTP:vas...@ya...]
> Sent: Saturday, November 22, 2003 6:48 AM
> To: dev...@li...
> Subject: [Dev-C++] another annoying newbie question!!!
>
> Hi I have just started out with structures in C.
> I have written the following program.I try to read in
> a char called c but the program terminates.Can anyone
> help me and tell me why.
>
>
> #include <stdio.h>
>
> typedef struct list
> {
> int data;
> struct list *next;
> }ll;
>
> main()
> {
> ll *head,*p;
> int temp;
> char c;
> head=(ll*) malloc(sizeof(struct list));
>
>
> printf("the data for head:");
>
> scanf("%d",&head->data);
> printf("head=:%d",head->data);
>
> printf("enter the value of c:");
> c=getchar();
> printf("here:%c",c);
>
> p=head;
>
>
> system("PAUSE");
> return 0;
> }
>
>
> thanks.
>
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
|
|
From: Daniel K. O. <dan...@ya...> - 2003-11-24 03:11:10
|
Your "better" question is very subjective. There are a LOT of GUI toolkits around the net. Most of them have GUI editors. Many of them are cross platform. And not so many are actually a big framework, with features like database, sockets, threads, themes, etc. layers. Betwen these two, I think that wxWindows has more features "out of the box" (but I prefer using GTK+ and Gnome libs). Here's a good link: http://www.atai.org/guitool/ Daniel K. O. Alessandro Bugatti wrote: > Hi, > I want to start to build windows application with Dev-Cpp and I found > this two frameworks, fltk and wxWindow, and both seem good for my > needs (and as far as I know both have a devpak). From my point of view > they seems very similar and my question is: which one is better > ("better in which sense?" :-). I saw in fltk there is a gui editor > called FLUID and I like it, there is something similar in wxWindow? > Any opinion will be appreciate. > Thanks > Alessandro > |
|
From: Chris S. <CS...@Ai...> - 2003-11-24 02:59:08
|
Enmaniac,=20
=20
I was wondering if you have received a solution to this problem. I have =
also encountered it but haven't seen any responses posted to the user =
list.=20
=20
Chris=20
-----Original Message-----
From: Enmaniac [mailto:enm...@op...]
Sent: Tuesday, 18 November 2003 8:11 PM
To: Dev...@li...
Subject: [Dev-C++] [DEV C++] Resource file icon problem
Hi!
=20
I have created dialog window in resource file as follows:
=20
IDD_DIALOG_HELP_ABOUT DIALOGEX 0, 0, 253, 129
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | =
WS_SYSMENU
CAPTION "O programie..."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,101,111,50,14
ICON IDI_ICON,IDC_STATIC,26,25,21,20,SS_CENTERIMAGE
CTEXT =
"Bumar",IDC_STATIC_APPNAME,91,19,98,11,SS_CENTERIMAGE
LTEXT "Program:",IDC_STATIC,81,38,59,11
LTEXT "Albert Banaszkiewicz",IDC_STATIC,81,50,72,11
LTEXT "Praktyki - Lipiec 2003",IDC_STATIC,174,63,72,11
LTEXT "Wersja",IDC_STATIC_VERSION,15,73,52,9
LTEXT =
"enm...@op...",IDC_STATIC_EMAIL,189,85,57,9,SS_NOTIFY
CTEXT "email:",IDC_STATIC,164,85,22,9
GROUPBOX "",IDC_STATIC,7,7,239,93
END
=20
Problem is with the bolded line I suppose
=20
There is NO icon when I display dialog. I have checked this code with VC =
and it works, but in DevC++ it doesn=92t :-(
=20
Does anyone know why is it so ?
=20
Thx in advance :-)
Enmaniac
|