dev-cpp-users Mailing List for Dev-C++ (Page 505)
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: Santiago P. C. <San...@yd...> - 2002-10-21 11:54:16
|
Hi Luis, From my personal experience (I've been programming with MFC from some tim= e ago [4-5 years]), what I can tell you is that programming wxWindows IS mu= ch EASIER than programming M$ MFC and/or win32 API.=20 I've been using wxWindows for 6 months now, but I really think that it ma= kes sense to use this library. wxWindows classes are well structured, you are able to modify / extend th= em and you can contribute to improve the library by submitting your code to wxWindows development team. You are NOT forced to use doc/view apps even when there's no need for that programming structure, etc... Please have also in mind that: - wxWindows source is portable between M$ Windows and some UNIX flavours (Solaris, Linux,...) =09MFC / win32 API is NOT portable in any way. - wxWindows source can be compiled with MinGW / M$ VC++ / Borland / etc... =09MFC can ONLY be compiled with M$ VC++ - some MFC code does NOT follow C/C++ 'good programming techniques' nor 'real' templates, etc... =09 (take a look at MFC code, you'll find some goto's and much more ;o)=20 =09wxWindows IS pure C++ without 'shortcuts' ;oD - It is likely to happen that MFC became obsolete since .NET have born =09wxWindows will be 'alive' whenever people use it: we've got the sources! Just my 2 cents! ~Santy PS: I do not consider myself a 'guru', that's another reason why I like s= uch a library like wxWindows: it makes my life easier!!! -----Original Message----- From: Louis Godio [mailto:lg...@ya...]=20 Sent: s=E1bado, 19 de octubre de 2002 0:14 To: Santiago Palmier Campos; dev-cpp-users-list Subject: RE: [Dev-C++] WxWINDOW Based on the Santiago's note, it seems like wxWindows is a lot of effort = to set up correctly. Could someone experienced with wxWindows tell us if it = is worth all this effort ? --- Santiago Palmier Campos <San...@yd...> wrote: > Hi *, >=20 > If you don't use Dev-C++ package and you want to use wxWindows sources = > 'by yourself', there are only a few things you must do in order to use > wxWindows... >=20 > Download wxWindows sources (from http://wxwindows.sourceforge.net/), > download also 'extra.zip' file (from http://wxwindows.sourceforge.net/ = > also, but only if you don't use MSYS from=20 > http://mingw.sourceforge.net/) and then, > FIRST OF ALL, please read the file: %WXWIN%/docs/msw/install.txt=20 >=20 > You'll find everything you'll need in order to install it!!! >=20 > Anyway here you have a 'Quick How To'... >=20 > Set a few environment variables: > WXWIN to the path where you decompressed wxWindows sources, > if needed, BISON_SIMPLE & BISON_HAIRY to the complete path to files > (complete/path/to/folder/plus/filename.extension) >=20 > Edit %WXWIN%\src\makeg95.env, search through the options and set them=20 > to the appropriate values to fit your system needs; I just changed the > following > ones (keep in mind that these are MY values for WinAPI & MinGW > installation > ;o): > MINGW32=3D1 > MINGW32VERSION=3D3.2 > YACC=3Dbison > CPU=3Dpentium4 > COMPPATHS =3D -I"D:/WinAPI/include" -I"D:/MinGW/include" > Perhaps you may want to include these two also: > -I"D:/MinGW/include/sys" -I"D:/MinGW/include/c++/3.2" >=20 > ...And add the appropriate dirs to this one (keeping the original=20 > stuff, of > course): > LDFLAGS =3D (...original stuff...) -L"D:/MinGW/lib" -L"D:/WinAPI/lib"= >=20 > Then cd to %WXWIN%\src\msw and use make -f makefile.g95 clean / make=20 > -f makefile.g95 and wait... That's all!!! You'll have wxWindows ready=20 > to use (there are a few more options to use the > wxWindows DLL, so read the docs, please...) >=20 > You'll only need to use a makefile like the following one, you only=20 > have to modify 'OBJECTS' to fit your needs: > # Makefile for wxWindows (Mingw32). > # WXDIR =3D D:/wxWindows/v2.3.3 >=20 > TARGET=3DMyApp > OBJECTS =3D $(TARGET).o MyFrame.o MyOtherStuff.o >=20 > include $(WXDIR)/src/makeprog.g95 >=20 > Hope this helps > Santy >=20 > -----Original Message----- > From: Carlos Garc=EDa del Monte [mailto:cg...@wo...] > Sent: jueves, 17 de octubre de 2002 22:24 > To: ma...@al...; dev-cpp-users-list > Subject: Re: [Dev-C++] WxWINDOW >=20 >=20 > Oh, sorry, I thought you got the package from dev home page, which is=20 > a devpak. >=20 > What I did was this: (having gcc[C:\Dev-Cpp\Bin] in the path) > 1- I unpacked it to C:\wxMSW > 2 - open command.exe > 3 - cd to C:\wxMSW\src > 4 - type make -f makefile.g95 and wait, then I ran over some of the=20 > other folders seeing that in all of them the result was "make nothing=20 > to be done > for all", so I gave it as built. Well, there were a couple of utilities= > about dialog editor or something like that, I cd to there and make etc.= >=20 > The bad news are that I never could make it work, except for the=20 > examples that were with it, which compiled fine, I tried some examples = > for > Dev-C++ > and I couldn't compile any one. >=20 > The first you must do when making a project is define __GNUWIN32__ and = > define UNICODE, and define __WXMSW__ >=20 > And a lot of compiler options, linker parameters... search in the dev=20 > mailing list, I don't remember when they answered me with all those=20 > options you must provide, more or less six or seven months ago or=20 > before. >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to $1,000=20 > for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > -------------------------------------------------------------------------= --- ---------- > This message and any files transmitted with it are confidential and=20 > intended solely for the use of the individual or entity to whom they=20 > are addressed. No confidentiality > or privilege is waived or lost by any wrong transmission.=20 > If you have received this message in error, please immediately destroy > it and kindly=20 > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, print,= > or copy any=20 > part of this message if you are not the intended recipient. Opinions, > conclusions and=20 > other information in this message that do not relate to the official > business of=20 > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither > given nor endorsed by it.=20 > -------------------------------------------------------------------------= --- ---------- >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Dev-cpp-users mailing list Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Daniel G. <sp...@ho...> - 2002-10-21 11:47:34
|
Ah, I think you mean
switch (ID_CHOOSE_COLOR)
{
case: GREEN
{
// make green
}
break;
case: BLUE
{
// etc.
}
break;
default:
{
// make black
}
break;
}
The switch statement checks the variable passed in, and matches it to a
case.
>From: "Vlada Djurovic" <dj...@im...>
>To: "'DevC++ help'" <dev...@li...>
>Subject: [Dev-C++] ChooseColor frustration
>Date: Mon, 21 Oct 2002 13:13:15 +0200
>
>Hi, everybody
>I have a problem with ChooseColor common dialog. I wrote the code, it
>compiled OK, but what ever color I choose, I get black. I can't figure out
>what's wrong. Here's the code, so if anyone can help me...thanks.
>
>case ID_CHOOSE_COLOR:
> {
> CHOOSECOLOR chColor;
> chColor.lStructSize=sizeof(CHOOSECOLOR);
> chColor.hwndOwner=hwnd;
> chColor.lpCustColors=crCustColor;
> chColor.Flags=CC_FULLOPEN;
>
> ChooseColor(&chColor);
> crCurColor=chColor.rgbResult; /*crCurColor is
>global variable*/
> }
> break;
_________________________________________________________________
Choose an Internet access plan right for you -- try MSN!
http://resourcecenter.msn.com/access/plans/default.asp
|
|
From: MEGHAZI F. <Fab...@si...> - 2002-10-21 11:18:27
|
For those interested in C#/.NET under *nix, considers this : http://www.go-mono.com/ <http://www.go-mono.com/> |
|
From: Vlada D. <dj...@im...> - 2002-10-21 11:12:40
|
Hi, everybody
I have a problem with ChooseColor common dialog. I wrote the code, it =
compiled OK, but what ever color I choose, I get black. I can't figure =
out what's wrong. Here's the code, so if anyone can help me...thanks.
case ID_CHOOSE_COLOR:
{
CHOOSECOLOR chColor;
chColor.lStructSize=3Dsizeof(CHOOSECOLOR);
chColor.hwndOwner=3Dhwnd;
chColor.lpCustColors=3DcrCustColor;
chColor.Flags=3DCC_FULLOPEN;
=20
ChooseColor(&chColor);
crCurColor=3DchColor.rgbResult; /*crCurColor is =
global variable*/
}
break;
|
|
From: Santiago P. C. <San...@yd...> - 2002-10-21 11:08:53
|
Hi Mark, This error may appear due to... ...uncomplete/wrong build of wxWindows libraries; so you have to rebuild = the libraries correctly. ...wrong order for include directories, please check them and take a look= at: http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Directory-Options.html#Director= y%2 0Options I think it is really useful sometimes ;o) Hope this helps! Regards Santy PS: wxWindows is not so hard/difficult to use, just be a little bit patie= nt at the beginning, follow the README instructions and take a look at some tutorials, they are great!!! Just my 2 cents! -----Original Message----- From: Mark L. Wise [mailto:ma...@al...]=20 Sent: s=E1bado, 19 de octubre de 2002 0:03 To: dev...@li... Subject: [Dev-C++] WxWINDOWS and Dev-C++ Hello all! Sorry to be such a pain regarding WxWINDOWS and Dev-C++, but.... I have been trying to compile some of the sample code included with the WxWINDOWS package. When I try compiling I get the following message (alo= ng with other things...) 4 C:\PROGRAM FILES\DEV-C++\include\wx\string.h:170 #error "Please define string case-insensitive compare for your OS/compile= r" So... How do I define string case-insensitive compare in Dev-C++??? Thanks in advance... Mark Alpha II Service, Inc. 1312 Epworth Avenue Reynoldsburg, Ohio 43068 614 868-5033 (Voice) 617 812-5838 (Fax) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Per W. <pw...@ia...> - 2002-10-21 10:46:40
|
Most compilers support float and double too, but if the underlying
processor doesn't support it and the c libraries have to supply a software
emulation, the performance of the program will really suck.
The trick is to know the target environment before starting to code...
When the target OS doesn't have wide character support, the use of wchar_t
isn't recommended.
/Per W
On Mon, 21 Oct 2002, Ioannis Vranos wrote:
> > -----Original Message-----
> > From: dev...@li...
> > [mailto:dev...@li...] On Behalf
> > Of Per Westermark
> > Sent: Sunday, October 20, 2002 7:43 PM
> > To: Ioannis Vranos
> > Cc: dev...@li...
> > Subject: RE: [Dev-C++] Make switch condition an enum
> >
> >
> > Bad programming styles aside.
> >
> > While WinNT/Win2k/WinXP uses Unicode-only in the kernel, older Win95,
> > Win98 don't have unicode, and have to try and convert any
> > unicode calls
> > back to 8-bit characters. Guess what. That takes time. What
> > use do I have
> > of a wchar_t type, when it doesn't exist on the OS?
> >
> > By #undef _UNICODE, a _T("x") program would then compile to a
> > multi-byte
> > character set program, i.e. a lot of strange characters
> > without a 16-bit
> > character type.
> >
> > Life isn't only about C90, C98, C++98 etc. To write programs
> > the customer
> > is happy with, you have to make due with the limitations of the OS,
> > available compilers, ...
>
>
> Well i do not know Win32 API programming. What i know is that wchar_t is
> supported in every C++98 compliant compiler even if the OS doesn't
> support UNICODE.
>
>
>
> Ioannis
>
> * Ioannis Vranos
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL: http://run.to/noicys
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> Access Your PC Securely with GoToMyPC. Try Free Now
> https://www.gotomypc.com/s/OSND/DD
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Carlos d. M. <cg...@wo...> - 2002-10-21 10:28:31
|
Teodorescu Cristian escribi=F3: > Carlos Garc=EDa del Monte wrote: > > >I agree with Mrs Elizabeth, I have "win32 programming" by Rector and N= ewcomer, too. Since it I achieved to make programs > >which work > > > why your programs does not use to work ?? :-) Why your programs did not use to work??:-) In my first experiments before know Rector's book, with other books more = ore less outdated (I didn't find anything modern) or the explanations of the books were so bad done that I didn't understand t= hem and I did not what I should, or I didn't find anything and I couldn't imagine how to write things, and for what I read = in the books I did not understand the winapi reference, e.g., for creating a font, CreateFont Indirect, oh, you need l= ogfont, what's that?, search some place, chosefont, what? see in other place, and that what is it?, etc, and when I found th= e n-th function or structure I forgot what was the damned meaning of logfont, or what function I was trying to use. > > > > (I'm still in experimantation with the programs), and nowI understand= what means the things at the Win32API > >programmer's reference. > >Reliable's tutorial is a good place for c++ windows programming, but I= would recommend take a sight in Foreger's tutorial > >before (www.winprog.org or com) > >Another book you'll hear is "programming windows" by Petzold, but it i= s only C and i more limited than Rector's (judging > > > I've read the petzold book is great book. > "but it is only C "-take a closer look. API means procedural programing > not oop . they are a collection of functions not a collection of classe= s. > If you want c++ use a wrapper i think MFC(VC ++ ) or from wxWindow are > suitable. > Best book does not exist every book has a weak chapter and a strong cha= pter. Of course, but see at the subject, it says learning c++, and he wants to = learn it for windows programming. You can learn MFC, which is the MS library for C++ over windows api, so we can talk him abou= t books for MFC, ... Do a search for books over MFC, I didn't search any of them because of th= e continuation of what I am saying, I cannot recommend any of them because I don't know any. ..., but I assume he wants either program with MinGW, and MFC is only for= MSVisualC++, and MinGW has not it. I recommend him a book for Win32API, which is not C++, but starts with the "raw API", which= I consider something recommendable to work, and if he won't be able to use MFC I feel that way he will be able to guess what= will be going under classes and the sense of those classes, and if he needs to write a class of his own he will be able to d= o so. But in Petzold's book, for the TOC and what I read about it and saw in a claimed downloadable version of it found somew= here, it uses always C, while Rector's one at the second part starts using MFC and C++, so he'll can see that code and have= a feel, and the code of the C part is organized in a such kind of way that is in a direction pointing to C++, is a C code with= the taste of C++. > > > >with the TOC, since I haven't read Petzold's book) > > > i think you should read the book. > in some chapters are much more than u expected Just yesterday I had a watch at some chapters of the downloadable one, an= d I found a couple of things. And few days ago I had a watch in th TOC of it at amazon and it has either other couple of thing= s, like a chapter about files, a matter absent in Rector's book (this is perhaps the main fall of Rector). |
|
From: metalseb <met...@fr...> - 2002-10-21 09:14:24
|
Ioannis Vranos wrote: > Something very important. The next Windows version codenamed "Longhorn" > will provide *only* managed .NET APIs. I don't understand really fine Ioannis. Does this mean that billions of apps written using the standard Win32 API (This including those developped with MFC) will no longer work with Longhorn ? As far as I can read in the MSDN article, it does not tell that. They only mean that future Visual studios release will not support Win32 anymore. Can you be more precise about this ? Kind regards -- Seb |
|
From: Ioannis V. <no...@ho...> - 2002-10-21 08:42:44
|
toupper -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Philip Edwards Sent: Monday, October 21, 2002 10:15 AM To: dev...@li... Subject: [Dev-C++] int troupper function i am trying to compile a program written in visual c++ 6.0 and it says this is the first use of 'int troupper' function and no declaration of it! where can i get an include file with it or what should i put in my source code?? |
|
From: Ioannis V. <no...@ho...> - 2002-10-21 08:02:24
|
> -----Original Message----- > From: > Sent: Monday, October 21, 2002 7:10 AM > To: Ioannis Vranos; Dev-C++ Mailing List > Subject: Re: [Dev-C++] learning c++, best book > > > two questions, > How is .NET compared to win32 when it comes to stability and > reliability? > Do you think .NET will become more powerful and more on > demand than C++? I forgot to answer to the last question. .NET is a framework not a language! That is you use .NET API from inside your C++ programs. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-10-21 08:01:10
|
> -----Original Message----- > From: > Sent: Monday, October 21, 2002 7:10 AM > To: Ioannis Vranos; Dev-C++ Mailing List > Subject: Re: [Dev-C++] learning c++, best book > > > two questions, > How is .NET compared to win32 when it comes to stability and > reliability? > Do you think .NET will become more powerful and more on > demand than C++? .NET is better. It is the next step in the Win GUI evolution process. .NET is stable and reliable. Also .NET provides more stuff than Win32 enabling Web services. For example it provides Web form classes. Something very important. The next Windows version codenamed "Longhorn" will provide *only* managed .NET APIs. MS is committed to provide .NET APIs for all its products. Take a look at: http://msdn.microsoft.com/vstudio/productinfo/roadmap.asp All development tools companies are preparing .NET releases for their products. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Daniel G. <sp...@ho...> - 2002-10-21 07:50:15
|
I've never heard of troupper() , it must be user defined. Put the
declaration into the header file included by your source file.
So in MyHeader.h...
int troupper()
{
// Do something
return 0; // Or an int of other value or a variable of type int
}
then in your .cpp file
#include "MyHeader.h"
int main( int argc, char** argv )
{
// Some code
troupper();
// More code
return 0;
}
>From: "Philip Edwards" <pro...@ho...>
>To: <dev...@li...>
>Subject: [Dev-C++] int troupper function
>Date: Mon, 21 Oct 2002 17:14:30 +1000
>
>i am trying to compile a program written in visual c++ 6.0 and it says this
>is the first use of 'int troupper' function and no declaration of it! where
>can i get an include file with it or what should i put in my source code??
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
|
|
From: Teodorescu C. <te...@xt...> - 2002-10-21 07:33:12
|
Carlos García del Monte wrote: >I agree with Mrs Elizabeth, I have "win32 programming" by Rector and Newcomer, too. Since it I achieved to make programs >which work > why your programs does not use to work ?? :-) > (I'm still in experimantation with the programs), and nowI understand what means the things at the Win32API >programmer's reference. >Reliable's tutorial is a good place for c++ windows programming, but I would recommend take a sight in Foreger's tutorial >before (www.winprog.org or com) >Another book you'll hear is "programming windows" by Petzold, but it is only C and i more limited than Rector's (judging > I've read the petzold book is great book. "but it is only C "-take a closer look. API means procedural programing not oop . they are a collection of functions not a collection of classes. If you want c++ use a wrapper i think MFC(VC ++ ) or from wxWindow are suitable. Best book does not exist every book has a weak chapter and a strong chapter. >with the TOC, since I haven't read Petzold's book) > i think you should read the book. in some chapters are much more than u expected > > > >------------------------------------------------------- >This sf.net email is sponsored by: >Access Your PC Securely with GoToMyPC. Try Free Now >https://www.gotomypc.com/s/OSND/DD >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- Best Regards Teodorescu Cristian Liviu (te...@xt...) |
|
From: Philip E. <pro...@ho...> - 2002-10-21 07:18:34
|
i am trying to compile a program written in visual c++ 6.0 and it says = this is the first use of 'int troupper' function and no declaration of = it! where can i get an include file with it or what should i put in my = source code?? |
|
From: <sa...@ho...> - 2002-10-21 04:09:40
|
two questions,
How is .NET compared to win32 when it comes to stability and reliability?
Do you think .NET will become more powerful and more on demand than C++?
----- Original Message -----
Wrom: PYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGA
To: "Dev-C++ Mailing List" <dev...@li...>
Sent: Sunday, October 20, 2002 10:15 PM
Subject: RE: [Dev-C++] learning c++, best book
> -----Original Message-----
> Wrom: UTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIB
> [mailto:dev...@li...] On Behalf
> Of Santiago
> Sent: Sunday, October 20, 2002 2:19 AM
> To: Elizabeth Barham
> Cc: dev-cpp-users-list
> Subject: [Dev-C++] learning c++, best book
>
>
> Hi, thanks for all you help in the past. I'm studying C++ and
> haven't even
> touched windows programming with c++. I'd like to find the
> best possible
> book for my case scenario. I'm almost done with the "basics"
> for c++ and I'm
> looking to move towards windows programming. I need a book
> which teaches me
> windows from the scratch. However, I really don't know which
> way to go. The
> newer books only talk about .NET and C#, while the so called
> "best" C++
> books are from 1998, 99 and 2000. Would it be better to go
> ahead and buy one
> of those books that talk about both or should I get done with
> win32 API
> first before I move on to .NET/C#? Or should I even bother
> learning .NET?
> A dream book would be a recent one that teaches how to built windows
> application using win32 API with all its latest components
> and then guide me
> through .NET
>
> This is very important for me because with the little time I
> have to study,
> I really can't afford to waist any time with the wrong or obsolete
> reference.
> I will appreciate any feedback you may provide.
.NET has no direct connection with Win32 API. .NET is the next thing. It
is a platform of its own and even has its own assembly language! Also
.NET is very high level for example you can create a window in the
style:
class myform:public Form
{
public:
myform() { Text="My first form!"; }
};
Application::Run(new myform);
It creates a form with the label "My first form!".
What i am reading myself is Visual C++ .NET by MS Press. Concerning
ANSI C++ the book is not good (sometimes it is even in the limits of
stupidity concerning C++ mistakes). But it teaches .NET well. So if you
ignore its ANSI C++ stuff and notice only the .NET stuff , then you will
learn .NET relatively easily.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Ioannis V. <no...@ho...> - 2002-10-21 02:21:27
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Per Westermark
> Sent: Sunday, October 20, 2002 7:43 PM
> To: Ioannis Vranos
> Cc: dev...@li...
> Subject: RE: [Dev-C++] Make switch condition an enum
>=20
>=20
> Bad programming styles aside.
>=20
> While WinNT/Win2k/WinXP uses Unicode-only in the kernel, older Win95,
> Win98 don't have unicode, and have to try and convert any=20
> unicode calls
> back to 8-bit characters. Guess what. That takes time. What=20
> use do I have
> of a wchar_t type, when it doesn't exist on the OS?=20
>=20
> By #undef _UNICODE, a _T("x") program would then compile to a=20
> multi-byte
> character set program, i.e. a lot of strange characters=20
> without a 16-bit
> character type.
>=20
> Life isn't only about C90, C98, C++98 etc. To write programs=20
> the customer
> is happy with, you have to make due with the limitations of the OS,
> available compilers, ...
Well i do not know Win32 API programming. What i know is that wchar_t is
supported in every C++98 compliant compiler even if the OS doesn't
support UNICODE.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|
|
From: Ioannis V. <no...@ho...> - 2002-10-21 02:15:12
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Santiago
> Sent: Sunday, October 20, 2002 2:19 AM
> To: Elizabeth Barham
> Cc: dev-cpp-users-list
> Subject: [Dev-C++] learning c++, best book
>=20
>=20
> Hi, thanks for all you help in the past. I'm studying C++ and=20
> haven't even
> touched windows programming with c++. I'd like to find the=20
> best possible
> book for my case scenario. I'm almost done with the "basics"=20
> for c++ and I'm
> looking to move towards windows programming. I need a book=20
> which teaches me
> windows from the scratch. However, I really don't know which=20
> way to go. The
> newer books only talk about .NET and C#, while the so called=20
> "best" C++
> books are from 1998, 99 and 2000. Would it be better to go=20
> ahead and buy one
> of those books that talk about both or should I get done with=20
> win32 API
> first before I move on to .NET/C#? Or should I even bother=20
> learning .NET?
> A dream book would be a recent one that teaches how to built windows
> application using win32 API with all its latest components=20
> and then guide me
> through .NET
>=20
> This is very important for me because with the little time I=20
> have to study,
> I really can't afford to waist any time with the wrong or obsolete
> reference.
> I will appreciate any feedback you may provide.
.NET has no direct connection with Win32 API. .NET is the next thing. It
is a platform of its own and even has its own assembly language! Also
.NET is very high level for example you can create a window in the
style:
class myform:public Form
{
public:
myform() { Text=3D"My first form!"; }
};
Application::Run(new myform);
It creates a form with the label "My first form!".
What i am reading myself is Visual C++ .NET by MS Press. Concerning
ANSI C++ the book is not good (sometimes it is even in the limits of
stupidity concerning C++ mistakes). But it teaches .NET well. So if you
ignore its ANSI C++ stuff and notice only the .NET stuff , then you will
learn .NET relatively easily.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|
|
From: Roberto R. <rob...@ar...> - 2002-10-21 01:36:22
|
Hi Horst, Nope, have not ' using namespace std;' in my code. Regards h.r...@gm... wrote: >>Hi all, >> >>I´ve tried to use dev-cpp with new mingw 2.0.0.3, I read here some >>about make name changes, so I rename and copy min...-make.exe in >>make.exe (tryed with both) , I changed all the directories references, >>but some looks wrong. Im working in c just not c++. >> >>This is the dump compiler / linker results (help linker tell me some >>about generic error in your source) of course all work well with the >>distribution from dev-cpp. >> >>¿Any ideas? >> >>[Linker error] undefined reference to `std::ios_base::Init::Init()' >>[Linker error] undefined reference to `std::ios_base::Init::~Init()' >>[Linker error] undefined reference to `__gxx_personality_v0' >> C:\Dev-Cpp\c\Makefile.win >>[Build Error] make.exe: *** [Myprog.exe] Error 1 >> >>Thanks in advance >> >>Roberto >> >> >> >Hi, > >i use mingw 2.0.0.3 too and all works fine. >You have included: >using namespace std; >in your code ? > >Horst > > > |
|
From: Santiago <sa...@ho...> - 2002-10-20 20:42:04
|
I truly appreciate your feedback guys. All the information I received from all of you so far has been tremendously helpful. Thanks San ----- Original Message ----- From: "Uten Navn" <Ute...@su...> To: "Santiago" <sa...@ho...>; "Elizabeth Barham" <sog...@ya...> Cc: "dev-cpp-users-list" <dev...@li...> Sent: Sunday, October 20, 2002 4:09 PM Subject: Re: [Dev-C++] learning c++, best book Hi Santiago, I can fully understand your frustration. If you are fearly new to programming (GUI) you should try to get hold of some second hand books or titles you can get cheep because they are old. The truth is, they will hardly ever get old. All new technology is based on old concepts. Concepts you have to understand to fully utilize the new technology. The most used Win32 books in my bookshelf are: NT 4/Windows 95 Developer's Handbook, Ben Ezzel with Jim Blaney, ISBN 0-7821-1945-X (Sybex) Windows NT WIN32 API superbible, Richard J.Simon ISBN 1-57169-089-1 (Waite group press, 1997) Advanced Windows, third edition, Jeffrey Richter ISBN 1-57231-548-2 (Microsoft press, 1997) My point is: Collect books, you want find a single one covering all you need. Spend your money wise, by second hand or slightly outdated to reduced prices..:o) Best Regards Ståle At 19:19 19.10.02 -0400, Santiago wrote: >Hi, thanks for all you help in the past. I'm studying C++ and haven't even >touched windows programming with c++. I'd like to find the best possible >book for my case scenario. I'm almost done with the "basics" for c++ and I'm >looking to move towards windows programming. I need a book which teaches me >windows from the scratch. However, I really don't know which way to go. The >newer books only talk about .NET and C#, while the so called "best" C++ >books are from 1998, 99 and 2000. Would it be better to go ahead and buy one >of those books that talk about both or should I get done with win32 API >first before I move on to .NET/C#? Or should I even bother learning .NET? >A dream book would be a recent one that teaches how to built windows >application using win32 API with all its latest components and then guide me >through .NET > >This is very important for me because with the little time I have to study, >I really can't afford to waist any time with the wrong or obsolete >reference. >I will appreciate any feedback you may provide. > >Thanks > >San > > >------------------------------------------------------- >This sf.net email is sponsored by: >Access Your PC Securely with GoToMyPC. Try Free Now >https://www.gotomypc.com/s/OSND/DD >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Uten N. <Ute...@su...> - 2002-10-20 20:02:54
|
Hi Santiago, I can fully understand your frustration. If you are fearly new to=20 programming (GUI) you should try to get hold of some second hand books or=20 titles you can get cheep because they are old. The truth is, they will=20 hardly ever get old. All new technology is based on old concepts. Concepts= =20 you have to understand to fully utilize the new technology. The most used Win32 books in my bookshelf are: NT 4/Windows 95 Developer's Handbook, Ben Ezzel with Jim Blaney, ISBN=20 0-7821-1945-X (Sybex) Windows NT WIN32 API superbible, Richard J.Simon ISBN 1-57169-089-1 (Waite= =20 group press, 1997) Advanced Windows, third edition, Jeffrey Richter ISBN 1-57231-548-2=20 (Microsoft press, 1997) My point is: Collect books, you want find a single one covering all you=20 need. Spend your money wise, by second hand or slightly outdated to reduced= =20 prices..:o) Best Regards St=E5le At 19:19 19.10.02 -0400, Santiago wrote: >Hi, thanks for all you help in the past. I'm studying C++ and haven't even >touched windows programming with c++. I'd like to find the best possible >book for my case scenario. I'm almost done with the "basics" for c++ and= I'm >looking to move towards windows programming. I need a book which teaches me >windows from the scratch. However, I really don't know which way to go. The >newer books only talk about .NET and C#, while the so called "best" C++ >books are from 1998, 99 and 2000. Would it be better to go ahead and buy= one >of those books that talk about both or should I get done with win32 API >first before I move on to .NET/C#? Or should I even bother learning .NET? >A dream book would be a recent one that teaches how to built windows >application using win32 API with all its latest components and then guide= me >through .NET > >This is very important for me because with the little time I have to study, >I really can't afford to waist any time with the wrong or obsolete >reference. >I will appreciate any feedback you may provide. > >Thanks > >San > > >------------------------------------------------------- >This sf.net email is sponsored by: >Access Your PC Securely with GoToMyPC. Try Free Now >https://www.gotomypc.com/s/OSND/DD >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Carlos d. M. <cg...@wo...> - 2002-10-20 16:45:57
|
I agree with Mrs Elizabeth, I have "win32 programming" by Rector and Newcomer, too. Since it I achieved to make programs which work (I'm still in experimantation with the programs), and nowI understand what means the things at the Win32API programmer's reference. Reliable's tutorial is a good place for c++ windows programming, but I would recommend take a sight in Foreger's tutorial before (www.winprog.org or com) Another book you'll hear is "programming windows" by Petzold, but it is only C and i more limited than Rector's (judging with the TOC, since I haven't read Petzold's book) |
|
From: Per W. <pw...@ia...> - 2002-10-20 16:43:04
|
Bad programming styles aside.
While WinNT/Win2k/WinXP uses Unicode-only in the kernel, older Win95,
Win98 don't have unicode, and have to try and convert any unicode calls
back to 8-bit characters. Guess what. That takes time. What use do I have
of a wchar_t type, when it doesn't exist on the OS?
By #undef _UNICODE, a _T("x") program would then compile to a multi-byte
character set program, i.e. a lot of strange characters without a 16-bit
character type.
Life isn't only about C90, C98, C++98 etc. To write programs the customer
is happy with, you have to make due with the limitations of the OS,
available compilers, ...
/Per W
On Sun, 20 Oct 2002, Ioannis Vranos wrote:
> > -----Original Message-----
> > From: Per Westermark [mailto:pw...@ia...]
> > Sent: Saturday, October 19, 2002 10:03 PM
> > To: Ioannis Vranos
> > Cc: dev...@li...
> > Subject: RE: [Dev-C++] Make switch condition an enum
> >
> >
> > Guess the definition of _T("x")...
> >
> > #if defined(_UNICODE) || defined(UNICODE)
> > #define _T(x) L##x
> > #else
> > #define _T(x) x
> > #endif
> >
> > This is the OFFICIAL way of writing portable MFC or wxWindows
> > programs.
> > The L"Hello world" concept requires you to change a huge
> > number of strings
> > whenever you want to activate/deactivate unicode support.
> >
> > As you can probably guess, all functions taking a string as a
> > parameter
> > must also be specially handled.
> >
> > // Microsoft
> > #if defined(_UNICODE) || defined(UNICODE)
> > #define _tcslen wcslen
> > #else
> > #define _tcslen strlen
> > #endif
> >
> > // wxWindows
> > size_t wxStrlen(const wxChar *s);
> >
> > /Per W
>
>
> Well let UNICODE aside. wchar_t is a wide character type existing in
> *all* machines. It belongs to the C/C++ standards. In C90 wchar_t is a
> typedef defined in stddef.h. In C++98 it is a *built in* type (and in
> all machines using UNICODE, wchar_t is usually UNICODE).
>
> I see no reason why "activate" or "deactivate" wide character support
> using "compilation under condition". If your code needs wide character
> support so as to work in some platforms, use wchar_t in the first place
> (something bad, from all the compilers i have seen, wcout doesn't exist
> in MINGW's <iostream> and probably in GCC itself).
>
>
> Forget all the Win32 bad programming styles. :)
>
>
> Ioannis
>
> * Ioannis Vranos
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL: http://run.to/noicys
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> Access Your PC Securely with GoToMyPC. Try Free Now
> https://www.gotomypc.com/s/OSND/DD
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Carlos d. M. <cg...@wo...> - 2002-10-20 16:35:09
|
One year ago Mr Ioannis Vranos post a message with this subject about a link to the page of some guy who believe in the AI. Six months later I clicked on it and read it, and one year later I answer. This is an article found in an english newspaper, the Nightly Horsemen, published at 24 - 5 - 1348. << THE KING'S COUNCIL APPROVED THE DEROGATION OF THE LICENSE FOR THE LONGSIGHTER. ALL THE LONGSIGHTER HAVE TO BE DESTROYED BEFORE THE END OF THE NEXT MONTH. >> The Kings says that he has done what he must, "I cannot let such menace over the heads of the World" >> As we remember, the longsighter is an invention of Leuclideas Minger, based on a high complex net of wires and a system of pulls moved by donkeys for the energy supply. It was recevied with great enjoyment by people, but now all its dangers have emerged, it was clear that sooner or later the control over our lives by these creations will be unacceptable, everybody will be controlled by the longsighter, and at the end all the world will be dependant on them, and they will control the world, leaving only one way to the mankind: being the servant of the longsighters. >> The main reason is not ignored by our readers, as we published a week ago, Horacio Hathman, demonstrated that once a machine is able to have true vision, it is only a matter of time for it to have hearing and own movement, such a machine supposes a big danger for mankind>> This piece of news is short, but enough expressive, it's a pity have not found more about it, but as you can imagine the most part of the newspapers from that time were destroyed by the time, and though we had more newspapers it would be strange find more information, considering this was the most ferocious time of the hundred years war. |
|
From: shem <sh...@au...> - 2002-10-20 11:16:29
|
Hello! does anyone know where i can download the latest PostgreSQL libraries for C or C++ and headerfiles? I have Cygwin, if anybody knows where to find a separate, not cygwin version of the libraries, please tell me. Thanks shem |
|
From: <h.r...@gm...> - 2002-10-20 06:38:12
|
> Hi all, > > I´ve tried to use dev-cpp with new mingw 2.0.0.3, I read here some > about make name changes, so I rename and copy min...-make.exe in > make.exe (tryed with both) , I changed all the directories references, > but some looks wrong. Im working in c just not c++. > > This is the dump compiler / linker results (help linker tell me some > about generic error in your source) of course all work well with the > distribution from dev-cpp. > > ¿Any ideas? > > [Linker error] undefined reference to `std::ios_base::Init::Init()' > [Linker error] undefined reference to `std::ios_base::Init::~Init()' > [Linker error] undefined reference to `__gxx_personality_v0' > C:\Dev-Cpp\c\Makefile.win > [Build Error] make.exe: *** [Myprog.exe] Error 1 > > Thanks in advance > > Roberto > Hi, i use mingw 2.0.0.3 too and all works fine. You have included: using namespace std; in your code ? Horst -- Horst Rößner Postf. 1802 52205 Stolberg ICQ ID #74808448 h.r...@gm... h.g...@t-... +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |