dev-cpp-users Mailing List for Dev-C++ (Page 544)
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: Carlos d. M. <cg...@wo...> - 2002-08-05 12:03:45
|
Done! I wrote a new function for calculate the lines (one which uses a very better strategy of programming, more compact and all those things that shall be done), and although this is not supoosed to count tabs more than once, than the previous functions used (the new function makes the work of the two previous, which did one of the three counts twice, once per function), it makes bitmaps with a very well adjusted size. If before the height was just the needed, more than a 15% longer or more than 20% shorter, now it is constantly less than a 3% longer. |
|
From: Ramana K. <ra...@my...> - 2002-08-05 11:31:06
|
Just one comment, Ioannis, writing the following:
using namespace std;
completely defeats the purpose of namespaces, as it just includes everything
within the std namespace, including those things that are not needed.
Instead, I suggest writing:
using std::cout;
using std::system;
//etc
at the top of whichever file needs these functions.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Ioannis
Vranos
Sent: Thursday, 1 August 2002 7:37 PM
To: dev...@li...
Subject: RE: [Dev-C++] Help me with debugging pls.
I do not know the GDB thing but i have to make your code ANSI C++ compliant.
:)
Ioannis
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Vaclav
Kremen
Sent: Wednesday, July 31, 2002 5:44 PM
To: dev...@li...
Subject: [Dev-C++] Help me with debugging pls.
Hello all,
here is my short code:
#include <iostream.h>
#include <iostream>
#include <stdio.h>
Or better: #include <cstdio>
#include <stdlib.h>
Or better: #include <cstdlib>
int main (int argc, char *argv[])
{
int argc, char *argv[] are not used, so they are not needed.
using namespace std;
int x = 1000;
x = x*x;
cout << "Hello World!" << endl;
x = 1;
cout << "Press ENTER to continue... " << x <<endl;
getchar ();
or better: cin.ignore(); So <cstdio> is not needed.
return 0;
}
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Thorsten M. <to...@ne...> - 2002-08-05 10:31:25
|
Hi there, I imported an existing MSVC project for a Gtk-1.3 application into Dev-Cpp (4.9.5.0, but 4.9.3.0 wasnt better). The sources consist of about 300 files giving a size of 4.6 MB. Opening the the newly created .dev now takes a very long time (> 15 minutes) just for parsing the sources (Athlon @1400 MHz, 512 MB RAM, 65 GB free HD/Raid, WinXP). Is there a way to speed this up? Best regards, -- Thorsten Maerz <to...@ne...> Sylpheed-claws/Win32: http://claws-w32.sf.net |
|
From: Zodiaq <zo...@ac...> - 2002-08-05 08:34:02
|
Hello Ioannis and all Dev-C++ users, Monday, August 5, 2002, 6:00:45 AM, Ioannis wrote as follows: IV> No they are not ANSI C or ANSI C++ functions. They look like system IV> extensions (e.g. Win32 API). ReadFromFile and writeToFile are Microsoft® CDO Library function to use with OLE object... the best windows function to deal with files are ReadFile (Ex) and WriteFile (Ex) but you have to remeber that these function writes specified portion of data (binary) to a file, to write stream data I think it's best to use ofstream... and ifstream... IV> Ioannis IV> * Ioannis Vranos IV> * Programming pages: http://www.noicys.cjb.net IV> * Alternative URL: http://run.to/noicys -- regards, Zodiaq |
|
From: Daniel G. <sp...@ho...> - 2002-08-05 08:12:28
|
These are include files you've made yourself? Try rearranging their order, I find that sometimes code won't compile unless the headers are in the right order (trial and error I'm afraid). What errors do you get? You may have circular dependence (HeaderA calls HeaderB which calls HeaderA) or header files including other header files before they've been declared possibly. >From: Bert Iling <ch_...@ya...> >To: dev...@li... >Subject: [Dev-C++] Include Files >Date: Sun, 4 Aug 2002 15:31:34 -0700 (PDT) > >I complied a program in Dev-C++ 4.9.5.0 and there were errors in the >include files. How do I fix this? I am ABSOLUTLY sure that there is nothing >wrong with my code. > > >--------------------------------- >Do You Yahoo!? >Yahoo! Health - Feel better, live better _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Ioannis V. <no...@ho...> - 2002-08-05 04:01:12
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Carlos Garc?a del Monte > Sent: Sunday, August 04, 2002 10:31 PM > To: dev-cpp-users-list > Subject: [Dev-C++] saveToDisk and readFromDisk > > > I've read in a thread of messages from some time ago a > reference to the > function saveToDisk and readFromDisk, as being functions belonging to > C/C++, but I have neither hear about them nor found anything > about them > as C/C++. Are them not C/C++?, if they're, is there some site where I > can read something about them?, I search but I don't find anything, > except for two pages which are either empty or in german. For > what they > said it sem that those functions can be interesting. And my C++ book > says nothing about it (Deitel & Deitel "C++ How To Program"). No they are not ANSI C or ANSI C++ functions. They look like system extensions (e.g. Win32 API). Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Yeoh H. <ye...@ye...> - 2002-08-05 02:33:31
|
Hi, I was away for a while. Sorry for the delay. I haven't tried to compile libodbc++ and will put it on my todo list. :-) Also, in the past, I've also had some trouble getting MS libs to work with Dev-C++ so I've avoided using MS libs with Dev C++. There are many MingW, GCC, source and libs that can be used with Dev-C++ . Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: Met...@ao... To: ye...@ye... ; dev...@li... Sent: Friday, August 02, 2002 4:07 PM Subject: Re: [Dev-C++] Win32 C++ ODBC API Thanks a lot Yeoh Did you succeed in compiling this lib (Both static and DLLs) with DevCPP ? Obviously, the makefile needs some static link libs like odbc32.lib which are not part of the DevCPP distribution. Also, the makefile is intended to run with MSVC. If I download the latest MDAC components from MS site are these static libs included in it and will they be compatible with DevCpp ? Aren't they generated only in MSVC way ? Many thanks for any help about this mates. Kind regards -- Seb |
|
From: Roberto R. <rob...@ar...> - 2002-08-04 23:33:51
|
Vaclav Kremen wrote:
> Hello all,
> here is my short code:
>
> #include <iostream.h>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main (int argc, char *argv[])
> {
> int x = 1000;
>
> x = x*x;
> cout << "Hello World!" << endl;
> x = 1;
> cout << "Press ENTER to continue... " << x <<endl;
> getchar ();
>
> return 0;
> }
>
> I need to watch variable x, but when I step in code while debugging
> each line with x is skiped and no x value is displayed. Only three
> lines (cout and getchar) are evaluated correctly.
> Some error "No symbol x in current context." is displayed in debugging
> infos.
>
> Does anyone know where is the problem, can you try it by yourself and
> write me your status? I need to watch variables values while debugging
> because otherwise it is not valuable for me. I have devcpp.exe 4.9.4.3.
> Thank you very much for your help.
>
> With best regards,
>
> Vaclav Kremen.
Try looking this:
ftp://161.97.203.92/pub/insight5_win32_exe.zip
http://www.geocities.com/uniqueness_template/
or just in www.bloodshet.net
Install insight5 overwrite dgb in Dev-C++ but works fine (the interfase
is clear to see), dbg in Dev-C++ have some problems up to now, almost I
think. Both applications run friendly.
Roberto
|
|
From: Hongli L. <h....@ch...> - 2002-08-04 22:58:27
|
On Mon, 2002-08-05 at 00:31, Bert Iling wrote: > I complied a program in Dev-C++ 4.9.5.0 and there were errors in the include files. How do I fix this? I am ABSOLUTLY sure that there is nothing wrong with my code. > Perhaps it would help if you actually post some of the error messages here. |
|
From: Bert I. <ch_...@ya...> - 2002-08-04 22:31:35
|
I complied a program in Dev-C++ 4.9.5.0 and there were errors in the include files. How do I fix this? I am ABSOLUTLY sure that there is nothing wrong with my code. --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better |
|
From: Abhijit S. <mu...@gm...> - 2002-08-04 21:11:14
|
----- Original Message ----- From: "Carlos García del Monte" <cg...@wo...> To: "dev-cpp-users-list" <dev...@li...> Sent: Monday, August 05, 2002 1:00 AM Subject: [Dev-C++] saveToDisk and readFromDisk > I've read in a thread of messages from some time ago a reference to the > function saveToDisk and readFromDisk, as being functions belonging to > C/C++, but I have neither hear about them nor found anything about them > as C/C++. Are them not C/C++?, if they're, is there some site where I > can read something about them?, I search but I don't find anything, > except for two pages which are either empty or in german. For what they > said it sem that those functions can be interesting. And my C++ book > says nothing about it (Deitel & Deitel "C++ How To Program"). Actually, I suggested these two methods as belonging to a class for handling persistance. These aren't standard library functions... sorry if I didn't say that clearly. |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-04 19:35:14
|
I've read in a thread of messages from some time ago a reference to the function saveToDisk and readFromDisk, as being functions belonging to C/C++, but I have neither hear about them nor found anything about them as C/C++. Are them not C/C++?, if they're, is there some site where I can read something about them?, I search but I don't find anything, except for two pages which are either empty or in german. For what they said it sem that those functions can be interesting. And my C++ book says nothing about it (Deitel & Deitel "C++ How To Program"). |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-04 18:14:32
|
Rob escribi=F3: > I recently replied to a test message and was told that the person who h= ad > sent the test message received my reply to his message before receiving= his > copy of the test. I think this was Iannois. > > Where is the geographical location of the server that handles the list? Oh, well! We could organize mail races. What would be price we could set = for selling TV rights?. Just this morning I saw the auto-answer of Daniel Glenfield before his auto-question. So distances are not the answer. Well, just a strange behavior by the list. I don't shall blame my compute= r. Once I got the first test message after a second, and it was the shortest, its= only text was "test". So its neither the size. |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-04 18:02:57
|
Abhijit Shylanath escribi=F3: > Greets, Carlos. > > > I want create a bitmap for hold a text string loaded from a file. I h= ave > > a fixed width, given by the window, but the height depends on the str= ing > > length, but I don't see any function in the win32 reference which cou= ld > > be used for achieve it in a simple way. Though in it is claimed that = the > > result is width and height GetExtentPoint32 gives the dimensions of t= he > > string without considering that it will be displayed in multiple line= s, > > so it gives a lpsize which has the cx length of all the characters of > > the string and the height of a single line. If I try to work with it = in > > the simple ways (cy =3D cx /window widht * text height) I get a too s= hort > > I think this should be > > cy =3D (cx / window_width + 1) * text_height > > since for cx/window_width =3D=3D 0, there is actually one line already = (for > example, 300/400 is 0, but there is one line of width 300 units). You m= ight > also want to have a variable for line spacing. > Yes, I tried that, but the bitmap result has more than a line of differen= ce, there is a text with many newlines, and the bitmap is less than the half = of the size needed, although with a new modification I achieved to have in most = cases bitmaps which are more than a 15% longer than text. I considered the tmExternalLeading but it is zero for the font I use (the default). I got the solution, it is easy but not the most I'd like. I don't know ho= w I could not think it, well I know, it sem to me at first as a too tedious w= ay for be accepted, but now I am thinking it would be no so. It consists in writ= e a function which will know the number of characters per line (I can use the average widht of the actual string, simply divide cx by strlen), calculat= e how many letters will be needed for reach a decent distance from the right en= d of the window and substitute the nearest space by a newline (drawtext unders= tands \n), so with that and the newlines which are yet in the string I can now exactly how many lines will have the text. [Some time after] I noticed that in the countlines function I wrote \n as newline, but then= I remembered that in windows end of line is \r\n, and each \r, as seen at a little experiment, makes the next line be spaced one line more, so I chan= ged that, \n by \r, and either I considered tabs (I've right now see that I h= ad to bother with them), so it returns one line per each \r and per each \t, an= d three per each \v, and I added the function that receiving the number of = chars per line and the lenght of the string goes over it counting char-per-line= so adding a line each time it reaches a substring between newlines greater t= han the charsper-line, and adding more per multiplication of the charperlines value. Now this works fine for some files (bitmaps with just one or two l= ines longer than text), but I still find some which still is the bitmap too sh= ort, and one of them is as an html just that the first I tried as example of t= ext, it has the same apparent amount of tabs and newlines (note that I use the= html as plain text, I not interpret the tags, they simply stay there <HTML>, e= tc), and for it the bitmap is even shorter in proportion than the other of the special file with great amount of tabs and newlines. Perhaps there is som= e spacing character I miss?. \r \n \t \v are what I know or remember. And s= till I am adding the tabs twice, and each time I treat them as a newline. I shou= ld have too large bitmaps instead of having too short. Thanks for the help, and sorry for the little stupid question. |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-04 17:56:39
|
http://www.geocities.com/uniqueness_template/ Here is a page where they say something about it. Nebiyu Messele escribi=F3: > Does anyone know where I can get the manual for the Dev-C++? I don't > know how tto use it. > > > ----------------------------------------------------------------------- > Do You Yahoo!? > Yahoo! Health - Feel better, live better |
|
From: Rob <ro...@us...> - 2002-08-04 13:34:00
|
I recently replied to a test message and was told that the person who had sent the test message received my reply to his message before receiving his copy of the test. I think this was Iannois. Where is the geographical location of the server that handles the list? Rob > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Ramana > Kumar > Sent: Sunday, August 04, 2002 5:29 AM > To: Ioannis Vranos; C++ > Subject: RE: [Dev-C++] mailing list or my mail > > > The mailing list may indeed be truly random, or i was thinking it > might send > the shortest (smallest) messages first... i'm yet to see whether this is a > consistent explanation of message delaying > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Ioannis > Vranos > Sent: Saturday, 3 August 2002 12:40 PM > To: 'dev-cpp-users-list' > Subject: RE: [Dev-C++] mailing list or my mail > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Carlos Garc?a del Monte > > Sent: Saturday, August 03, 2002 12:16 AM > > To: dev-cpp-users-list > > Subject: [Dev-C++] mailing list or my mail > > > > > > I get some strange behavior with messages: > > The most arrives right but some arrived three times: two as being sent > > in february when it was four days ago, and the third with > > correct date. > > And sometimes, as the last newbie question, I got the answer > > by Mr Ishan > > before the question, and some messages before which I have > > got the last > > time I got messages. > > > Yes the mailing list behaves strangely creating suspence (and possible > misunderstandings) by randomly delaying messages, etc etc. Isn't this > great? > > For example you may get this message immediately, tomorrow or in a week. > :) > > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net > * Alternative URL: http://run.to/noicys > > > > > > > > > > > > ------------------------------------------------------- > > 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 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 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 > |
|
From: Ioannis V. <no...@ho...> - 2002-08-04 13:12:54
|
Great idea. A mailing list behaviour theory. :) This can help optimising our messages for maximum efficiency. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: Ramana Kumar [mailto:ra...@my...] > Sent: Sunday, August 04, 2002 1:29 PM > To: Ioannis Vranos; C++ > Subject: RE: [Dev-C++] mailing list or my mail > > > The mailing list may indeed be truly random, or i was > thinking it might send > the shortest (smallest) messages first... i'm yet to see > whether this is a > consistent explanation of message delaying |
|
From: Ramana K. <ra...@my...> - 2002-08-04 10:28:43
|
The mailing list may indeed be truly random, or i was thinking it might send the shortest (smallest) messages first... i'm yet to see whether this is a consistent explanation of message delaying -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Ioannis Vranos Sent: Saturday, 3 August 2002 12:40 PM To: 'dev-cpp-users-list' Subject: RE: [Dev-C++] mailing list or my mail > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Carlos Garc?a del Monte > Sent: Saturday, August 03, 2002 12:16 AM > To: dev-cpp-users-list > Subject: [Dev-C++] mailing list or my mail > > > I get some strange behavior with messages: > The most arrives right but some arrived three times: two as being sent > in february when it was four days ago, and the third with > correct date. > And sometimes, as the last newbie question, I got the answer > by Mr Ishan > before the question, and some messages before which I have > got the last > time I got messages. Yes the mailing list behaves strangely creating suspence (and possible misunderstandings) by randomly delaying messages, etc etc. Isn't this great? For example you may get this message immediately, tomorrow or in a week. :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > > > > ------------------------------------------------------- > 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 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 |
|
From: Ioannis V. <no...@ho...> - 2002-08-04 09:58:38
|
Hongli it's time for you to write a book about Dev-C++. :))) People need a manual for both using Dev-C++ and unsubscribing from the list. Well now i am thinking of it we can write a book for these issues together. :P Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Hongli Lai > Sent: Sunday, August 04, 2002 12:43 PM > To: Nebiyu Messele > Cc: dev...@li... > Subject: Re: [Dev-C++] (no subject) > > > On Sun, 2002-08-04 at 09:40, Nebiyu Messele wrote: > > Does anyone know where I can get the manual for the > Dev-C++? I don't know how tto use it. > > > > > > There is no manual... > > > > > ------------------------------------------------------- > 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 > |
|
From: Hongli L. <h....@ch...> - 2002-08-04 09:37:28
|
On Sun, 2002-08-04 at 09:40, Nebiyu Messele wrote: > Does anyone know where I can get the manual for the Dev-C++? I don't know how tto use it. > > There is no manual... |
|
From: Abhijit S. <mu...@gm...> - 2002-08-04 09:06:08
|
Greets, Carlos.
> I want create a bitmap for hold a text string loaded from a file. I have
> a fixed width, given by the window, but the height depends on the string
> length, but I don't see any function in the win32 reference which could
> be used for achieve it in a simple way. Though in it is claimed that the
> result is width and height GetExtentPoint32 gives the dimensions of the
> string without considering that it will be displayed in multiple lines,
> so it gives a lpsize which has the cx length of all the characters of
> the string and the height of a single line. If I try to work with it in
> the simple ways (cy = cx /window widht * text height) I get a too short
I think this should be
cy = (cx / window_width + 1) * text_height
since for cx/window_width == 0, there is actually one line already (for
example, 300/400 is 0, but there is one line of width 300 units). You might
also want to have a variable for line spacing.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Nebiyu M. <bau...@ya...> - 2002-08-04 07:40:30
|
Does anyone know where I can get the manual for the Dev-C++? I don't know how tto use it. --------------------------------- Do You Yahoo!? Yahoo! Health - Feel better, live better |
|
From: Carlos d. M. <cg...@wo...> - 2002-08-03 22:08:11
|
I want create a bitmap for hold a text string loaded from a file. I have a fixed width, given by the window, but the height depends on the string length, but I don't see any function in the win32 reference which could be used for achieve it in a simple way. Though in it is claimed that the result is width and height GetExtentPoint32 gives the dimensions of the string without considering that it will be displayed in multiple lines, so it gives a lpsize which has the cx length of all the characters of the string and the height of a single line. If I try to work with it in the simple ways (cy = cx /window widht * text height) I get a too short height (it seems to consider newlines as single characters or unextended ones), but if I try to calculate how many newlines are for adding more height I get a bitmap which is still either too long or too short. The book I am read is not useful, because it does not use the way I use, and when it treates about scrolling text hey have a simple example: they have only many short lines, so they know easily the height, and they know that no string will be truncated. If I try to calculate with the MaxCharWidth the chars per line and then calculate the height I still have the bitmap with a size that is too short if the amount of newlines is high. (not solved if then I add a new tmHeight per each newline). Is there some simple way to do what I intend? |
|
From: Ioannis V. <no...@ho...> - 2002-08-03 11:51:50
|
I hope he does not enter as his email adress the ha...@be... :) Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Hongli Lai > Sent: Saturday, August 03, 2002 1:17 PM > To: Artin Baghdasarian > Cc: Dev...@li... > Subject: Re: [Dev-C++] Unsubscribe Unsubscribe Unsubscribe > > > Not this AGAIN...... > > How many times do I have to tell you to unsubscribe yourself?!?!? > > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > > > > > > ------------------------------------------------------- > 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 > |
|
From: Hongli L. <h....@ch...> - 2002-08-03 10:10:51
|
Not this AGAIN...... How many times do I have to tell you to unsubscribe yourself?!?!? > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm |