dev-cpp-users Mailing List for Dev-C++ (Page 709)
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
|
|
From: Francesco T. <tor...@un...> - 2001-03-27 14:17:31
|
> Why does this work sometimes and other times I get a compilation error > " 18: implicit declaration of function `int system(...)' " > The prototype of the function system is contained in the header stdlib.h, thus you should add #include <stdlib.h> to your program. Hope this helps Francesco |
|
From: Simon R H. <sim...@kc...> - 2001-03-27 13:21:50
|
try
#include <iostream.h>
On Tue, 27 Mar 2001 07:25:22 -0800 Randy Hust <ran...@rc...>
wrote:
>
> Hi..I'm just getting started and I understand that when you want to halt
> the screen in order to read the result in DOS you must enter
> system("PAUSE");
> Why does this work sometimes and other times I get a compilation error
> " 18: implicit declaration of function `int system(...)' "
>
> Here is a sample no-brainer program I coded that produces just that
> error...
> Thanks!
>
> #include <stdio.h>
>
> main()
> {
> float perCent,result,num;
>
> printf("Enter the number you want a percentage of :\n");
> scanf("%f",&num);
>
> printf("Enter the percentage of that number you want calculated :\n");
> scanf("%f", &perCent);
>
> result = (num * perCent)/100;
>
> printf("%f percent of %f = %f", perCent,num,result);
>
> system("PAUSE");
>
> return 0;
>
> }
>
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
----------------------
Simon R Hillman
sim...@kc...
|
|
From: Andre` N. C. <ca...@op...> - 2001-03-27 12:57:57
|
well, for one you need to have int main() or the incorect void main() but
never just main()
at the end of your program you returned 0 so your main function has to be an
int.
Your other problem is you need the correct header file. I'm not sure what
it is..
I cant remember been a while since DOS land!:)
Randy Hust wrote:
> Hi..I'm just getting started and I understand that when you want to halt
> the screen in order to read the result in DOS you must enter
> system("PAUSE");
> Why does this work sometimes and other times I get a compilation error
> " 18: implicit declaration of function `int system(...)' "
>
> Here is a sample no-brainer program I coded that produces just that
> error...
> Thanks!
>
> #include <stdio.h>
>
> main()
> {
> float perCent,result,num;
>
> printf("Enter the number you want a percentage of :\n");
> scanf("%f",&num);
>
> printf("Enter the percentage of that number you want calculated :\n");
> scanf("%f", &perCent);
>
> result = (num * perCent)/100;
>
> printf("%f percent of %f = %f", perCent,num,result);
>
> system("PAUSE");
>
> return 0;
>
> }
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Randy H. <ran...@rc...> - 2001-03-27 12:26:59
|
Hi..I'm just getting started and I understand that when you want to halt
the screen in order to read the result in DOS you must enter
system("PAUSE");
Why does this work sometimes and other times I get a compilation error
" 18: implicit declaration of function `int system(...)' "
Here is a sample no-brainer program I coded that produces just that
error...
Thanks!
#include <stdio.h>
main()
{
float perCent,result,num;
printf("Enter the number you want a percentage of :\n");
scanf("%f",&num);
printf("Enter the percentage of that number you want calculated :\n");
scanf("%f", &perCent);
result = (num * perCent)/100;
printf("%f percent of %f = %f", perCent,num,result);
system("PAUSE");
return 0;
}
|
|
From: Yeoh H. <ye...@ya...> - 2001-03-27 10:39:39
|
Try: http://msdn.microsoft.com/library/psdk/winui/rc_35rn.htm Yeoh ----- Original Message ----- From: Brian Keener <bk...@th...> To: <dev...@li...>; SpiderMan <Spi...@pr...> Sent: Tuesday, March 27, 2001 4:16 AM Subject: [Dev-C++] Information/Tutorials on using Windows Resource files > To anyone but particularly Spiderman since I know you responded to this > in the past. You previously told me of a site that had some good > information on what command/keywords could be used in a res.rc and > resource.h files for use when programming in windows. I seemed to have > misplaced that information and was wondering if you could recalled that > info and could supply me with it again. > > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Yeoh H. <ye...@ya...> - 2001-03-27 10:37:50
|
Hi, You can get Weditres from the LCC-Win32 compiler homepage. It is part of the LCC-Win32 compiler package. It is located at: http://www.cs.virginia.edu/~lcc-win32/ Yeoh ----- Original Message ----- From: Andre` Niel Cameron <ca...@op...> To: <dev...@li...> Sent: Monday, March 26, 2001 10:18 PM Subject: Re: [Dev-C++] Using a dialog for my window? > I don't have an answer to your question but I have one of my own, Where does on > get Weditres? I've been looking for a way to create custom Dialog boxes... > > Nathan Smith wrote: > > > I have started using Weditres to make resource files (I use the resulting > > .dlg file). For this I can create a dialogbox that allows me to have > > multiple styles. Before I never knew how to do this. Is there a way to use > > the dialog data for my main window, ie like having multiple different styles > > like listboxes, tree views etc. > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <jos...@ya...> - 2001-03-27 07:34:35
|
--- Nathan Smith <str...@ho...> escribió: > I have started using Weditres to make resource files (I use the > resulting > .dlg file). For this I can create a dialogbox that allows me to have > multiple styles. Before I never knew how to do this. I always create a resource file (.rc) within Dev-C++ compiler. I use the data from Weditres or other programs and then copy paste into Dev-C++ resource editor. > Is there a way to use > the dialog data for my main window, ie like having multiple different > styles > like listboxes, tree views etc. > Yes, but it's to long to explain here. I suggest you to read some of the tutorials listed at http://www.geocities.com/josempadron/eng/tutorials.htm I recommend theForger's Hope this helps Chemanuel __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text |
|
From: <jos...@ya...> - 2001-03-27 07:21:08
|
Tutorials that cover this subject are Colin Peters: incomplete but specific Don Hobson theForger You can find a link to them at http://www.geocities.com/josempadron/eng/tutorials.htm hth Chemanuel --- Brian Keener <bk...@th...> escribió: > To anyone but particularly Spiderman since I know you responded to > this > in the past. You previously told me of a site that had some good > information on what command/keywords could be used in a res.rc and > resource.h files for use when programming in windows. I seemed to > have > misplaced that information and was wondering if you could recalled > that > info and could supply me with it again. > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text |
|
From: Nathan S. <str...@ho...> - 2001-03-27 04:17:11
|
----- Original Message ----- From: "Andre` Niel Cameron" <ca...@op...> To: <dev...@li...> Sent: Tuesday, March 27, 2001 12:18 AM Subject: Re: [Dev-C++] Using a dialog for my window? > I don't have an answer to your question but I have one of my own, Where does on > get Weditres? I've been looking for a way to create custom Dialog boxes... > > Nathan Smith wrote: > > > I have started using Weditres to make resource files (I use the resulting > > .dlg file). For this I can create a dialogbox that allows me to have > > multiple styles. Before I never knew how to do this. Is there a way to use > > the dialog data for my main window, ie like having multiple different styles > > like listboxes, tree views etc. > > > > _______________________________________________ http://www.objectcentral.com/vide.htm VIDE as another GCC based IDE but it has a link to Weditres which is a part of LCC I think. |
|
From: jag <won...@th...> - 2001-03-26 21:39:37
|
This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net --------------------------------------------------------------- thanks!!! ----- Original Message -----=20 From: David Morrisroe=20 To: dev...@li...=20 Sent: Monday, March 26, 2001 7:31 PM Subject: Re: [Dev-C++] help http://lists.sourceforge.net/lists/listinfo/dev-cpp-users ----- Original Message -----=20 From: jag=20 To: dev...@li...=20 Sent: Monday, March 26, 2001 2:24 AM Subject: [Dev-C++] help This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net -------------------------------------------------------------------------= --- does anybody know how to unsubscribe from this list? |
|
From: Brian K. <bk...@th...> - 2001-03-26 20:16:50
|
To anyone but particularly Spiderman since I know you responded to this in the past. You previously told me of a site that had some good information on what command/keywords could be used in a res.rc and resource.h files for use when programming in windows. I seemed to have misplaced that information and was wondering if you could recalled that info and could supply me with it again. |
|
From: Clive J. <cl...@cl...> - 2001-03-26 18:45:23
|
Hi,
Has anyone managed to get GLUT running with Dev-C++?
The source below compiles but the linker spits out errors...
//Source...
#include <gl\glut.h>
#include <gl\gl.h>
static void idleFunc(void)
{
glutPostRedisplay();
}
static void reshapeFunc(int width, int height)
{
glViewport(0, 0, width, height);
//set up viewport
glMatrixMode(GL_PROJECTION);
//projection matrix
glLoadIdentity();
//set up frustrum
gluPerspective(45, (GLdouble) width / height, 1, 150);
glMatrixMode(GL_MODELVIEW);
glTranslatef(0.0, 0.0, -15.0);
}
static void keyboardFunc(unsigned char key, int x, int y)
{
switch(key) {
case 27:
//escape key
exit(0);
break;
case '\r':
//enter key
break;
}
glutPostRedisplay();
}
void initFunc(void)
{
glClearColor(0.0, 0.0, 0.0, 0.0);
glClearDepth(1.0);
glShadeModel(GL_FLAT);
glEnable(GL_BLEND);
glBlendFunc(GL_ONE, GL_ZERO);
glEnable(GL_DEPTH_TEST);
glDepthMask(GL_TRUE);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
}
static void displayFunc(void)
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix();
//save modelview matrix
glBegin( GL_TRIANGLES );
glColor3f( 1.0f, 0.0f, 0.0f ); glVertex2f( 0.0f, 1.0f );
//draw polygon
glColor3f( 0.0f, 1.0f, 0.0f ); glVertex2f( 0.87f, -0.5f );
glColor3f( 0.0f, 0.0f, 1.0f ); glVertex2f( -0.87f, -0.5f );
glEnd();
glPopMatrix();
//restore modelview
glutSwapBuffers();
//flip buffers
}
int main(int argc, char **argv)
{
glutInit(&argc, argv);
//Init display mode
glutInitWindowSize(600, 400);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
glutCreateWindow(argv[0]);
initFunc();
//InitOGL
glutKeyboardFunc(keyboardFunc);
glutReshapeFunc(reshapeFunc);
glutDisplayFunc(displayFunc);
glutIdleFunc(idleFunc);
glutMainLoop();
//never returns
return 0;
}
-----------------------
The Linker reports...
c:\my documents\gluttest.o(.text+0x1d):gluttest.cpp: undefined reference
to `__glutInitWithExit'
c:\my documents\gluttest.o(.text+0x32):gluttest.cpp: undefined reference
to `glutInitWindowSize'
c:\my documents\gluttest.o(.text+0x3c):gluttest.cpp: undefined reference
to `glutInitDisplayMode'
c:\my documents\gluttest.o(.text+0x4e):gluttest.cpp: undefined reference
to `__glutCreateWindowWithExit'
[...]
Any help greatly appreciated.
TIA
Clive
|
|
From: David M. <dav...@ei...> - 2001-03-26 18:33:45
|
http://lists.sourceforge.net/lists/listinfo/dev-cpp-users ----- Original Message -----=20 From: jag=20 To: dev...@li...=20 Sent: Monday, March 26, 2001 2:24 AM Subject: [Dev-C++] help This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net -------------------------------------------------------------------------= ----- does anybody know how to unsubscribe from this list? |
|
From: Andre` N. C. <ca...@op...> - 2001-03-26 14:16:35
|
I don't have an answer to your question but I have one of my own, Where does on get Weditres? I've been looking for a way to create custom Dialog boxes... Nathan Smith wrote: > I have started using Weditres to make resource files (I use the resulting > .dlg file). For this I can create a dialogbox that allows me to have > multiple styles. Before I never knew how to do this. Is there a way to use > the dialog data for my main window, ie like having multiple different styles > like listboxes, tree views etc. > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Nathan S. <str...@ho...> - 2001-03-26 10:45:41
|
I have started using Weditres to make resource files (I use the resulting .dlg file). For this I can create a dialogbox that allows me to have multiple styles. Before I never knew how to do this. Is there a way to use the dialog data for my main window, ie like having multiple different styles like listboxes, tree views etc. |
|
From: Lorenzo <co...@in...> - 2001-03-26 07:38:05
|
Thank you, you are right, I OnCreate function i defined wTabSpacing as DWORD, and it was working. But in other function i defined it as WORD, this was my error. It was a misunderstandig. |
|
From: <jos...@ya...> - 2001-03-26 07:07:23
|
> WORD wTabSpacing; In the API documentation it is a DWORD. I don't really see the problem in the code apart of that one above. I can only see a problem if you use a value larger than 1 as the second parameter in the macro Edit_SetTabStops() because then you should use an array of DWORDs. I assume that you know this: The EM_SETTABSTOPS message does not automatically redraw the edit control window. If the application is changing the tab stops for text already in the edit control, it should call the InvalidateRect function to redraw the edit control window. Hope this helps Chemanuel __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |
|
From: Richard A. <dic...@ho...> - 2001-03-26 01:29:54
|
posted this on the forum but hoping that more people will read it here...
i've had some real problems using the stl in programs compiled for windows
(i.e. no console)... vector::push_back, the string constructor and the list
constructor will all cause runtime errors...
does anyone know how to sort this out, or am i going to have to write my own
stl?
here's an example of some code that will die
#include <list>
#include "windows.h"
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
list<int> li;
return 0;
}
thanks in advance,
richard
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
|
From: jag <won...@th...> - 2001-03-26 01:19:19
|
This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net --------------------------------------------------------------- does anybody know how to unsubscribe from this list? |
|
From: Vassili <v.v...@bt...> - 2001-03-25 23:05:26
|
I to have been looking to make libraries, found info in help. There seems to be a bit on making libraries in the libc help doc, try libc->find (type in headers)->check (adding new functions) ----- Original Message ----- From: "Lorenzo" <co...@in...> To: "dev-cpp" <dev...@li...> Sent: Monday, March 19, 2001 2:48 PM Subject: [Dev-C++] how to build lib? > What project options i have to use for create a library? In Ide i have found > options for application, console and dll, but library? > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Colin L. <web...@bl...> - 2001-03-25 21:56:26
|
Hello ! I am trying to make a page for beginners/newcomers to Dev-C++ and would need links to useful resources about Dev-C++ and programming C/C++ in general. Win32 Api, OpenGL and DirectX resources are welcomed a lot too :) So if you know of any good links please mail me at ha...@bl... with the subject : "LINK Dev-C++". Thank you :) Colin Laplace web...@bl... http://www.bloodshed.net |
|
From: Effendi M. <EF...@mk...> - 2001-03-25 13:24:33
|
> -----Original Message----- > From: Cary Smith [SMTP:ca...@ly...] > Sent: Thursday, March 22, 2001 7:06 AM > To: dev...@li... > Subject: Re: [Dev-C++] hello? > > > it works > > > > I'm just checking whether the mailing list works I signed up 2 days ago > > and haven't seen any posts... > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: jag <won...@th...> - 2001-03-25 02:35:50
|
This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net --------------------------------------------------------------- |
|
From: jag <won...@th...> - 2001-03-25 02:35:37
|
This email was delivered to you by The Free Internet, a Business Online Group company. http://www.thefreeinternet.net --------------------------------------------------------------- unsubscribe |
|
From: Michael P. <mdp...@ya...> - 2001-03-24 22:40:00
|
I had no problems with it compiling. Did you add: #include <string.h> Mike --- Sam <sch...@ho...> wrote: > hi i'm trying to use the string compare case > insentive function, strnicmp, and it won't compile > is there a reason this doesn't work with Dev?? > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |