dev-cpp-users Mailing List for Dev-C++ (Page 342)
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: Per W. <pw...@ia...> - 2003-07-24 01:07:53
|
One more thing - this information is about cracking a password, i.e. finding out what it is. If I don't bother, there are a number of programs available what will allow setting a new password without knowing the old. /Per W On Thu, 24 Jul 2003, Ioannis Vranos wrote: > I think this is interesting for everyone in the list, so I thought to drop > it in here. > > > > >From WinInfo Daily Update: > > === 1. News and Views ==== > by Paul Thurrott, thu...@wi... > > Researchers Crack Windows Passwords in Seconds > Swiss researchers have developed a password-cracking scheme, based > on a method first developed in 1980, that lets them crack most Windows > passwords in about 13 seconds (the original method takes more than a > minute and a half longer). The scheme enforces a growing concern in > the security community that the way in which Microsoft encodes > passwords in Windows is inherently weak, opening the door for cracking > programs to use brute-force methods to test and break passwords. > Philippe Oechslin, one of the Swiss researchers, recently published > an online paper, "Making a Faster Cryptanalytic Time-Memory > Trade-Off," which highlights the new password-cracking scheme. > Oechslin will present the paper in August at Crypto 2003, an > international cryptology conference held this year at the University > of California, Santa Barbara and organized by the International > Association for Cryptologic Research (IACR) in cooperation with the > IEEE Computer Society Technical Committee on Security and Privacy. > "As an example, we have implemented an attack on MS-Windows > password hashes," the researchers write. "Using 1.4GB of data (two > CD-ROMs) we can crack 99.9 percent of all alphanumerical passwords > hashes ... in 13.6 seconds whereas it takes 101 seconds with the > current approach using distinguished points. We show that the gain > could be even much higher depending on the parameters used." > Oddly, the researchers weren't interested in cracking Windows > passwords but rather were trying to demonstrate the previous > theoretical cryptanalytic time-memory trade-off technique. They note > that Microsoft's passwords are weak because, when encrypted, they > don't include any random information. Thus, the same password on two > Windows machines will always be the same when encrypted, which makes > breaking the password encryption much easier than if the passwords > were randomized. > Although generating more secure passwords by using nonalphanumeric > characters and other special characters is possible, the researchers > say that even this approach won't solve the inherent problem in > Windows because all they'd need is more time or a larger data set (or > both) to crack those passwords as well. Instead, Microsoft will have > to fix this feature to encrypt passwords with random information, the > researchers say. > > ---------------------------------------------------------------------------- > ----------------------- > > > > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > 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: <or...@vp...> - 2003-07-24 00:12:55
|
Ioannis Vranos wrote: > I think this is interesting for everyone in the list, so I thought to drop > it in here. > ... Yes, it is. But sadly, this issue has been known for a very long time. I heard that Windows passwords could be easily cracked 4 years ago! Well, that's what we get. That's why I never trust anything, where M$ sais: "security". I don't even trust M$ itself. -- Greetings, Balázs |
|
From: Ioannis V. <iv...@em...> - 2003-07-23 21:52:19
|
I think this is interesting for everyone in the list, so I thought to = drop it in here. From WinInfo Daily Update: =3D=3D=3D 1. News and Views =3D=3D=3D=3D by Paul Thurrott, thu...@wi... Researchers Crack Windows Passwords in Seconds Swiss researchers have developed a password-cracking scheme, based on a method first developed in 1980, that lets them crack most Windows passwords in about 13 seconds (the original method takes more than a minute and a half longer). The scheme enforces a growing concern in the security community that the way in which Microsoft encodes passwords in Windows is inherently weak, opening the door for cracking programs to use brute-force methods to test and break passwords. Philippe Oechslin, one of the Swiss researchers, recently published an online paper, "Making a Faster Cryptanalytic Time-Memory Trade-Off," which highlights the new password-cracking scheme. Oechslin will present the paper in August at Crypto 2003, an international cryptology conference held this year at the University of California, Santa Barbara and organized by the International Association for Cryptologic Research (IACR) in cooperation with the IEEE Computer Society Technical Committee on Security and Privacy. "As an example, we have implemented an attack on MS-Windows password hashes," the researchers write. "Using 1.4GB of data (two CD-ROMs) we can crack 99.9 percent of all alphanumerical passwords hashes ... in 13.6 seconds whereas it takes 101 seconds with the current approach using distinguished points. We show that the gain could be even much higher depending on the parameters used." Oddly, the researchers weren't interested in cracking Windows passwords but rather were trying to demonstrate the previous theoretical cryptanalytic time-memory trade-off technique. They note that Microsoft's passwords are weak because, when encrypted, they don't include any random information. Thus, the same password on two Windows machines will always be the same when encrypted, which makes breaking the password encryption much easier than if the passwords were randomized. Although generating more secure passwords by using nonalphanumeric characters and other special characters is possible, the researchers say that even this approach won't solve the inherent problem in Windows because all they'd need is more time or a larger data set (or both) to crack those passwords as well. Instead, Microsoft will have to fix this feature to encrypt passwords with random information, the researchers say. -------------------------------------------------------------------------= --- ----------------------- Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net |
|
From: <ten...@ne...> - 2003-07-23 18:53:08
|
Have Mr Canteau linked to the library? Abhijit Shylanath wrote: >-----Original Message----- >From: can...@fr... [mailto:can...@fr...] >Sent: Wednesday, July 23, 2003 2:34 PM >To: mu...@gm... >Subject: > > > >>Can you help me with the WINBGIM library? >>Why , when i use devc++ 4.9.8.0 with bgi libs (WINBGIM.h,...) >>This software return to me lot of error???? >>What is the problem??? >>sorry for my english, i m french >> >> > >Hello, Canteau; you should click `Reply All' on this list; not `Reply'. > >We can help you if you reproduce the errors here. > >-- >Abhijit Shylanath >Homepage: http://mudeth.tripod.com/ > > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >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: Jupercio J. <jup...@ya...> - 2003-07-23 17:45:54
|
Hi,
I'm a newbie in gtk and had some problems after instaled the package.
When I tried do compile a new gtk project, I noticed that Dev-Cpp
put a Hello world code, I had a lot of problems and one of the, I think
is the main, is with the glibconfig.h include.
This file doesn't exist in my dev-cpp directory.
My someone help me with this problem?
thanks.
--
jupercio juliano
-------------------------
Software Livre na cabeça:
www.gnu.org/philosophy/free-sw.pt.html
www.br.debian.org/intro/about.pt.html
www.cipsga.org.br
Linux user 262957 - Debian GNU/Linux
ICQ#71880027 - jupa no canal #debian-br em irc.debian.org
------------------------------------------------
"Our Priorities are Our Users and Free Software"
Debian Social Contract
|
|
From: Abhijit S. <mu...@gm...> - 2003-07-23 17:43:58
|
Hello, Scott. > I am thinking about using an old laptop to do my OpenGL work. Do you > think it is fast enough, or should I e-bay one? > 180 MHz MMX CPU > 24 MB RAM > 1MB NeoMagic Sound Card > Random, horrible sound card > 1.5 GB HD > Do you think this will do? That depends on two things: 1. Does your card support OpenGL acceleration? If not, you definitely should upgrade (AT LEAST your video card). Software OpenGL just doesn't make the mark. I suspect your card (the NeoMagic?) has no hardware support, since it has only 1M of VRAM. 2. Your application. If you need to do heavy CPU/memory intensive work, then you should upgrade. This is optional. If you're just learning, this spec should be enough (with a hardware accelerator) till you figure out what you aim to do. If game-programming is your thing, then you will definitely need to upgrade. -- Abhijit Shylanath Homepage: http://mudeth.tripod.com/ |
|
From: Abhijit S. <mu...@gm...> - 2003-07-23 17:36:57
|
-----Original Message----- From: can...@fr... [mailto:can...@fr...] Sent: Wednesday, July 23, 2003 2:34 PM To: mu...@gm... Subject: > Can you help me with the WINBGIM library? > Why , when i use devc++ 4.9.8.0 with bgi libs (WINBGIM.h,...) > This software return to me lot of error???? > What is the problem??? > sorry for my english, i m french Hello, Canteau; you should click `Reply All' on this list; not `Reply'. We can help you if you reproduce the errors here. -- Abhijit Shylanath Homepage: http://mudeth.tripod.com/ |
|
From: Zodiaq <zo...@ac...> - 2003-07-23 17:18:11
|
Hello Carlos and all Dev-C++ users,
Wednesday, July 23, 2003, 7:07:33 PM, Carlos wrote as follows:
CGdM> In the Win32 API reference it's claimed that when you want to use the
CGdM> lpCustColors of that structure, you shall provide a pointer to a 16
CGdM> COLORREF values.
CGdM> So you shall do this:
CGdM> LPCOLORREF rgbCust = (LPCOLORREF)GlobalAlloc(GPTR, 16 * sizeof(COLORREF));
CGdM> And in the message where you want select a color through the common dialog
CGdM> CHOOSECOLOR chc;
CGdM> [...]
CGdM> chc.lpCusrtColors = rgbCust;
CGdM> if (!ChooseColor(&chc)){
CGdM> [...]
CGdM> When I do this I get that the first square of custom colors is
CGdM> initialized to a random color, not black, and if I select it, then when
CGdM> I want paint something I get a memory access violation.
CGdM> Then I change rgbCust to point to 17 values.
CGdM> The same happens.
CGdM> Then I make it point to 17 and pass &rgbCust[1];
CGdM> Now it works nice.
CGdM> Then I make it point to 16 values and I pass &rgbCust[1]. It works.
CGdM> So this is the problem: you pass the COLORREF array to the struct but it
CGdM> receives &rgbCust[-1] from the pointer you provide.
There is nothing strange when you do likt this (code from Platform SDK
AFAIR):
CHOOSECOLOR cc; // common dialog box structure
static COLORREF custClrs[ 16 ];
// Initialize CHOOSECOLOR
ZeroMemory( &cc, sizeof( CHOOSECOLOR ));
cc.lStructSize = sizeof( CHOOSECOLOR );
cc.hwndOwner = main_hwnd;//main_hwnd is my var
//cc.hInstance = hInstance;
cc.rgbResult = chosen_color;//my global var for storing color
cc.Flags = CC_ANYCOLOR | CC_RGBINIT | CC_FULLOPEN;
cc.lpCustColors = custClrs;
if( ChooseColor( &cc ) == TRUE )
{
chosen_color = cc.rgbResult;
return TRUE;
}
return FALSE;
--
regards, Zodiaq
|
|
From: Per W. <pw...@ia...> - 2003-07-23 17:09:15
|
Any old hw can do OpenGL. It's just a question of frames per second, and how many vertices, triangles and textures to use. /Per W On Wed, 23 Jul 2003, Daniel Glenfield wrote: > I've only used DirectX, but I doubt your spec will be enough. > You could use it to write the code, but I think testing is out of the > question unless you have a good video card (24mb to emulate the card won't > do for complex programs). > > but I've never used it, I don't know - try it out. > > >From: Scott Simontis SIMONTIS <age...@co...> > >To: DevCpp User Group <dev...@li...> > >Subject: [Dev-C++] Computer Speed > >Date: Wed, 23 Jul 2003 10:19:17 -0400 > > > >I am thinking about using an old laptop to do my OpenGL work. Do you > >think it is fast enough, or should I e-bay one? > >180 MHz MMX CPU > >24 MB RAM > >1MB NeoMagic Sound Card > >Random, horrible sound card > >1.5 GB HD > >Do you think this will do? > >~~Scott Simontis~~ > >Programmer > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: VM Ware > >With VMware you can run multiple operating systems on a single machine. > >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > >_______________________________________________ > >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 > > _________________________________________________________________ > Use MSN Messenger to send music and pics to your friends > http://www.msn.co.uk/messenger > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > 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: <ten...@ne...> - 2003-07-23 17:07:51
|
In the Win32 API reference it's claimed that when you want to use the
lpCustColors of that structure, you shall provide a pointer to a 16
COLORREF values.
So you shall do this:
LPCOLORREF rgbCust = (LPCOLORREF)GlobalAlloc(GPTR, 16 * sizeof(COLORREF));
And in the message where you want select a color through the common dialog
CHOOSECOLOR chc;
[...]
chc.lpCusrtColors = rgbCust;
if (!ChooseColor(&chc)){
[...]
When I do this I get that the first square of custom colors is
initialized to a random color, not black, and if I select it, then when
I want paint something I get a memory access violation.
Then I change rgbCust to point to 17 values.
The same happens.
Then I make it point to 17 and pass &rgbCust[1];
Now it works nice.
Then I make it point to 16 values and I pass &rgbCust[1]. It works.
So this is the problem: you pass the COLORREF array to the struct but it
receives &rgbCust[-1] from the pointer you provide.
|
|
From: Daniel G. <sp...@ho...> - 2003-07-23 15:38:19
|
I've only used DirectX, but I doubt your spec will be enough. You could use it to write the code, but I think testing is out of the question unless you have a good video card (24mb to emulate the card won't do for complex programs). but I've never used it, I don't know - try it out. >From: Scott Simontis SIMONTIS <age...@co...> >To: DevCpp User Group <dev...@li...> >Subject: [Dev-C++] Computer Speed >Date: Wed, 23 Jul 2003 10:19:17 -0400 > >I am thinking about using an old laptop to do my OpenGL work. Do you >think it is fast enough, or should I e-bay one? >180 MHz MMX CPU >24 MB RAM >1MB NeoMagic Sound Card >Random, horrible sound card >1.5 GB HD >Do you think this will do? >~~Scott Simontis~~ >Programmer > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >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 _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger |
|
From: Scott S. S. <age...@co...> - 2003-07-23 14:19:47
|
I am thinking about using an old laptop to do my OpenGL work. Do you think it is fast enough, or should I e-bay one? 180 MHz MMX CPU 24 MB RAM 1MB NeoMagic Sound Card Random, horrible sound card 1.5 GB HD Do you think this will do? ~~Scott Simontis~~ Programmer |
|
From: <and...@su...> - 2003-07-23 11:11:31
|
Yes! It is.
I am working with genetic algorithms (programming thechnique
that mimics the biological behavior to solve the problems.
A "Darwinian" way to do that. A random set "population" of
candidates of solution begins with mutations, reproductions,
cross-overs, etc, to find the best family of solutions and
its best representant. It´s a sthocastic/heuristic way to
solve NP-hard problems) and I am interested to compare
a simple combinatorial analysis with the GA method. The simple
combinatorial analysis program will test all the
10*10*10*10*10*10=10^6 possible results. With the results
I will make some graphical comparisons.
Fishing this phase, I will need to develop some advanced
"cross-over" techniques.
Finishing this other phase, I will need to apply theese
results in a FPGA digital filter of specificy frequencies.
Thank you
Andre
-----Mensagem original-----
De: Rodolfo Dettorre [mailto:rod...@la...]
Enviada em: quarta-feira, 23 de julho de 2003 01:31
Para: André Macário Barros; Dev-Cpp-Users
Assunto: RE: [Dev-C++] Code for all combinations
Hi,
just curiosity, is that a school assignment? An idea would be to nest six
for statements.
Regards
Rodolfo d'Ettorre
-----Original Message-----
From: André Macário Barros [mailto:and...@su...]
Sent: Wednesday, 23 July 2003 1:54 PM
To: Dev-Cpp-Users
Subject: [Dev-C++] Code for all combinations
Dear Users,
I need to test all possibilities in a specific code.
I couldn´t realize how I can generate theese possibilities with two
for´s.
Here is the problem:
Suppose you have a vector like
int vect[6]={0};
How could be a C code to have (print for example) all possible
combinations in the
six positions from the range 0 to 10?
the output is something like:
0 , 0, 0, 0, 0, 0
1 , 0, 0, 0, 0, 0
2 , 0, 0, 0, 0, 0
...
10, 0, 0, 0, 0, 0
0 , 1, 0, 0, 0, 0
0 , 2, 0, 0, 0, 0
...
0 ,10, 0, 0, 0, 0
1, 1, 0, 0, 0, 0
2, 1, 0, 0, 0, 0
...
10, 1, 0, 0, 0, 0
1 , 2, 0, 0, 0, 0
2 , 2, 0, 0, 0, 0
...
10, 2, 0, 0, 0, 0
...
...
10,10,10,10,10,10
Some repetition values are allowed, that is, if you have to
reset all values to begin the counting to another digit, etc.
Regards
Andre
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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: <lis...@da...> - 2003-07-23 10:27:49
|
Hello xRxIxPx, Your Message: (Wednesday, July 23, 2003, 9:29:24 AM) x> (Well the only thing is, that I haven't found out yet how to use the glAux x> library with MinGW). This is what I did to get glaux running on Windows DevC++/mingw. Beware: I'm a total C newbie, so this might actually break something. Be sure to make backups of the files you replace. Go to opengl.org, download the windows API (or take this link: http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe ) It's probably a good idea *NOT* to to extract anything but the libraries and headers from this file as your graphics card drivers probably installed faster/optimized versions of the DLL files. From the zip's include/gl subdirectory you take glaux.h and copy it to your compilers include folder (include/GL). For some reason all DevC++ libraries are named libXXX.a where XXXX is the name of what it *should* be called (but who am I to complain about naming conventions). Anyway, in the zip folder lib/ there is a file called glaux.lib. Rename it to libglaux.a and copy it to your compilers library path. I also did the same with gl.* and glu32.*. Not sure if that was neccessary so I suggest you try it without those first. Hope that helps. -- Best regards, Dennis mailto:lis...@da... |
|
From: Per W. <pw...@ia...> - 2003-07-23 08:38:24
|
A slightly more efficient solution for the suspected school assignment:
#define BASE 11
#define MAX_DIGITS 6
int digit,vec[MAX_DIGITS];
for (;;) {
// This loop is also easy to unroll...
for (digit =3D 0; digit < MAX_DIGITS; digit++) {
if (++vec[digit] < BASE) break;
vec[digit] =3D 0;
}
if (digit >=3D MAX_DIGITS) break;
print(xx);
}
/Per W
On Wed, 23 Jul 2003, Rafael del Valle Huerta wrote:
> It's like counting in base 11 (6 digits, in reverse order).
>
> #define MAX 11L*11L*11L*11L*11L*11L // 11^6 -> 1.7e6
> ...
> unsigned long n, m;
> int i;
> int vect[6]=3D{0};
> ...
> for(n=3D0; n<MAX; n++) {
> m=3Dn;
> for(i=3D5; i>=3D0; i--) {
> vect[i]=3Dm%11;
> m/=3D11;
> printf("%ul, ", vect[i]);
> }
> printf("\n");
> }
> ...
>
> It's easy to "unroll" the inner loop in 6 steps and leave only one loop.
>
>
>
> -----Mensaje original-----
> De: dev...@li...
> [mailto:dev...@li...]En nombre de Rodolfo
> Dettorre
> Enviado el: mi=E9rcoles 23 de julio de 2003 6:31
> Para: Andr=E9 Mac=E1rio Barros; Dev-Cpp-Users
> Asunto: RE: [Dev-C++] Code for all combinations
>
>
> Hi,
>
> just curiosity, is that a school assignment? An idea would be to nest si=
x
> for statements.
>
> Regards
>
> Rodolfo d'Ettorre
>
> -----Original Message-----
> From: Andr=E9 Mac=E1rio Barros [mailto:and...@su...]
> Sent: Wednesday, 23 July 2003 1:54 PM
> To: Dev-Cpp-Users
> Subject: [Dev-C++] Code for all combinations
>
>
> Dear Users,
>
> I need to test all possibilities in a specific code.
> I couldn=B4t realize how I can generate theese possibilities with two
> for=B4s.
> Here is the problem:
>
> Suppose you have a vector like
> int vect[6]=3D{0};
>
> How could be a C code to have (print for example) all possible
> combinations in the
> six positions from the range 0 to 10?
> the output is something like:
> 0 , 0, 0, 0, 0, 0
> 1 , 0, 0, 0, 0, 0
> 2 , 0, 0, 0, 0, 0
> ...
> 10, 0, 0, 0, 0, 0
> 0 , 1, 0, 0, 0, 0
> 0 , 2, 0, 0, 0, 0
> ...
> 0 ,10, 0, 0, 0, 0
> 1, 1, 0, 0, 0, 0
> 2, 1, 0, 0, 0, 0
> ...
> 10, 1, 0, 0, 0, 0
> 1 , 2, 0, 0, 0, 0
> 2 , 2, 0, 0, 0, 0
> ...
> 10, 2, 0, 0, 0, 0
> ...
> ...
> 10,10,10,10,10,10
>
> Some repetition values are allowed, that is, if you have to
> reset all values to begin the counting to another digit, etc.
>
> Regards
> Andre
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> 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: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> 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: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> 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: xRxIxPx <xr...@gm...> - 2003-07-23 07:28:40
|
At 18:53 2003-07-22 -0400, Scott Simontis SIMONTIS wrote: >Hello. I have been trying to make the leap to game programming. >However, I find OpenGL and DirectX very difficult. Does anyone know a You usually find OpenGL difficult at first, but if you do not try to have everything used by your program, it actually is very simple. You could maybe start off in 2d mode and then go to 3d mode. But a major profit of OpenGL is portability and raw speed. Good tutorials can be found at http://nehe.gamedev.net (Well the only thing is, that I haven't found out yet how to use the glAux library with MinGW). >good graphics library that is easier then these two? It would also >help if you knew where to get tutorials for the library you reccomend. >Also, does anyone know where I can get some good tutorials on Windows >XP programming? |
|
From: Rafael d. V. H. <rde...@in...> - 2003-07-23 06:11:00
|
It's like counting in base 11 (6 digits, in reverse order).
#define MAX 11L*11L*11L*11L*11L*11L // 11^6 -> 1.7e6
...
unsigned long n, m;
int i;
int vect[6]={0};
...
for(n=0; n<MAX; n++) {
m=n;
for(i=5; i>=0; i--) {
vect[i]=m%11;
m/=11;
printf("%ul, ", vect[i]);
}
printf("\n");
}
...
It's easy to "unroll" the inner loop in 6 steps and leave only one loop.
-----Mensaje original-----
De: dev...@li...
[mailto:dev...@li...]En nombre de Rodolfo
Dettorre
Enviado el: miércoles 23 de julio de 2003 6:31
Para: André Macário Barros; Dev-Cpp-Users
Asunto: RE: [Dev-C++] Code for all combinations
Hi,
just curiosity, is that a school assignment? An idea would be to nest six
for statements.
Regards
Rodolfo d'Ettorre
-----Original Message-----
From: André Macário Barros [mailto:and...@su...]
Sent: Wednesday, 23 July 2003 1:54 PM
To: Dev-Cpp-Users
Subject: [Dev-C++] Code for all combinations
Dear Users,
I need to test all possibilities in a specific code.
I couldn´t realize how I can generate theese possibilities with two
for´s.
Here is the problem:
Suppose you have a vector like
int vect[6]={0};
How could be a C code to have (print for example) all possible
combinations in the
six positions from the range 0 to 10?
the output is something like:
0 , 0, 0, 0, 0, 0
1 , 0, 0, 0, 0, 0
2 , 0, 0, 0, 0, 0
...
10, 0, 0, 0, 0, 0
0 , 1, 0, 0, 0, 0
0 , 2, 0, 0, 0, 0
...
0 ,10, 0, 0, 0, 0
1, 1, 0, 0, 0, 0
2, 1, 0, 0, 0, 0
...
10, 1, 0, 0, 0, 0
1 , 2, 0, 0, 0, 0
2 , 2, 0, 0, 0, 0
...
10, 2, 0, 0, 0, 0
...
...
10,10,10,10,10,10
Some repetition values are allowed, that is, if you have to
reset all values to begin the counting to another digit, etc.
Regards
Andre
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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: Rodolfo D. <rod...@la...> - 2003-07-23 04:31:18
|
Hi,=20
just curiosity, is that a school assignment? An idea would be to nest =
six for statements.
Regards
Rodolfo d'Ettorre
-----Original Message-----
From: Andr=E9 Mac=E1rio Barros [mailto:and...@su...]
Sent: Wednesday, 23 July 2003 1:54 PM
To: Dev-Cpp-Users
Subject: [Dev-C++] Code for all combinations
Dear Users,
I need to test all possibilities in a specific code.
I couldn=B4t realize how I can generate theese possibilities with two
for=B4s.
Here is the problem:
Suppose you have a vector like
int vect[6]=3D{0};
How could be a C code to have (print for example) all possible
combinations in the
six positions from the range 0 to 10?
the output is something like:
0 , 0, 0, 0, 0, 0
1 , 0, 0, 0, 0, 0
2 , 0, 0, 0, 0, 0
...
10, 0, 0, 0, 0, 0
0 , 1, 0, 0, 0, 0
0 , 2, 0, 0, 0, 0
...
0 ,10, 0, 0, 0, 0
1, 1, 0, 0, 0, 0
2, 1, 0, 0, 0, 0
...
10, 1, 0, 0, 0, 0
1 , 2, 0, 0, 0, 0
2 , 2, 0, 0, 0, 0
...
10, 2, 0, 0, 0, 0
...
...
10,10,10,10,10,10
Some repetition values are allowed, that is, if you have to
reset all values to begin the counting to another digit, etc.
Regards
Andre
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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: <and...@su...> - 2003-07-23 03:54:18
|
Dear Users,
I need to test all possibilities in a specific code.
I couldn´t realize how I can generate theese possibilities with two
for´s.
Here is the problem:
Suppose you have a vector like
int vect[6]={0};
How could be a C code to have (print for example) all possible
combinations in the
six positions from the range 0 to 10?
the output is something like:
0 , 0, 0, 0, 0, 0
1 , 0, 0, 0, 0, 0
2 , 0, 0, 0, 0, 0
...
10, 0, 0, 0, 0, 0
0 , 1, 0, 0, 0, 0
0 , 2, 0, 0, 0, 0
...
0 ,10, 0, 0, 0, 0
1, 1, 0, 0, 0, 0
2, 1, 0, 0, 0, 0
...
10, 1, 0, 0, 0, 0
1 , 2, 0, 0, 0, 0
2 , 2, 0, 0, 0, 0
...
10, 2, 0, 0, 0, 0
...
...
10,10,10,10,10,10
Some repetition values are allowed, that is, if you have to
reset all values to begin the counting to another digit, etc.
Regards
Andre
|
|
From: Yeoh H. <ye...@ye...> - 2003-07-23 01:58:21
|
Scott Simontis SIMONTIS <age...@co...> wrote: > Hello. I have been trying to make the leap to game programming. > However, I find OpenGL and DirectX very difficult. Does anyone know a > good graphics library that is easier then these two? It would also > help if you knew where to get tutorials for the library you reccomend. > Also, does anyone know where I can get some good tutorials on Windows > XP programming? > > ~~Scott Simontis~~ > Programmer > You might want to check out SDL. Here are some details from its readme file. The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library designed to make it easy to write multi-media software, such as games and emulators. The Simple DirectMedia Layer library source code is available from: http://www.libsdl.org/ This library is distributed under the terms of the GNU LGPL license: http://www.gnu.org/copyleft/lesser.html I've tested SDL 1.2.5 and it works well with Dev-C++/MinGW and Visual C++. Best Regards, Yeoh -- Free downloads for Dev-C++ users at http://www.yeohhs.com |
|
From: Zodiaq <zo...@ac...> - 2003-07-23 00:05:04
|
Hello Scott and all Dev-C++ users, Wednesday, July 23, 2003, 12:53:37 AM, Scott wrote as follows: SSS> Hello. I have been trying to make the leap to game programming. SSS> However, I find OpenGL and DirectX very difficult. Does anyone know a SSS> good graphics library that is easier then these two? It would also SSS> help if you knew where to get tutorials for the library you reccomend. SSS> Also, does anyone know where I can get some good tutorials on Windows SSS> XP programming? I'm not a game developer, first I have to finish more important things, but I'm going to be one... for you I propose to focus on OpenGL as it is portable - many different OS uses it... yeah, it is hard - at least as I noticed it while looking at some sources... but there are few quite interesting helps for you - for example there is ogre - this is AFAIR some kind of simplied interface to OpenGL... just chech sourceforge (look for ogre)... the second think the best tutorials with lots of source code are on nehe.gamedev.net - extremly usefull and all about OpenGL - I know that when I start seriously coding engine this portal will be my starting page - just check it out... maybe bare OpenGL (without ogre) won't be so scarry... Last thing - programming only for Windows XP?? AFAIK there is no big difference - just themes... huh, more then themes if you want to get deeper insight... If I were you I'd downloaded Platform SDK (the best available, twice a year [or more] updated help form M$ about EVERY aspect of Windows - including: Access Control Active Accessibility Active Directory Active Directory Services Interface (ADSI) Active Server Pages (ASP) ActiveX Data Objects (ADO) ADO ADSI ASP Authorization Manager Automation Background Intelligent Transfer Service (BITS) BITS Bluetooth CDO ..... I have just coppied till letter C what is insight... imagine how much there is more... get it from here for FREE (only one really free stuff from M$) http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm if you decide to program Direct X then you HAVE TO have this baby: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp click DirectX 9.0a SDK -- regards, Zodiaq |
|
From: Scott S. S. <age...@co...> - 2003-07-22 22:53:45
|
Hello. I have been trying to make the leap to game programming. However, I find OpenGL and DirectX very difficult. Does anyone know a good graphics library that is easier then these two? It would also help if you knew where to get tutorials for the library you reccomend. Also, does anyone know where I can get some good tutorials on Windows XP programming? ~~Scott Simontis~~ Programmer |
|
From: Michal M. <mol...@se...> - 2003-07-22 19:13:20
|
ri...@un... wrote: > > I was looking for some free library or program in C/C++ (or built > with the Allegro library) to plot sets of points in 3 dimensions?. > > thanks in advance for your help or information. > Ricardo. IMHO is easiest to use OpenGL |
|
From: Per W. <pw...@ia...> - 2003-07-22 19:02:41
|
And I wouldn't mind a subject either - maybe Empty /Per W On Wed, 23 Jul 2003, Abhijit Shylanath wrote: > > > Messages sent to this mailing list should be sent in text format, not > > html, so people who has mail program which don't read html have a hard > > work to find the text. (That's not my case, but so your trial is > > complete). > > Thank you. > > Yuppers. One more thing - they should have content. > > -- > Abhijit Shylanath > Homepage: http://mudeth.tripod.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > 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: Abhijit S. <mu...@gm...> - 2003-07-22 18:55:23
|
> Messages sent to this mailing list should be sent in text format, not > html, so people who has mail program which don't read html have a hard > work to find the text. (That's not my case, but so your trial is > complete). > Thank you. Yuppers. One more thing - they should have content. -- Abhijit Shylanath Homepage: http://mudeth.tripod.com/ |