dev-cpp-users Mailing List for Dev-C++ (Page 690)
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: Joseph K. <ecc...@ms...> - 2001-06-20 17:41:26
|
Brasier, Try www.informit.com. Then click on the "Free Library" link. On that = screen, over to the left, are subject links for various IT subjects inclu= ding programming. There are books listed for C and C++. One is the Sams= "Teach Yourself C/C++ in 21 Days." You can view and/or print the info f= rom these books. =20 =20 ----- Original Message ----- From: Brasier Sent: Tuesday, June 19, 2001 6:04 PM To: dev...@li... Subject: [Dev-C++] Better question.... =20 Hi again :) When you guys were very first starting out and you knew nothing about the= code (C/C++) at all, how did you learn? I have no money to spend on the = books so i need mostly free websites :) ok one more time....Thanks Steve.B _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: jansb000 <jan...@wx...> - 2001-06-20 17:40:57
|
We use the Allegro game library. It is multi-platform, and it is optimised to use DX in Windows and GL in UNIX. It also works for DOS. For the sake of ease of use we have created a C++ wrapper around it. The WCS project is also multi-platform. Some of the developers use LINUX. I have Win98. One of the open tasks is to extend the C++ graphics wrapper so that it can work with SDL. ----- Original Message ----- From: "Andre` Niel Cameron" <ca...@op...> To: <dev...@li...> Sent: Wednesday, June 20, 2001 12:04 AM Subject: Re: [Dev-C++] Can someone help me please!? > > > > > If you want to learn game programming you may be interrested to join the > WCS > > project. This project has the explicit goals: > > - learn C++ > > - learn game programming > > - learn using animation (and multimedia in general) > > > > What are you using for graphics? DX? > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: jansb000 <jan...@wx...> - 2001-06-20 17:40:57
|
Have a look at www.objectcentral.com. They have a set of links to interesting sites. ----- Original Message ----- From: "Brasier" <br...@Pu...> To: <dev...@li...> Sent: Wednesday, June 20, 2001 12:57 AM Subject: [Dev-C++] Once more, i need help :) > Hi, > > I would like to thank the people who helped me with my last problem but i am still having it...one thing i didnt mention was that i am learning C++ only and all the sites i found were using something called PASCAL or something.... Does anyone have any good websites that give a full explanation of every last detail of C++ with source codes??? > > If so please give me them or can you tell me if codes in Pascal are the same as C++. > > Thanks > > Steve.B > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Graeme F. <gr...@dr...> - 2001-06-20 17:07:28
|
Try http://www.mindview.net/Books --- gr...@ac... |
|
From: Gregor P. <Gre...@dl...> - 2001-06-20 16:52:28
|
Hi there,
I like to display some Images, the examples in my books are using the
function
DibLoadImage( szFileName )
from the header file
dibfile.h
like
# include "dibfile.h"
BITMAPFILEHEADER* pbmfh;
pbmfh = DibLoadImage( "myPic.bmp" );
...
The Borland Win32 Programmer Reference doesn't know such a function and
Dev-C++ nothing about such a headerfile.
Does someone know what to do?
|
|
From: Bruno B. <bbe...@cl...> - 2001-06-20 16:40:12
|
Hello again, The line ' HKEY HKEY_USERS\wendel_test ' is wrong. You can't do that. HKEY is a registry key handle not the key's name. Bruno Berteau |
|
From: Bruno B. <bbe...@cl...> - 2001-06-20 16:25:24
|
Hello, You only have to include windows.h before winreg.h. #include <stdio.h> #include <windows.h> #include <winreg.h> Bruno Berteau |
|
From: Elias P. <eli...@ao...> - 2001-06-20 16:10:43
|
> > Try this link: > > http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm > > ... > > But if i try put the code prom open a key in registry.... > > #include <stdio.h> > #include <Winreg.h> //Header: Declared in Winreg.h; include Windows.h. > #include <Windows.h> // i put this 2 headers as is needed in the text. > > int main() > { > LONG RegCreateKeyEx( > HKEY HKEY_USERS\wendel_test > return(0); > } > > When i try compile i recive: ... You can't use #include <Winreg.h> with Dev-C++. Just delete that line. For the use of RegCreateKeyEx, at the link in the beginning of this message, you will find links to some examples. |
|
From: Wendel <we...@ha...> - 2001-06-20 15:45:46
|
Hello Tim, > Try this link: > http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm > I tryed ... it!! and have some explanations/examples! Then i tryed it in my dev-c++ and...! look: This structure of program work very well. compiled! #include <stdio.h> int main() { return(0); } But if i try put the code prom open a key in registry.... #include <stdio.h> #include <Winreg.h> //Header: Declared in Winreg.h; include Windows.h. #include <Windows.h> // i put this 2 headers as is needed in the text. int main() { LONG RegCreateKeyEx( HKEY HKEY_USERS\wendel_test return(0); } When i try compile i recive: 2 f:\dev-c_~1\untitl~1.cpp F:\DEV-C_~1\Include\Winreg.h:35: syntax error before `;' 37 f:\dev-c_~1\include\winreg.h syntax error before `;' 38 f:\dev-c_~1\include\winreg.h syntax error before `;' 39 f:\dev-c_~1\include\winreg.h syntax error before `;' 40 f:\dev-c_~1\include\winreg.h syntax error before `;' 43 f:\dev-c_~1\include\winreg.h syntax error before `;' 44 f:\dev-c_~1\include\winreg.h syntax error before `;' 45 f:\dev-c_~1\include\winreg.h syntax error before `;' 46 f:\dev-c_~1\include\winreg.h syntax error before `;' 48 f:\dev-c_~1\include\winreg.h syntax error before `AbortSystemShutdownA' 49 f:\dev-c_~1\include\winreg.h syntax error before `AbortSystemShutdownW' 50 f:\dev-c_~1\include\winreg.h syntax error before `InitiateSystemShutdownA' 51 f:\dev-c_~1\include\winreg.h syntax error before `InitiateSystemShutdownW' 52 f:\dev-c_~1\include\winreg.h syntax error before `RegCloseKey' 53 f:\dev-c_~1\include\winreg.h syntax error before `RegConnectRegistryA' 54 f:\dev-c_~1\include\winreg.h syntax error before `RegConnectRegistryW' 55 f:\dev-c_~1\include\winreg.h syntax error before `RegCreateKeyA' 56 f:\dev-c_~1\include\winreg.h syntax error before `RegCreateKeyExA' 57 f:\dev-c_~1\include\winreg.h syntax error before `RegCreateKeyExW' 58 f:\dev-c_~1\include\winreg.h syntax error before `RegCreateKeyW' 59 f:\dev-c_~1\include\winreg.h syntax error before `RegDeleteKeyA' 60 f:\dev-c_~1\include\winreg.h syntax error before `RegDeleteKeyW' 61 f:\dev-c_~1\include\winreg.h syntax error before `RegDeleteValueA' 62 f:\dev-c_~1\include\winreg.h syntax error before `RegDeleteValueW' 63 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumKeyA' 64 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumKeyW' 65 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumKeyExA' 66 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumKeyExW' 67 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumValueA' 68 f:\dev-c_~1\include\winreg.h syntax error before `RegEnumValueW' 69 f:\dev-c_~1\include\winreg.h syntax error before `RegFlushKey' I saw too in the End of text the warning: Library: Use Advapi32.lib. Need i of this to my prog work ?? How to use it Advapi32.lib ?? For what i use it ?? It is a API ? What i'm doing wrong ?? Help me please! Sorry for my poor english. Best Regards. [ ]'s > > Tim > |
|
From: Colin L. <web...@bl...> - 2001-06-20 14:08:47
|
Hi ! > There is the official release of GCC 3.0. Can we expect Dev-C++ with the > mingw32 port anytime soon? if the MIngw team make a new Mingw release with gcc 3.0 then i will probably do a new Dev-C++ version including GCC 3 during July. Greetings, Colin |
|
From: <ti...@ne...> - 2001-06-20 13:40:57
|
Try this link: http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm Tim ----- Original Message ----- From: "Wendel" <we...@ha...> To: <dev...@li...> Sent: Wednesday, June 20, 2001 3:07 PM Subject: [Dev-C++] Access Registry. > Hi all, > > I'm trying learn how to access the registry. I saw a document with a fast > explanation that work for win9x and NT. But don't give examples. What i need > to access the registry ?? example to read keys, list keys, subkeys, create > keys, delete keys, ... ?? > > Can somebody give me a example ?? > > I need use dll of windows ? API ?? How to use it in dev-c++ ? > > thkz > > [ ]'s > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Wendel <we...@ha...> - 2001-06-20 13:05:29
|
Hi all, I'm trying learn how to access the registry. I saw a document with a fast explanation that work for win9x and NT. But don't give examples. What i need to access the registry ?? example to read keys, list keys, subkeys, create keys, delete keys, ... ?? Can somebody give me a example ?? I need use dll of windows ? API ?? How to use it in dev-c++ ? thkz [ ]'s |
|
From: <ste...@ge...> - 2001-06-20 09:42:34
|
Just ignonore my last mail, I jsut got it working :) Tanks! |
|
From: <ste...@ge...> - 2001-06-20 09:40:45
|
Hey there!
I am trying to make a framerate limiter for my new game, but I can't =
make it work.
I would do it something like this:
#include <time.h>
#include <conio.h>
void frames(void)
{
const float TimePerFrame =3D 1 / 73; /* 73 FPS */
clock_t start, end;
start =3D clock();
while( !kbhit() ) /* GameLoop */
{
end =3D clock(); =20
while( ((end-start)/CLK_TCK) < TimePerFrame )
{
end =3D clock();
}
}
DoSomeGameStuff(); /* Some stuff for da game */
}
I can't see what's wrong, but maybe someone out there can :)
Thanks!
|
|
From: Ioannis V. <no...@ya...> - 2001-06-19 23:14:24
|
http://members.nbci.com/noicys/links.htm This is my links page with all the programming links i have. Ioannis ----- Original Message ----- From: "Brasier" <br...@Pu...> To: <dev...@li...> Sent: Wednesday, June 20, 2001 2:00 AM Subject: [Dev-C++] Better question.... > Hi again :) > > When you guys were very first starting out and you knew nothing about the code (C/C++) at all, how did you learn? I have no money to spend on the books so i need mostly free websites :) > > ok one more time....Thanks > > Steve.B > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: Brasier <br...@Pu...> - 2001-06-19 23:00:30
|
Hi again :) When you guys were very first starting out and you knew nothing about the code (C/C++) at all, how did you learn? I have no money to spend on the books so i need mostly free websites :) ok one more time....Thanks Steve.B |
|
From: Brasier <br...@Pu...> - 2001-06-19 22:57:22
|
Hi, I would like to thank the people who helped me with my last problem but i am still having it...one thing i didnt mention was that i am learning C++ only and all the sites i found were using something called PASCAL or something.... Does anyone have any good websites that give a full explanation of every last detail of C++ with source codes??? If so please give me them or can you tell me if codes in Pascal are the same as C++. Thanks Steve.B |
|
From: Ioannis V. <no...@ya...> - 2001-06-19 22:48:44
|
There is the official release of GCC 3.0. Can we expect Dev-C++ with the mingw32 port anytime soon? Ioannis _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: Brian C. B. <bcb...@ya...> - 2001-06-19 22:10:13
|
Hi, Don't worry about sending to my email address, that is perfectly alright. As for my IDE, it is extremely new and has very little functionality to offer at this time. I had planned to have it GCC specific because I am most familiar with GCC. I am not against including other compiler support if someone points out good reasons to include it. That said, you might want to check out the free V IDE available at http://www.objectcentral.com/vide.htm. It can use GCC, Borland C++ 5.5, or Sun JDK. Here is what it says "Supports development of both C/C++ with the GNU gcc/g++ compiler for MS-Windows and Linux, (OS/2 environment soon), as well as the Java development using the Sun JDK. Borland C++ Compiler 5.5 - VIDE has very good support for the free Borland command line compiler tools. It can build Console, GUI, and static library project files. It also includes some extra documentation about the Borland environment. VIDE also supports Borland's Turbo Debugger TD32." Email me if you have any other questions. Also, I can post a message to the DevCpp list concerning this topic (I am assuming you can recieve messages); email me with the message to post and I will post it. Sincerely, Brian "Shall we accept good from God, and not trouble?" Job 2:10 -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Johannes Pretorius Sent: Tuesday, June 19, 2001 12:07 PM To: dev...@li... Subject: RE: [Dev-C++] Reading GCC output Hi there ------------ Sorry for sending to your personal mail. but I have trouble sending to the DevCpp list. it something (well most of the times) reject my mail. Also I want to ask if this IDE that you are planning to code. Will be compiler specific. For (exept for WinEdit) I am looking for a IDE that can use almost any compiler. Like Borland C++ 5. Well just wanted to ask considering I cant get onto the DevCpp list to ask this Question.. Thanks for your time and sorry for mailing your private.. Johannes Pretorius At 07:25 19/06/2001 -0400, you wrote: >Hi, >Thank you for this code, it appears to work correctly with GCC. > >Sincerely, >Brian > >"Shall we accept good from God, and not trouble?" Job 2:10 >-----Original Message----- >From: dev...@li... >[mailto:dev...@li...]On Behalf Of Elias >Pschernig >Sent: Monday, June 18, 2001 5:17 PM >To: dev...@li... >Subject: Re: [Dev-C++] Reading GCC output > > > > I apologize for not being clear. I am coding a small IDE that invokes >the GCC compiler, just > > like Dev-C++ does. Dev-C++ catches the output produced by GCC and displays >the errors, > > warnings, and other GCC output at the bottom of the program. I would like >to know how to do > > just that: invoke GCC from my program, catch the output, and display it. I >know how to invoke > > GCC and display any output, but I do not know how to catch the output. >Could someone point me > > in the right direction? Thanks in advance. > >Hi, i don't know why the source code you posted doesn't work. I'm using >basically the same code in my programs. The program below works fine for me >under win98, i'm using the code to catch output for another program, but it >seems to work with 'gcc' just the same. > >I didn't look at your code in detail, but it's almost the same procedure: > >Cerate a temporary file, redirect the output from the called command into >that file, then read the contents of the temporary file and delete the file. > >I compiled with 'gcc -mwindows -O3 -s -o catch.exe catch.c', but should of >course work with a dev-c++ project as well. > >(Warning: This code may contain all sort of mistakes and bugs)(but i hope it >does work) > >Elias Pschernig > >-- catch.c >#include <windows.h> > >void execute(char *command) { > char tempdir[1024]; > char tempfile[1024]; > STARTUPINFO sui; > PROCESS_INFORMATION pi; > HANDLE capture; > > GetTempPath(1024, tempdir); > GetTempFileName(tempdir, "bla", 0, tempfile); > > capture=CreateFile(tempfile,GENERIC_READ|GENERIC_WRITE,0,NULL, > CREATE_ALWAYS,FILE_ATTRIBUTE_TEMPORARY,NULL); > > memset(&sui,0,sizeof sui); > > sui.cb = sizeof sui; > sui.lpTitle = "my redir"; > sui.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW; > sui.hStdOutput = capture; > sui.hStdError = capture; > sui.hStdInput = NULL; > sui.wShowWindow = SW_HIDE; > > if(CreateProcess(NULL, command, > NULL, NULL, TRUE, 0, NULL, tempdir, &sui, &pi)) { > > char *buffer; > DWORD size; > > WaitForSingleObject(pi.hProcess, INFINITE); > > SetFilePointer(capture, 0, NULL, FILE_BEGIN); > size = GetFileSize(capture, NULL); > buffer = alloca(size+1); > > ReadFile(capture, buffer, size, &size, NULL); > buffer[size] = 0; > > CloseHandle(capture); > > CloseHandle(pi.hThread); > CloseHandle(pi.hProcess); > > DeleteFile(tempfile); > > MessageBox(NULL,buffer,"Captured Output",MB_OK); > > } else { > MessageBox(NULL,command,"Error: Could not execute",MB_OK); > } > >} > >int WINAPI WinMain(HINSTANCE hinst,HINSTANCE prev,LPSTR arg,int show) { > execute("gcc -v"); > return 0; >} > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users >--- >Incoming mail is certified Virus Free by AVG >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001 > >--- >Outgoing mail is certified Virus Free by AVG >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001 > > >NetZero Platinum >No Banner Ads and Unlimited Access >Sign Up Today - Only $9.95 per month! >http://www.netzero.net > >_______________________________________________ >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 --- Incoming mail is certified Virus Free by AVG Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001 --- Outgoing mail is certified Virus Free by AVG Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001 NetZero Platinum No Banner Ads and Unlimited Access Sign Up Today - Only $9.95 per month! http://www.netzero.net |
|
From: Andre` N. C. <ca...@op...> - 2001-06-19 22:02:33
|
> If you want to learn game programming you may be interrested to join the WCS > project. This project has the explicit goals: > - learn C++ > - learn game programming > - learn using animation (and multimedia in general) > What are you using for graphics? DX? |
|
From: jansb000 <jan...@wx...> - 2001-06-19 21:53:39
|
If you want to learn game programming you may be interrested to join the WCS project. This project has the explicit goals: - learn C++ - learn game programming - learn using animation (and multimedia in general) Have a look at http://sf.net/projects/wcs-jabe Let me know if you need more info. ----- Original Message ----- From: "Brasier" <br...@Pu...> To: <dev...@li...> Sent: Tuesday, June 19, 2001 1:38 AM Subject: [Dev-C++] Can someone help me please!? > I am very new to Game proramming and i have only learned from a website how to make the hi/low guess the number game which is very basic and i was just wondering if anyone knew any more advanced training web sites that teach you how to put in Sprites and how to make them collide E.T.C i hope this is all making sense as i only kind of know what im saying...lol > > Also in C++ how do you let the player pause the game (and when he/she does pause that it goes to an animation??? > > Thanks for your help (in advance) > > I hope to one day be a great programmer but we all have to start somewhere right?! > > Thakns again > > Steve.B > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ioannis V. <no...@ya...> - 2001-06-19 20:49:34
|
Well, congratulations. You found your way to the mailing list.
Ioannis
----- Original Message -----
From: "Johannes Pretorius" <joh...@pr...>
To: <dev...@li...>
Sent: Tuesday, June 19, 2001 7:06 PM
Subject: RE: [Dev-C++] Reading GCC output
> Hi there
> ------------
>
> Sorry for sending to your personal mail. but I have trouble sending to the
> DevCpp list. it something (well most of the times) reject my mail.
> Also I want to ask if this IDE that you are planning to code. Will be
> compiler specific. For (exept for WinEdit) I am looking for a
> IDE that can use almost any compiler. Like Borland C++ 5.
>
> Well just wanted to ask considering I cant get onto the DevCpp list to ask
> this Question..
>
> Thanks for your time and sorry for mailing your private..
>
> Johannes Pretorius
>
>
>
> At 07:25 19/06/2001 -0400, you wrote:
> >Hi,
> >Thank you for this code, it appears to work correctly with GCC.
> >
> >Sincerely,
> >Brian
> >
> >"Shall we accept good from God, and not trouble?" Job 2:10
> >-----Original Message-----
> >From: dev...@li...
> >[mailto:dev...@li...]On Behalf Of Elias
> >Pschernig
> >Sent: Monday, June 18, 2001 5:17 PM
> >To: dev...@li...
> >Subject: Re: [Dev-C++] Reading GCC output
> >
> >
> > > I apologize for not being clear. I am coding a small IDE that
invokes
> >the GCC compiler, just
> > > like Dev-C++ does. Dev-C++ catches the output produced by GCC and
displays
> >the errors,
> > > warnings, and other GCC output at the bottom of the program. I would
like
> >to know how to do
> > > just that: invoke GCC from my program, catch the output, and display
it. I
> >know how to invoke
> > > GCC and display any output, but I do not know how to catch the output.
> >Could someone point me
> > > in the right direction? Thanks in advance.
> >
> >Hi, i don't know why the source code you posted doesn't work. I'm using
> >basically the same code in my programs. The program below works fine for
me
> >under win98, i'm using the code to catch output for another program, but
it
> >seems to work with 'gcc' just the same.
> >
> >I didn't look at your code in detail, but it's almost the same procedure:
> >
> >Cerate a temporary file, redirect the output from the called command into
> >that file, then read the contents of the temporary file and delete the
file.
> >
> >I compiled with 'gcc -mwindows -O3 -s -o catch.exe catch.c', but should
of
> >course work with a dev-c++ project as well.
> >
> >(Warning: This code may contain all sort of mistakes and bugs)(but i hope
it
> >does work)
> >
> >Elias Pschernig
> >
> >-- catch.c
> >#include <windows.h>
> >
> >void execute(char *command) {
> > char tempdir[1024];
> > char tempfile[1024];
> > STARTUPINFO sui;
> > PROCESS_INFORMATION pi;
> > HANDLE capture;
> >
> > GetTempPath(1024, tempdir);
> > GetTempFileName(tempdir, "bla", 0, tempfile);
> >
> > capture=CreateFile(tempfile,GENERIC_READ|GENERIC_WRITE,0,NULL,
> > CREATE_ALWAYS,FILE_ATTRIBUTE_TEMPORARY,NULL);
> >
> > memset(&sui,0,sizeof sui);
> >
> > sui.cb = sizeof sui;
> > sui.lpTitle = "my redir";
> > sui.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
> > sui.hStdOutput = capture;
> > sui.hStdError = capture;
> > sui.hStdInput = NULL;
> > sui.wShowWindow = SW_HIDE;
> >
> > if(CreateProcess(NULL, command,
> > NULL, NULL, TRUE, 0, NULL, tempdir, &sui, &pi)) {
> >
> > char *buffer;
> > DWORD size;
> >
> > WaitForSingleObject(pi.hProcess, INFINITE);
> >
> > SetFilePointer(capture, 0, NULL, FILE_BEGIN);
> > size = GetFileSize(capture, NULL);
> > buffer = alloca(size+1);
> >
> > ReadFile(capture, buffer, size, &size, NULL);
> > buffer[size] = 0;
> >
> > CloseHandle(capture);
> >
> > CloseHandle(pi.hThread);
> > CloseHandle(pi.hProcess);
> >
> > DeleteFile(tempfile);
> >
> > MessageBox(NULL,buffer,"Captured Output",MB_OK);
> >
> > } else {
> > MessageBox(NULL,command,"Error: Could not execute",MB_OK);
> > }
> >
> >}
> >
> >int WINAPI WinMain(HINSTANCE hinst,HINSTANCE prev,LPSTR arg,int show) {
> > execute("gcc -v");
> > return 0;
> >}
> >
> >
> >_______________________________________________
> >Dev-cpp-users mailing list
> >Dev...@li...
> >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >---
> >Incoming mail is certified Virus Free by AVG
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
> >
> >---
> >Outgoing mail is certified Virus Free by AVG
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
> >
> >
> >NetZero Platinum
> >No Banner Ads and Unlimited Access
> >Sign Up Today - Only $9.95 per month!
> >http://www.netzero.net
> >
> >_______________________________________________
> >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
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|
|
From: Steve D. P. <ste...@ho...> - 2001-06-19 17:05:03
|
You can create console apps, but they will be 32-bit and only function within the cosole window of a 32-bit version of Windows. MinGW (the compiler at the core of Dev-C++) does not produce 16-bit executables. ----- Original Message ----- From: "Zade, Ashutosh" <az...@cy...> To: <dev...@li...> Sent: Tuesday, June 19, 2001 11:53 AM Subject: [Dev-C++] 16 bit dos applications > > Hi, > I am new to Dev-C++ environment. > Can I create 16 bit dos applications using DevC++? > > Thanks. > Zade > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Johannes P. <joh...@pr...> - 2001-06-19 15:57:02
|
Hi there
------------
Sorry for sending to your personal mail. but I have trouble sending to the
DevCpp list. it something (well most of the times) reject my mail.
Also I want to ask if this IDE that you are planning to code. Will be
compiler specific. For (exept for WinEdit) I am looking for a
IDE that can use almost any compiler. Like Borland C++ 5.
Well just wanted to ask considering I cant get onto the DevCpp list to ask
this Question..
Thanks for your time and sorry for mailing your private..
Johannes Pretorius
At 07:25 19/06/2001 -0400, you wrote:
>Hi,
>Thank you for this code, it appears to work correctly with GCC.
>
>Sincerely,
>Brian
>
>"Shall we accept good from God, and not trouble?" Job 2:10
>-----Original Message-----
>From: dev...@li...
>[mailto:dev...@li...]On Behalf Of Elias
>Pschernig
>Sent: Monday, June 18, 2001 5:17 PM
>To: dev...@li...
>Subject: Re: [Dev-C++] Reading GCC output
>
>
> > I apologize for not being clear. I am coding a small IDE that invokes
>the GCC compiler, just
> > like Dev-C++ does. Dev-C++ catches the output produced by GCC and displays
>the errors,
> > warnings, and other GCC output at the bottom of the program. I would like
>to know how to do
> > just that: invoke GCC from my program, catch the output, and display it. I
>know how to invoke
> > GCC and display any output, but I do not know how to catch the output.
>Could someone point me
> > in the right direction? Thanks in advance.
>
>Hi, i don't know why the source code you posted doesn't work. I'm using
>basically the same code in my programs. The program below works fine for me
>under win98, i'm using the code to catch output for another program, but it
>seems to work with 'gcc' just the same.
>
>I didn't look at your code in detail, but it's almost the same procedure:
>
>Cerate a temporary file, redirect the output from the called command into
>that file, then read the contents of the temporary file and delete the file.
>
>I compiled with 'gcc -mwindows -O3 -s -o catch.exe catch.c', but should of
>course work with a dev-c++ project as well.
>
>(Warning: This code may contain all sort of mistakes and bugs)(but i hope it
>does work)
>
>Elias Pschernig
>
>-- catch.c
>#include <windows.h>
>
>void execute(char *command) {
> char tempdir[1024];
> char tempfile[1024];
> STARTUPINFO sui;
> PROCESS_INFORMATION pi;
> HANDLE capture;
>
> GetTempPath(1024, tempdir);
> GetTempFileName(tempdir, "bla", 0, tempfile);
>
> capture=CreateFile(tempfile,GENERIC_READ|GENERIC_WRITE,0,NULL,
> CREATE_ALWAYS,FILE_ATTRIBUTE_TEMPORARY,NULL);
>
> memset(&sui,0,sizeof sui);
>
> sui.cb = sizeof sui;
> sui.lpTitle = "my redir";
> sui.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
> sui.hStdOutput = capture;
> sui.hStdError = capture;
> sui.hStdInput = NULL;
> sui.wShowWindow = SW_HIDE;
>
> if(CreateProcess(NULL, command,
> NULL, NULL, TRUE, 0, NULL, tempdir, &sui, &pi)) {
>
> char *buffer;
> DWORD size;
>
> WaitForSingleObject(pi.hProcess, INFINITE);
>
> SetFilePointer(capture, 0, NULL, FILE_BEGIN);
> size = GetFileSize(capture, NULL);
> buffer = alloca(size+1);
>
> ReadFile(capture, buffer, size, &size, NULL);
> buffer[size] = 0;
>
> CloseHandle(capture);
>
> CloseHandle(pi.hThread);
> CloseHandle(pi.hProcess);
>
> DeleteFile(tempfile);
>
> MessageBox(NULL,buffer,"Captured Output",MB_OK);
>
> } else {
> MessageBox(NULL,command,"Error: Could not execute",MB_OK);
> }
>
>}
>
>int WINAPI WinMain(HINSTANCE hinst,HINSTANCE prev,LPSTR arg,int show) {
> execute("gcc -v");
> return 0;
>}
>
>
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>---
>Incoming mail is certified Virus Free by AVG
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
>
>---
>Outgoing mail is certified Virus Free by AVG
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
>
>
>NetZero Platinum
>No Banner Ads and Unlimited Access
>Sign Up Today - Only $9.95 per month!
>http://www.netzero.net
>
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Zade, A. <az...@cy...> - 2001-06-19 15:53:54
|
Hi, I am new to Dev-C++ environment. Can I create 16 bit dos applications using DevC++? Thanks. Zade |