dev-cpp-users Mailing List for Dev-C++ (Page 746)
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: <jos...@ya...> - 2000-12-22 10:56:37
|
--- ARI FIXLER <ari...@ju...> escribió: > i keep on getting this error message > C:\DEV-C_~1\BIN\ld.exe: cannot open crt2.o: No such file or directory If you read the FAQ you will find this: ===================================================================== 8. when I try to compile I get: ld: cannot open crt2. o: No such file or directory. What can i do ? Go to Compiler options, and check if the Lib directory is correctly set to: C:\Dev-C++\Lib\ (for a default installation). If this still doesn't work, try copying the file Lib\crt2.o to your Dev-C++ Bin directory. ===================================================================== Hope this helps. Chemanuel __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ |
|
From: TonyM voidline.c. <to...@vo...> - 2000-12-22 07:35:04
|
Your friend has got the "Pretty Park" virus. Search for information about "Pretty Park" on Norman's web-pages. All you have to do to get rid of this virus is running a registry file (can be found on Norman's pages). Try http://www.norman.com Good Luck! (And Merry Christmas, too) Words by Roy Paulsen rp...@br... (work) to...@vo... (private) NOTE: Please remove the words 'NO SPAM' from my e-mail address on reply. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Jack Kidd Sent: Thursday, December 21, 2000 11:27 PM To: dev...@li... Subject: [Dev-C++] winsvrc.exe Hello, I have a problem. A friend of mine received an email with a joke of Gore's loss. He opened the attachment and now has a virus. This virus changed the information for the exe file type, or Application. When ever he tries to open a program, it says a missing file cannot be located, winsvrc.exe. Under folder options, file types, it says that exe files require this file to open, but they don't. I don't know how to change this, so if you have any ideas, it would be greatly appriciated. Thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
|
From: Jack K. <k_f...@ho...> - 2000-12-21 22:27:23
|
Hello, I have a problem. A friend of mine received an email with a joke of
Gore's loss. He opened the attachment and now has a virus. This virus
changed the information for the exe file type, or Application. When ever he
tries to open a program, it says a missing file cannot be located,
winsvrc.exe. Under folder options, file types, it says that exe files
require this file to open, but they don't. I don't know how to change this,
so if you have any ideas, it would be greatly appriciated.
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
|
|
From: ARI F. <ari...@ju...> - 2000-12-21 18:42:39
|
in console how do i write a pro in a way that when it couts (printf) it will wait ten sec and then cout (printf) another one and wait ten sec? |
|
From: Dee Z. <zs...@br...> - 2000-12-21 15:28:55
|
You should try to use different names for local an global variables, it is bad style. Also cin is an istream object so `cin>>"Some string"` does not make much sense. Zsombi |
|
From: ropbert d b. <lon...@ju...> - 2000-12-21 15:01:58
|
Here is one way to do what you want. .lon...@ju...
On Thu, 21 Dec 2000 15:21:41 +0100 "Scone Scone" <sc...@ho...>
writes:
> Hello,
>
> I'm a beginning C++ programmer and I have made a program that
> calculates all numbers smaller than 100 that contain a 2.
> It seems to work, but I would like to be able to pause the output
> when I have got e.g. 20 numbers, and when I press enter the program
> should continue.
>
> So far I have this:
>
> #include <iostream>
>#include <stdlib.h> // add this
> int fPrintX(unsigned x)
> { cout << x << endl << x*x << endl;
> y++;
> }
>
> int main()
> {
> unsigned x, y;
> y=0;
> cout << "This program will search all numbers smaller than 100
> that" <<
> endl;
> cout << "contain the number 2, and will also calculate the
> square." <<
> endl;
> x=0;
> while (x<=100)
> { if (x%10==2)
> { fPrintX(x);
> }
> else if (x/10==2)
> { fPrintX(x);
> }
> if (y==20)
> { //here I would like the program to pause
systen("pause");
> }
> x++;
> }
> cin >> x;
> return 0;
> }
>
>
> Thanks!
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
|
|
From: Scone S. <sc...@ho...> - 2000-12-21 14:21:47
|
Hello,
I'm a beginning C++ programmer and I have made a program that
calculates all numbers smaller than 100 that contain a 2.
It seems to work, but I would like to be able to pause the output
when I have got e.g. 20 numbers, and when I press enter the program
should continue.
So far I have this:
#include <iostream>
int fPrintX(unsigned x)
{ cout << x << endl << x*x << endl;
y++;
}
int main()
{
unsigned x, y;
y=0;
cout << "This program will search all numbers smaller than 100 that" <<
endl;
cout << "contain the number 2, and will also calculate the square." <<
endl;
x=0;
while (x<=100)
{ if (x%10==2)
{ fPrintX(x);
}
else if (x/10==2)
{ fPrintX(x);
}
if (y==20)
{ //here I would like the program to pause
}
x++;
}
cin >> x;
return 0;
}
Thanks!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
|
From: <bis...@bt...> - 2000-12-21 09:39:41
|
Try:
cout << "Enter your choice: ";
cin >> choice;
- Biswa.
> -----Original Message-----
> From: The Jay Man [mailto:ja...@ya...]
> Sent: 21 December 2000 01:14
> To: dev...@li...
> Subject: [Dev-C++] I'm Stumped :(
>
>
> I have here some code for a small practice program I wrote. I
> have been
> looking ive the code for about a week now and cannot figure out why I
> get the following error: "Project1 caused an error in PROJECT1.EXE..."
> What is wrong with the code or my computer? Here is the code:
>
> #include <iostream.h>
>
> float fer;
> float cel;
> float kel;
> int choice;
> float fc()
> {
> float cel;
> cel = ((fer -32)*5)/9;
> return cel;
> }
> float fk()
> {
> float kel;
> kel = ((fer -32)*5)/9 + 273;
> return kel;
> }
> float cf()
> {
> float fer;
> fer = (cel * 9)/5 + 32;
> return fer;
> }
> float ck()
> {
> float kel;
> kel = cel + 273;
> return kel;
> }
> float kf()
> {
> float fer;
> fer = (((kel - 273)-32)*5)/9;
> return fer;
> }
> float kc()
> {
> float cel;
> cel = 273 - cel;
> return cel;
> }
> int main()
> {
>
> cout << "1: Fahrenheight to Celsius\n";
> cout << "2: Fahrenheight to Kelvin\n";
> cout << "3: Celsius to Fahrenheight\n";
> cout << "4: Celsius to Kelvin\n";
> cout << "5: Kelvin to Fahrenheight\n";
> cout << "6: Kelvin to Celsius\n";
> cout << "7: Exit";
> cin >> "Enter your choice" >> choice;
>
> switch (choice)
> {
> case 1: fc();
> cout << fer << " degrees Fahrenheight = " << cel <<
> "Degrees Celsius";
> break;
> case 2: fk();
> cout << fer << " degrees Fahrenheight = " << kel <<
> "Degrees Kelvin";
> break;
> case 3: cf();
> cout << cel << " degrees Celsius = " << fer <<
> "Degrees
> Fahrenheight";
> break;
> case 4: ck();
> cout << cel << " degrees Celsius = " << kel <<
> "Degrees
> Kelvin";
> break;
> case 5: kf();
> cout << kel << " degrees Kelvin = " << fer <<
> "Degrees
> Fahrenheight";
> break;
> case 6: kc();
> cout << kel << " degrees Kelvin = " << cel <<
> "Degrees
> Celsius";
> break;
> case 7:
> return 0;
> default:
> cout << "Invalid entry, exiting";
> }
>
> return 0;
> }
>
> P.S. It DOES compile sucessfully and will run until "cin >>
> "Enter your
> choice"; Thank you for your time,
>
> The Jay Man
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
>
|
|
From: Chad S. <ho...@ho...> - 2000-12-21 01:22:41
|
>From: The Jay Man <ja...@ya...> >Reply-To: dev...@li... >To: dev...@li... >Subject: [Dev-C++] I'm Stumped :( >Date: Wed, 20 Dec 2000 17:13:47 -0800 (PST) > >I have here some code for a small practice program I wrote. I have been >looking ive the code for about a week now and cannot figure out why I >get the following error: "Project1 caused an error in PROJECT1.EXE..." >What is wrong with the code or my computer? Here is the code: > [SNIP] > cin >> "Enter your choice" >> choice; [SNIP] >P.S. It DOES compile sucessfully and will run until "cin >> "Enter your > choice"; Thank you for your time, Well that's really strange.... It should NOT compile at all, as you are trying to use the >> operator on an input stream to store data in a const char pointer. The correct way to do the above is : cout << "Enter your choice : "<< flush; cin >> choice; -- Chad Simmons _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |
|
From: The J. M. <ja...@ya...> - 2000-12-21 01:13:48
|
I have here some code for a small practice program I wrote. I have been
looking ive the code for about a week now and cannot figure out why I
get the following error: "Project1 caused an error in PROJECT1.EXE..."
What is wrong with the code or my computer? Here is the code:
#include <iostream.h>
float fer;
float cel;
float kel;
int choice;
float fc()
{
float cel;
cel = ((fer -32)*5)/9;
return cel;
}
float fk()
{
float kel;
kel = ((fer -32)*5)/9 + 273;
return kel;
}
float cf()
{
float fer;
fer = (cel * 9)/5 + 32;
return fer;
}
float ck()
{
float kel;
kel = cel + 273;
return kel;
}
float kf()
{
float fer;
fer = (((kel - 273)-32)*5)/9;
return fer;
}
float kc()
{
float cel;
cel = 273 - cel;
return cel;
}
int main()
{
cout << "1: Fahrenheight to Celsius\n";
cout << "2: Fahrenheight to Kelvin\n";
cout << "3: Celsius to Fahrenheight\n";
cout << "4: Celsius to Kelvin\n";
cout << "5: Kelvin to Fahrenheight\n";
cout << "6: Kelvin to Celsius\n";
cout << "7: Exit";
cin >> "Enter your choice" >> choice;
switch (choice)
{
case 1: fc();
cout << fer << " degrees Fahrenheight = " << cel <<
"Degrees Celsius";
break;
case 2: fk();
cout << fer << " degrees Fahrenheight = " << kel <<
"Degrees Kelvin";
break;
case 3: cf();
cout << cel << " degrees Celsius = " << fer << "Degrees
Fahrenheight";
break;
case 4: ck();
cout << cel << " degrees Celsius = " << kel << "Degrees
Kelvin";
break;
case 5: kf();
cout << kel << " degrees Kelvin = " << fer << "Degrees
Fahrenheight";
break;
case 6: kc();
cout << kel << " degrees Kelvin = " << cel << "Degrees
Celsius";
break;
case 7:
return 0;
default:
cout << "Invalid entry, exiting";
}
return 0;
}
P.S. It DOES compile sucessfully and will run until "cin >> "Enter your
choice"; Thank you for your time,
The Jay Man
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
|
|
From: Ramana K. <ra...@my...> - 2000-12-21 00:27:10
|
If the class fails to register even after you have tried again after rebooting, there is a problem in your code. I can't see it right now though, from what you've given me, try going through all the things that will happen when you start the program (in order in the WinMain function + the things in the WM_CREATE, WM_SIZE and WM_PAINT cases). Ramana |
|
From: Colin L. <web...@bl...> - 2000-12-20 23:11:23
|
Hi ! In its future versions Dev-C++ will always use makefiles to compile, that wi= ll remove this problem=2E Greetings, Colin Le mer, 20 d=E9c 2000, vous avez =E9crit : > Hi, >=20 > i found another bug (or feature)=2E I know, there will probably no update > soon because of the linux port of dev-c++, but anyway, i forgot the > address for bug reports so i send it here=2E > I just checked at the bloodshed site, i found the link from the source > code to sourceforge, so i sent this there too=2E >=20 > I discovered, if there are any compiler warnings, dev-c++ will not build > an executable=2E This is no problem with the standard options, because > there won't be any realy warning messages=2E If i however use the -Wall > options (maybe it should be standard, or at least an option) or even > the -W options, there will be warnings on things don't meant to be > changed=2E > For example, i want to be warned about unused variables and parameters, > but of course during testing of a program there will be some of them and > dev-c++ don't builds my executable=2E >=20 > Thanks, > Elias >=20 >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev-cpp-users@lists=2Esourceforge=2Enet > http://lists=2Esourceforge=2Enet/mailman/listinfo/dev-cpp-users --=20 Colin Laplace webmaster@bloodshed=2Enet http://www=2Ebloodshed=2Enet |
|
From: Elias P. <Eli...@ao...> - 2000-12-20 22:32:03
|
Hi, i found another bug (or feature). I know, there will probably no update soon because of the linux port of dev-c++, but anyway, i forgot the address for bug reports so i send it here. I just checked at the bloodshed site, i found the link from the source code to sourceforge, so i sent this there too. I discovered, if there are any compiler warnings, dev-c++ will not build an executable. This is no problem with the standard options, because there won't be any realy warning messages. If i however use the -Wall options (maybe it should be standard, or at least an option) or even the -W options, there will be warnings on things don't meant to be changed. For example, i want to be warned about unused variables and parameters, but of course during testing of a program there will be some of them and dev-c++ don't builds my executable. Thanks, Elias |
|
From: lstar36 <ls...@fl...> - 2000-12-20 15:58:53
|
try this function to print in DOS:
void print_buffer(char *str)
int i, status;
i=0;
do
{
status = biosprint(0,str[i],LPT1);
if ( (status & LPT_SELECTED) != LPT_SELECTED && (status &
LPT_NOT_BUSY) != LPT_NOT_BUSY){
print_err_process(status);
}
}
while (i++ < strlen(str));
}
lon...@ju... ls...@fl...
----- Original Message -----
From: "Kuriyama Hsutaro" <hs...@ho...>
To: <dev...@li...>
Sent: Tuesday, December 19, 2000 6:31 PM
Subject: [Dev-C++] Printing in DOS
>
> Can someone tell me how to print text(to the printer) in DOS?
>
> If Dev-C++ doesn't have the function, MSVC would be fine too.
>
> Thanks in advance.
>
>
> Taro
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
>
|
|
From: Kuriyama H. <hs...@ho...> - 2000-12-20 12:57:05
|
first of all,
#include <stdlib.h>
then, at the end of the program, add
system("PAUSE"); //DOS Clear Screen Command
Taro
>From: "zhusain" <zh...@bo...>
>Reply-To: dev...@li...
>To: <dev...@li...>
>Subject: [Dev-C++] Devcpp4 - help needed
>Date: Wed, 20 Dec 2000 12:04:32 +0530
>
>After successfully compiling the source file the programme does not
run.The screen disappears for a moment and comes back without executing the
programme.
>
>Any reason or suggestions please ?
>
>Husain
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
|
|
From: Ramana K. <ra...@my...> - 2000-12-20 07:25:01
|
If you are doing a console program, make sure you have system(PAUSE); at the end (before return 0;). Also, make sure that you have set the right type of Project. Go to Options->Compiler Options then go to the Linker page and if you are doing a console program uncheck Compile for Win32 or if you are doing a Windows program check Compile for Win32. |
|
From: zhusain <zh...@bo...> - 2000-12-20 06:36:44
|
After successfully compiling the source file the programme does not = run.The screen disappears for a moment and comes back without executing = the programme. Any reason or suggestions please ? Husain |
|
From: Ramana K. <ra...@my...> - 2000-12-20 06:24:43
|
This looks a lot like code from the Relisoft tutorial. I remember this bug, but I don't think I ever fixed it. If you are trying to load an icon for your program I suggest you get/make an '.ico' file and then link it into the resource file: ICONNAME ICON "drive:/iconpath/*.ico" Then do wincl.hIcon = LoadIcon(HINST,ICONNAME); And the same with the small icon. I also think you should ask the Relisoft people about the code. (I have sent this again because it seems last time all that was sent was my signature) |
|
From: Ramana K. <ra...@my...> - 2000-12-20 03:23:48
|
This looks a lot like code from the Relisoft tutorial. I remember this bug, but I don't think I ever fixed it. If you are trying to load an icon for your program I suggest you get/make an '.ico' file and then link it into the resource file: ICONNAME ICON "drive:/iconpath/*.ico" Then do wincl.hIcon = LoadIcon(HINST,ICONNAME); And the same with the small icon. I also think you should ask the Relisoft people about the code. To get paid for surfing the internet, please visit AllAdvantage.com. Check out my website on Chips Challenge. |
|
From: dv916 <dv...@ho...> - 2000-12-20 02:27:22
|
> Hi, > > i found a bug in devcpp4.01: > If i select text, then hit tab, the text gets deleted. If i then undo > it, the text gets scrambled somehow.. > > and my feature request: > If i select text, then hit tab, i'd like the text to be indented - it > would save me a lot of time of hitting space and arrow keys :) > > thanks, > Elias Hi, Elias, The text is supposed to get deleted when you highlight it and hit tab. Its just like hitting the spacebar. But I don't know why the text would get scrambled. I guess it might be a bug. |
|
From: ropbert d b. <lon...@ju...> - 2000-12-20 01:07:43
|
Can anyone help with this compile error. I am trying to convert a
MSVisual program and I am getting this error from this code:
void WinClass::SetResIcons (int resId)
{
_class.hIcon = reinterpret_cast <HICON> (
::LoadImage (
_class.hInstance,
MAKEINTRESOURCE (resId),
IMAGE_ICON,
::GetSystemMetrics (SM_CXICON),
::GetSystemMetrics (SM_CYICON),
0));
// this is line 76
// Small icon can be loaded from the same resource
_class.hIconSm = reinterpret_cast<HICON> (
::LoadImage (
_class.hInstance,
MAKEINTRESOURCE (resId),
IMAGE_ICON,
::GetSystemMetrics (SM_CXSMICON),
::GetSystemMetrics (SM_CYSMICON),
0));
}
76 winmaker.cpp
ANSI C++ forbids implicit conversion from `void *' in argument passing
Thanks
lon...@ju...
|
|
From: Kuriyama H. <hs...@ho...> - 2000-12-20 00:31:08
|
Can someone tell me how to print text(to the printer) in DOS? If Dev-C++ doesn't have the function, MSVC would be fine too. Thanks in advance. Taro _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
|
From: Elias P. <Eli...@ao...> - 2000-12-19 17:18:53
|
Hi, i found a bug in devcpp4.01: If i select text, then hit tab, the text gets deleted. If i then undo it, the text gets scrambled somehow.. and my feature request: If i select text, then hit tab, i'd like the text to be indented - it would save me a lot of time of hitting space and arrow keys :) thanks, Elias |
|
From: Chad S. <ho...@ho...> - 2000-12-19 16:14:40
|
>From: "Mundt, Sebastian" <seb...@ge...> >Reply-To: dev...@li... >Subject: [Dev-C++] IP address >Date: Tue, 19 Dec 2000 16:32:01 +0100 > >Hi > >Is there a function telling me my own IP address? >I don't want to use the DOS command ipconfig. > >Thank you very much!! > If you are using windows, then you should be able to. First you have to make a call to WSAStartup to initialize the winsock dll. Then you can call gethostname to return the hostname of the local machine. You can then pass this into the gethostbyname function to get a hostent which will list the ip address of the machine, as well as some other information. Chad Simmons _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |
|
From: Mundt, S. <seb...@ge...> - 2000-12-19 15:32:22
|
Hi Is there a function telling me my own IP address? I don't want to use the DOS command ipconfig. Thank you very much!! --=20 Sebastian Mundt=A0 seb...@mu... <mailto:seb...@mu...> =A0 |