dev-cpp-users Mailing List for Dev-C++ (Page 192)
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: Alvin T. <alv...@th...> - 2004-08-12 12:08:02
|
Daniel K. O. wrote: > Noorez Kassam wrote: > >> where is _cplusplus defined? > > > > It's a built-in macro, defined when you are compiling in C++ mode. > > > > Daniel K. O. what danny said. that construct is used to allow c programs to be able to link to the library that's produced by that code, even if it's c++ code. of course, that does NOT mean that you can slap it around any c++ header and expect it to work; you can't export any non-c stuff (like overloaded functions). -alvin |
|
From: <age...@co...> - 2004-08-12 11:39:49
|
Actually, I was aiming to get into games at some point! I have heard of the book Beginning C++ Game Programming, but have never looked through it. A bookstore near me has a copy, and I will browse through it next time I go. The other choice I was considering was The C++ Programming Language, Special Edition. However, because of what my goals are in programming, I think I will check out Beginning C++ Game Programming. Thank you all for your input. -- ~~Scott Simontis~~ > > I have been idling on learning C++ for a while now, and want to get involved > again. Right now, I was thinking about starting some graphics programming using > GLUT/OpenGL, but I would like to learn some more on C++ first. I know very > little of the STL containers, STL algorithms, exception handling, and advanced > object-oriented features such as multiple inheritance, polymorphism, and virtual > inheritance. I have already gone through some basic C++ books. These include C++ > for Dummies, 3rd edition, C++ From The Ground Up, 2nd Edition, and I have gone > through most of Thinking in C++: Volume 1, edition 2. I currently have a few > questions related to this: > > 1. Should I get another primer, a specialized book, or a reference? > > 2. What books would you reccomend? > > Thank you all for your help. > > assuming your aim is to get into games programming, I recommend > starting slow. I'm also trying to get into games programming, with the > eventual goal of 3D with OpenGL... however, I have found a book called > "Beginning C++ Game Programming" and absolute gem. here's the link to > amazon: > > http://www.amazon.com/exec/obidos/tg/detail/-/1592002056/qid%3D1092275016/sr%3D1 > -1/102-9504236-7768124 > > I had a bit of C knowledge before (not much), and this book is > fantastic. It covers the STL as well. Not in huge depth, but that > would take a book of its own. > > the reviews should speak for themselves. as a followup, I recommend > "Game Programming All in One." > > http://www.amazon.com/exec/obidos/tg/detail/-/1592003834/ref=pd_ser_asin_11/102- > 9504236-7768124?v=glance&s=books > > from there, 3D programming. > > :) > > I've nearly finished the Beginning C++ Game Programming, and I'm very > happy with it thus far. Oh, and it comes with a copy of Dev-C++, so > you know the code will work in your environment :) > > Of course, I may be missing the mark and you might not be interested > in games at all.... |
|
From: <age...@co...> - 2004-08-12 11:36:15
|
Thank you for your spam. This is a PROGRAMMING e-mail user group. Thats a nice way to start a flame war directed at you. -- ~~Scott Simontis~~ > Hello, > I write to seek your services in a private matter regarding the late Adam A > Williams who died from united states of america leaving some funds unclaimed in > our bank without any > beneficiary.This requires a private arrangement.Could you perhaps be able to > receive these funds under legal claims then I will fill you in.I am willing to > pay a generous management and transfer fees as well as appreciation for fewer > questions asked and your participation.15% > > I need assistance from a trustworthy and reliable person whom i will fill in as > the beneficiary to provide an account where this fund will be remmited.Ihave all > the details and will fill you in if you are really willing. Your major role > would be to open a bank account where the funds will be transferred.All > correspondences will be via email,for now.The funds in question are quite large > (about $26,000,000). I will expect a straight answer from you. Yes or no. If > yes, then let's work out the modalities.You can also reach me on this my > alternative email address:oth...@ya... > Closing with anticipation. > Mr othman jaafar |
|
From: Daniel K. O. <dan...@ya...> - 2004-08-12 04:56:26
|
Noorez Kassam wrote: > where is _cplusplus defined? It's a built-in macro, defined when you are compiling in C++ mode. Daniel K. O. |
|
From: Noorez K. <coo...@ho...> - 2004-08-12 04:43:10
|
What does this mean
#ifndef _cplusplus
extern "C" {
#endif
//code hear
#ifndef _cplusplus
}
#endif
where is _cplusplus defined?
_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound
e-mail and attachments.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|
|
From: othman j. <oth...@ya...> - 2004-08-12 03:23:15
|
Hello, I write to seek your services in a private matter regarding the late Adam A = Williams who died from united states of america leaving some funds unclaimed = in our bank without any beneficiary.This requires a private arrangement.Could you perhaps be able to = receive these funds under legal claims then I will fill you in.I am willing = to pay a generous management and transfer fees as well as appreciation for = fewer questions asked and your participation.15% I need assistance from a trustworthy and reliable person whom i will fill in = as the beneficiary to provide an account where this fund will be = remmited.Ihave all the details and will fill you in if you are really = willing. Your major role would be to open a bank account where the funds will = be transferred.All correspondences will be via email,for now.The funds in = question are quite large (about $26,000,000). I will expect a straight answer = from you. Yes or no. If yes, then let's work out the modalities.You can also = reach me on this my alternative email address:oth...@ya... Closing with anticipation. Mr othman jaafar |
|
From: Leon-NTS <le...@nt...> - 2004-08-12 02:01:38
|
Hello,
Try this one
Sams Teach Yourself C++ in 24 Hours, Third Edition
By Jesse Liberty
Leon Lai
----- Original Message -----
From: <age...@co...>
To: "DevCpp User Group" <dev...@li...>
Sent: Thursday, August 12, 2004 9:05 AM
Subject: [Dev-C++] Looking for a good intermediate C++ book
> I have been idling on learning C++ for a while now, and want to get
involved again. Right now, I was thinking about starting some graphics
programming using GLUT/OpenGL, but I would like to learn some more on C++
first. I know very little of the STL containers, STL algorithms, exception
handling, and advanced object-oriented features such as multiple
inheritance, polymorphism, and virtual inheritance. I have already gone
through some basic C++ books. These include C++ for Dummies, 3rd edition,
C++ From The Ground Up, 2nd Edition, and I have gone through most of
Thinking in C++: Volume 1, edition 2. I currently have a few questions
related to this:
> 1. Should I get another primer, a specialized book, or a reference?
> 2. What books would you reccomend?
> Thank you all for your help.
>
> --
> ~~Scott Simontis~~
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> 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: <age...@co...> - 2004-08-12 01:05:18
|
I have been idling on learning C++ for a while now, and want to get involved again. Right now, I was thinking about starting some graphics programming using GLUT/OpenGL, but I would like to learn some more on C++ first. I know very little of the STL containers, STL algorithms, exception handling, and advanced object-oriented features such as multiple inheritance, polymorphism, and virtual inheritance. I have already gone through some basic C++ books. These include C++ for Dummies, 3rd edition, C++ From The Ground Up, 2nd Edition, and I have gone through most of Thinking in C++: Volume 1, edition 2. I currently have a few questions related to this: 1. Should I get another primer, a specialized book, or a reference? 2. What books would you reccomend? Thank you all for your help. -- ~~Scott Simontis~~ |
|
From: Michal M. <mi...@mo...> - 2004-08-11 22:17:05
|
Dane Ensign wrote:
> //students.h
> class students
> {
> public:
> students();
>
> private:
> string fname;
> string lname;
> int scoreWin, scoreWord, scoreExcel, scoreAccess, scorePoint;
> };
std::string fname;
std::string lname;
or put
using namespace std;
before
#include "students.h"
--
Regards,
Michal
|
|
From: Dane E. <DE...@pa...> - 2004-08-11 21:44:08
|
Hi all,
=20
Thank you in advance for any help that you can offer.=20
Im working on a basic program with a 'students class' When I try to
compile my crude code to ensure I have my basic files built, I get this
error:
=20
9 C:\Documents and Settings\densign\Desktop\Students\students.h
'string' is used as a type, but is not defined as a type.
=20
I have 3 files that Im using. They are: main.cpp, students.h, and
students.cpp.
Here is their code:
=20
//main.cpp
#include <string>
#include <iostream>
#include <stdlib.h>
#include <vector>
#include "students.h"
=20
using namespace std;
=20
//Functions
void DaneHeader();
=20
int main(int argc, char *argv[])
{
DaneHeader();
=20
system("PAUSE");=20
return 0;
}
=20
void DaneHeader()
{
cout << "\nDane Ensign" << "\nStudents App." << "\n**********\n\n";
_____________________
//students.h
class students
{
public:
students();
=20
private:
string fname;
string lname;
int scoreWin, scoreWord, scoreExcel, scoreAccess, scorePoint;=20
};
________________________
//students.cpp
#include <string>
#include <iostream>
#include <stdlib.h>
using namespace std;
#include "students.h"
=20
// default constructor
students::students()
{
fname =3D "First";
lname =3D "Last";
scoreWin =3D 0;
scoreWord =3D 0;
scoreExcel =3D 0;
scoreAccess =3D 0;
scorePoint =3D 0; =20
}
_________
=20
|
|
From: <erm...@ho...> - 2004-08-11 13:59:31
|
<html><div style='background-color:'><DIV class=RTE>Dev-cpp-users -- confirmation of subscription -- request 190988<BR><BR>We have received a request from 80.221.71.172 for subscription of your<BR>email address, <<A href="mailto:erm...@ho...">erm...@ho...</A>>, to the<BR><A href="mailto:dev...@li...">dev...@li...</A> mailing list. To confirm the<BR>request, please send a message to<BR><A href="mailto:dev...@li...">dev...@li...</A>, and either:<BR><BR>- maintain the subject line as is (the reply's additional "Re:" is<BR>ok),<BR><BR>- or include the following line - and only the following line - in the<BR>message body: <BR><BR>confirm 190988<BR><BR>(Simply sending a 'reply' to this message should work from most email<BR>interfaces, since that usually leaves the subject line in the right<BR>form.)<BR><BR>If you do not wish to subscribe to this list, please simply disregard<BR>this message. Send questions to<BR><A href="mailto:dev...@li...">dev...@li...</A>.<BR></DIV></div><br clear=all><hr>Tilaa Hotmail-viestit kännykkääsi! <a href="http://g.msn.com/8HMBFIFI/2731??PS=47575">Tutustu palveluun klikkaamalla tästä.</a> </html> |
|
From: Quain <qu...@fr...> - 2004-08-11 07:41:06
|
Hi! I hope this is the right mail adress of the dev-cpp team. So: -I may be alone with this, but i like to keep thing in one place, so there shound be a way to make it easier for winXp/2k users to keep their config files in the dev-cpp directory (maybe when asked by the installer if they want to install it for all users, an override file coud be copied to the dev-cpp dir) (i personally keep it in dev-cpp\cfg) -I'would like to see a "smart indent", like in visual c++ (i don't know if it's there and just not shown as an option, but when i insert a closing brace at a deeper indenting level, it still places it at the right border) -an indent size, and indent new line/whatever (when i write a multi line procedure, the two braces should go right under the procedure name, but the code between the braces should go a char deeper) If they're already implemented then sorry :) ^-I sent this message to webmaster or pos...@bl..., but his mailbox is full :( And two more: whe enabling debugging or profile anaysis, it should pop up a windows if i want to recompile (obviously yes), and there should be a disable profiling and disable debug under the enable profiling/debugging menu entries (The only way to disable them is in the compiler options, and linker options) |
|
From: Jorge A. <jor...@ep...> - 2004-08-11 02:00:02
|
I find this in Google=20 (http://www.ics.uci.edu/~dan/class/165/notes/bigarrays.html), maybe it=20 can help: Big arrays in C procedures There is a not-very-huge number N such that, if a procedure declares a=20 local integer array larger than N, you get a segmentation fault when the=20 procedure is called. The same holds for multiple arrays whose total=20 space is equivalent. Apparently whatever C uses for automatic variables=20 cannot handle this magnitude of array on the stack of procedure calls. =20 I would suggest that you use one of the following methods: 1. Declare the large arrays as a local variable in one file, and as a global variable in all procedures. This works, but I can see no advantage to it relative to the following two methods. 2. Declare the arrays in the procedures as static. This retains locality of variables, and is quite simple. However, the (excessive) storage remains in existence even when the procedures that use it are not executing. 3. Only declare (int **) variables, and use calloc to get the required space when needed, returning it when done. This retains locality of variables without wasting a large chunk of space when the procedures that use the big arrays are not in use. There is an added bonus in that you can save much space for each array by building triangular arrays, which is not much harder than building square ones when using C's pointer-vector system. tay...@dd... escribi=F3: >Thanks to your advice I was able to go a little further with my program.= =20 >However, when I tried to assign values to the array, the debugger gives = me a=20 >message telling about a segment fragmentation problem and then crashes.=20 > >The way I assign the values is the following: > > >for (i=3D0;i<FL[0];i++) > { > numbuque[i][0]=3D0; // tipo de buque - rango de esloras menor > numbuque[i][1]=3Di; // numero de llegada del buque > =20 > } > >Any suggestion? Thanks, > >Jorge=20 > > > > > =20 > >>First, allocate the "pointers" array, and then allocate the arrays=20 >>inside. In C: >> >>number=3D(float **)malloc(2*sizeof(float *)); >>.... >>int i; >>for(i=3D0;i<50000;i++){ >> *(number+i)=3D(float *)malloc(sizeof(float)); >> ... >>} >> >>and so on. >> >>tay...@dd... escribi=F3: >> >> =20 >> >>>Hi, >>> >>>Since I tried to use a 2D array "number[50000][2]" I started to have >>> =20 >>> >ran> dom=20 > =20 > >>>crashes at run time and debugging.=20 >>> >>>I guess this is a memory handling problem (what do you think?). Thus, = I >>> =20 >>> >>tried >> =20 >> >>>to put the array in the heap (would that help?). However I tried many >>> =20 >>> >wa> y to do=20 > =20 > >>>it without success.=20 >>> >>>I declared the array in the header of a class as: >>> >>>float number[][]; >>> >>>Then I tried to put it in the heap using GlobalAlloc in the >>> =20 >>> >constructor.> =20 > =20 > >>>Could anybody give me a hand? Thanks a lot. >>> >>>Jorge=20 >>> >>> >>>--------------------------------------------- >>>This message was sent using Endymion MailMan. >>>http://www.endymion.com/products/mailman/ >>> >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >>>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >>>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >>>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >>>_______________________________________________ >>>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 >>> >>>=20 >>> >>> =20 >>> >> >>------------------------------------------------------- >>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >>_______________________________________________ >>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 >> >> =20 >> > > > >--------------------------------------------- >This message was sent using Endymion MailMan. >http://www.endymion.com/products/mailman/ > > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >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 > > =20 > |
|
From: Paul I. <pi...@ot...> - 2004-08-10 23:46:07
|
>Hi, > >Since I tried to use a 2D array "number[50000][2]" I started to have ran= dom >=20 >crashes at run time and debugging.=20 > >I guess this is a memory handling problem (what do you think?). Sure, if you declared it like that.=20 Windows uses a dynamically growing stack. Just above the top of the stack= there is a read-only area. When the stack is growing (in resonable increments) = there will be a write to this area triggering an exception. This exception tell= s windows to increase the size of the stack, moving forward the stack-need-= to-grow read-only area.=20 Now if you declare something really big, there is a chance that you will = make a memory access missing the availabe stack (including the protective area). (This is absolutly not a windows-specific problem, BTW. Just about the sa= me everywhere...) > Thus, I tried >to put the array in the heap (would that help?). However I tried many wa= y to >do=20 >it without success.=20 > >I declared the array in the header of a class as: > >float number[][]; > >Then I tried to put it in the heap using GlobalAlloc in the constructor.= =20 GlobalAlloc ?? Thats some antique windows-API function from the 80286 day= s is't it? Why not use new? number =3D new float[50000*2]; /Paul ----- End forwarded message ----- |
|
From: <tay...@dd...> - 2004-08-10 23:15:08
|
Thanks to your advice I was able to go a little further with my program.
However, when I tried to assign values to the array, the debugger gives me a
message telling about a segment fragmentation problem and then crashes.
The way I assign the values is the following:
for (i=0;i<FL[0];i++)
{
numbuque[i][0]=0; // tipo de buque - rango de esloras menor
numbuque[i][1]=i; // numero de llegada del buque
}
Any suggestion? Thanks,
Jorge
> First, allocate the "pointers" array, and then allocate the arrays
> inside. In C:
>
> number=(float **)malloc(2*sizeof(float *));
> ....
> int i;
> for(i=0;i<50000;i++){
> *(number+i)=(float *)malloc(sizeof(float));
> ...
> }
>
> and so on.
>
> tay...@dd... escribió:
>
> >Hi,
> >
> >Since I tried to use a 2D array "number[50000][2]" I started to have
ran> dom
> >crashes at run time and debugging.
> >
> >I guess this is a memory handling problem (what do you think?). Thus, I
> tried
> >to put the array in the heap (would that help?). However I tried many
wa> y to do
> >it without success.
> >
> >I declared the array in the header of a class as:
> >
> >float number[][];
> >
> >Then I tried to put it in the heap using GlobalAlloc in the
constructor.>
> >
> >
> >Could anybody give me a hand? Thanks a lot.
> >
> >Jorge
> >
> >
> >---------------------------------------------
> >This message was sent using Endymion MailMan.
> >http://www.endymion.com/products/mailman/
> >
> >
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> >_______________________________________________
> >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
> >
> >
> >
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> 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 message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/
|
|
From: Jorge A. <jor...@ep...> - 2004-08-10 17:34:09
|
First, allocate the "pointers" array, and then allocate the arrays=20
inside. In C:
number=3D(float **)malloc(2*sizeof(float *));
...
int i;
for(i=3D0;i<50000;i++){
*(number+i)=3D(float *)malloc(sizeof(float));
...
}
and so on.
tay...@dd... escribi=F3:
>Hi,
>
>Since I tried to use a 2D array "number[50000][2]" I started to have ran=
dom=20
>crashes at run time and debugging.=20
>
>I guess this is a memory handling problem (what do you think?). Thus, I =
tried
>to put the array in the heap (would that help?). However I tried many wa=
y to do=20
>it without success.=20
>
>I declared the array in the header of a class as:
>
>float number[][];
>
>Then I tried to put it in the heap using GlobalAlloc in the constructor.=
=20
>
>
>Could anybody give me a hand? Thanks a lot.
>
>Jorge=20
>
>
>---------------------------------------------
>This message was sent using Endymion MailMan.
>http://www.endymion.com/products/mailman/
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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
>
> =20
>
|
|
From: <tay...@dd...> - 2004-08-10 16:36:33
|
Hi, Since I tried to use a 2D array "number[50000][2]" I started to have random crashes at run time and debugging. I guess this is a memory handling problem (what do you think?). Thus, I tried to put the array in the heap (would that help?). However I tried many way to do it without success. I declared the array in the header of a class as: float number[][]; Then I tried to put it in the heap using GlobalAlloc in the constructor. Could anybody give me a hand? Thanks a lot. Jorge --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ |
|
From: Jay B. <jay...@ni...> - 2004-08-10 13:40:09
|
[snip] Is it possible to insert a comment wich automatically enclose a = previously selected text? [/snip] Yes. Select text. Click 'Edit->Comment' |
|
From: <sp...@po...> - 2004-08-10 13:19:25
|
Szczepan Hołyszewski wrote: >On a pure and fresh installation of Dev-C++ 4.9.9.0 when doing WebUpdate >immediately after installing the updated package list suggest some packages >with the same versions that came OOTB, i.e. it suggests updating these >components to themselves: > > >Update Version Date >Dev-C++ Update 4.9.9.0 2004-07-31 15:22 >Dev-C++ Update debug info 4.9.9.0 2004-07-31 15:22 >PackMan 2.2.5 > > > if you don't want to see that just do: notepad "%USERPROFILE%\Local Settings\Application Data\devcpp.cfg" and append those lines: Dev-C++ Update=4.9.9.0 Dev-C++ Update debug info=4.9.9.0 PackMan=2.2.5 you can put it in RFE or bug report if you want and someone will take care of, except it's really minor. BTW Latest test build (with a lot of bugs fixed) is here: http://www.castlesofpoland.com/dev-cpp/devcpp.exe Also there's another bug report with temp solution about installation: http://sourceforge.net/tracker/index.php?func=detail&aid=1006284&group_id=10639&atid=110639 -- Marek |
|
From: <dav...@vi...> - 2004-08-10 13:07:24
|
Hi, Is it possible to insert a comment wich automatically enclose a previously selected text? JPD |
|
From: <ru...@wp...> - 2004-08-10 12:53:18
|
On a pure and fresh installation of Dev-C++ 4.9.9.0 when doing WebUpdate immediately after installing the updated package list suggest some packages with the same versions that came OOTB, i.e. it suggests updating these components to themselves: Update Version Date Dev-C++ Update 4.9.9.0 2004-07-31 15:22 Dev-C++ Update debug info 4.9.9.0 2004-07-31 15:22 PackMan 2.2.5 Szczepan Holyszewski |
|
From: Eric <eri...@cl...> - 2004-08-09 13:51:21
|
About comments - I actually think there's too few of them - I wouldn't have to waste as much time figuring out what some parts of code do. Best regards, Marek Januszewski I found a bug with "Outlook express" if I reply to a HTML email, the spell checker does not work, that's why I have started with a fresh thread. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.735 / Virus Database: 489 - Release Date: 06-Aug-04 |
|
From: Jay B. <jay...@ni...> - 2004-08-09 12:23:16
|
[snip] I am a novice in database programming, and I am trying to manipulate records from MS Accesss database from C++ application.How do I exchange information between the application and Ms Access database via host variables to update, delete and insert records into the database using SQL?=20 [/snip]=20 =20 You will need an ODBC connection between the application and MS Access. |
|
From: THAMAE <m_t...@ya...> - 2004-08-09 11:48:51
|
I am a novice in database programming, and I am trying to manipulate records from MS Accesss database from C++ application.How do I exchange information between the application and Ms Access database via host variables to update, delete and insert records into the database using SQL? Thanx in advance Thamae --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. |
|
From: Michal M. <mi...@mo...> - 2004-08-09 09:53:05
|
Ehi Ikhimiukor wrote: > Hello, > How do I install 4.9.9.0 version over an existing installation of > 4.9.8.0? I tried to uninstall 4.9.8.0, but it is not in the list of > installed programs in my computer. Please what do I do? > Ehi Ikhimiukor see: http://sourceforge.net/forum/forum.php?thread_id=1036469&forum_id=48211 Regards, Michal |