dev-cpp-users Mailing List for Dev-C++ (Page 426)
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: Rigoberto C. <hom...@se...> - 2003-03-05 00:26:10
|
I need a piece of code to read the CPU serial number or the Network adapter serial number. Any one who can help? Rigo |
|
From: Robson B. <rob...@su...> - 2003-03-04 23:57:50
|
Does anybody has a good example of how to use winsock and/or sql routines? Thanks! |
|
From: Robson B. <rob...@su...> - 2003-03-04 23:49:32
|
Just forget the 'char letter' that means not at all... just a less
functional earlier code that i made! =D
> The function getchar() returns an int number that represents a char. See
> below:
>
>
>
> #include <stdio.h>
>
> void main()
> {
> char letter;
> puts("type key then [ENTER]");
> do {
> //your stuff goes here
> } while(getchar() != 'a');
> }
>
>
>
> hope it helps!
>
|
|
From: Robson B. <rob...@su...> - 2003-03-04 23:46:27
|
The function getchar() returns an int number that represents a char. See
below:
#include <stdio.h>
void main()
{
char letter;
puts("type key then [ENTER]");
do {
//your stuff goes here
} while(getchar() != 'a');
}
hope it helps!
|
|
From: Robson B. <rob...@su...> - 2003-03-04 23:32:05
|
#include <stdlib.h>
use - system("PAUSE"); - at the end of main function
|
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:59:39
|
Some adjustments:=0D
=0D
=0D
=0D
-------Original Message-------=0D
=0D
From: Ioannis Vranos=0D
Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:55:26 =F0=EC=
=0D
To: Dev-C++ Mailing List=0D
Subject: Re: [Dev-C++] Character variables=0D
=0D
-------Original Message-------=0D
=0D
From: Per Westermark=0D
Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:26:51 =F0=EC=
=0D
To: Giligun=0D
Cc: C++=0D
Subject: Re: [Dev-C++] Character variables=0D
=0D
short s =3D 'ab';=0D
int i =3D 'abcd';=0D
=0D
given that int is 4 byte.=0D
=0D
=0D
=3D=3D> That isn't valid C++. And where it gets compiled you can't consid=
er it
as safe.=0D
=0D
=0D
=0D
But a lot of compilers will give you warnings, since it you can't be sure=
=0D
if memcpy(buf,&s,sizeof(s)) will give you=0D
buf[0] =3D 'a', buf[1] =3D 'b';=0D
or=0D
buf[0] =3D 'b', buf[1] =3D 'a';=0D
=0D
In short - be very careful about using this feature. One place where it's=
=0D
elegant to use is if you are reading a tagged file, where each tag is=0D
4-byte long:=0D
char *buf;=0D
=0D
int tag =3D 0;=0D
for (i =3D 0; i < 4; i++) {=0D
tag =3D (tag << 8) | *buf++;=0D
}=0D
=0D
=0D
=3D=3D> Too system dependent. Additionally bitwise operators are to be us=
ed in
unsigned integrals only.=0D
=0D
=3D=3D> He could use wchar_t instead. But since he wants to store charact=
ers
(assuming in the range 0-127) he can use a char sequence nicely and easil=
y. =0D
=0D
=0D
switch (tag) {=0D
case 'STRT': ...; break;=0D
case 'HEDR': ...; break;=0D
case 'DATA': ...; break;=0D
case 'ENDF': ...; break;=0D
}=0D
=0D
If there are a lot of tags, the result is a very fast matching of the=0D
tags.=0D
=0D
=0D
=3D=3D> By the way i would do something like the above using std::bitset.=
=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20 |
|
From: <Ba...@ao...> - 2003-03-04 22:56:28
|
When I choose execute-->compile and run, the program executes in a screen that disapears as soon as it's done. Is there a way that I can make the screen stay open until I close is? Please help |
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:54:04
|
-------Original Message-------=0D
=0D
From: Andr=E9 Mac=E1rio Barros=0D
Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:27:42 =F0=EC=
=0D
To: Dev-Cpp-Users=0D
Subject: [Dev-C++] undefined reference to flushall=0D
=0D
I=B4m with the following problem:=0D
=0D
1.consider the following piece of C code:=0D
#include <stdio.h>=0D
=2E..=0D
int main()=0D
{=0D
=2E..=0D
flushall();=0D
}=0D
=0D
2. When I try to compile, the following message box appears to me:=0D
=0D
C:\XXX\XXX\CONFIG~1\Temp\cceubaaa.o(.text+0x338):clinic~3.c: undefined=0D
reference to `flushall'=0D
=0D
3. The same code works fine inside v.2.01 Borland TC=0D
=0D
=0D
=0D
=3D=3D> That's a system extension. On the other hand, fflush(NULL); is St=
andard
C and is portable.=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20 |
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:53:10
|
-------Original Message-------=0D
=0D
From: Per Westermark=0D
Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:26:51 =F0=EC=
=0D
To: Giligun=0D
Cc: C++=0D
Subject: Re: [Dev-C++] Character variables=0D
=0D
short s =3D 'ab';=0D
int i =3D 'abcd';=0D
=0D
given that int is 4 byte.=0D
=0D
=0D
=3D=3D> That isn't valid C++. And where it gets compiled you can't consid=
er it
as safe.=0D
=0D
=0D
=0D
But a lot of compilers will give you warnings, since it you can't be sure=
=0D
if memcpy(buf,&s,sizeof(s)) will give you=0D
buf[0] =3D 'a', buf[1] =3D 'b';=0D
or=0D
buf[0] =3D 'b', buf[1] =3D 'a';=0D
=0D
In short - be very careful about using this feature. One place where it's=
=0D
elegant to use is if you are reading a tagged file, where each tag is=0D
4-byte long:=0D
char *buf;=0D
=0D
int tag =3D 0;=0D
for (i =3D 0; i < 4; i++) {=0D
tag =3D (tag << 8) | *buf++;=0D
}=0D
=0D
=0D
=3D=3D> Too system dependent. Why don't you use wchar_t instead? But sinc=
e he
wants to store characters (assuming in the range 0-127) he can use a char
sequence nicely and easily. =0D
=0D
switch (tag) {=0D
case 'STRT': ...; break;=0D
case 'HEDR': ...; break;=0D
case 'DATA': ...; break;=0D
case 'ENDF': ...; break;=0D
}=0D
=0D
If there are a lot of tags, the result is a very fast matching of the=0D
tags.=0D
=0D
=0D
=3D=3D> By the way i would do something like the above using std::bitset.=
=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20 |
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:48:32
|
-------Original Message-------=0D =0D From: too...@ya...=0D Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:05:20 =F0=EC= =0D To: C++=0D Subject: [Dev-C++] Character variables=0D =0D How does one get a char variable to hold more than one=0D character? Or what other type should be used?=0D =0D =0D =3D=3D> You can't fit more than one characters in one char. You can use a= char sequence (array or whatever) to do that.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Ioannis V. <no...@ho...> - 2003-03-04 22:44:58
|
-------Original Message-------=0D =0D From: too...@ya...=0D Date: =D4=E5=F4=DC=F1=F4=E7, 5 =CC=DC=F1=F4=E9=EF=F2 2003 12:01:28 =F0=EC= =0D To: dev...@li...=0D Subject: [Dev-C++] getchar()=0D =0D This works for 'enter'. How can it be changed to=0D another key. Being the novie I am I assume something=0D like getchar(4) or maybe getchar(g). If it's number=0D codes, where can I find which number applies to which character?=0D =0D =0D =3D=3D> You can't do it in a portable way and you will have to use some s= ystem extension (like getch() and getche() defined in conio.h). Because the standard input & output is usually buffered (and the ANSI/ISO C++ standar= d doesn't require the standard input/ouput to be either buffered or unbuffered).=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Daniel K. O. <dan...@ya...> - 2003-03-04 22:34:18
|
Why are you trying to learn C from scratch asking this mailing list? Isn't more effective to buy/download a book/tutorial on the internet? Something like http://www.geocities.com/tom_torfs/c.html Daniel K. O. It's OK to be ignorant; it's not OK to play stupid. http://www.catb.org/~esr/faqs/smart-questions.html > -----Mensagem original----- > De: dev...@li... > [mailto:dev...@li...]Em nome de Giligun > Enviada em: terça-feira, 4 de março de 2003 19:02 > Para: C++ > Assunto: [Dev-C++] Character variables > > > How does one get a char variable to hold more than one > character? Or what other type should be used? > _______________________________________________________________________ Busca Yahoo! O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra. http://br.busca.yahoo.com/ |
|
From: Per W. <pw...@ia...> - 2003-03-04 22:25:20
|
short s = 'ab';
int i = 'abcd';
given that int is 4 byte.
But a lot of compilers will give you warnings, since it you can't be sure
if memcpy(buf,&s,sizeof(s)) will give you
buf[0] = 'a', buf[1] = 'b';
or
buf[0] = 'b', buf[1] = 'a';
In short - be very careful about using this feature. One place where it's
elegant to use is if you are reading a tagged file, where each tag is
4-byte long:
char *buf;
int tag = 0;
for (i = 0; i < 4; i++) {
tag = (tag << 8) | *buf++;
}
switch (tag) {
case 'STRT': ...; break;
case 'HEDR': ...; break;
case 'DATA': ...; break;
case 'ENDF': ...; break;
}
If there are a lot of tags, the result is a very fast matching of the
tags.
/Per W
On Tue, 4 Mar 2003, Giligun wrote:
> How does one get a char variable to hold more than one
> character? Or what other type should be used?
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> 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: <and...@su...> - 2003-03-04 22:24:30
|
I´m with the following problem:
1.consider the following piece of C code:
#include <stdio.h>
...
int main()
{
...
flushall();
}
2. When I try to compile, the following message box appears to me:
C:\XXX\XXX\CONFIG~1\Temp\cceubaaa.o(.text+0x338):clinic~3.c: undefined
reference to `flushall'
3. The same code works fine inside v.2.01 Borland TC
Regards
Andre
|
|
From: Giligun <too...@ya...> - 2003-03-04 22:01:43
|
How does one get a char variable to hold more than one character? Or what other type should be used? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Giligun <too...@ya...> - 2003-03-04 21:59:15
|
This works for 'enter'. How can it be changed to another key. Being the novie I am I assume something like getchar(4) or maybe getchar(g). If it's number codes, where can I find which number applies to which character? __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Wojciech G. <wo...@gi...> - 2003-03-04 21:21:18
|
confirm 795267 |
|
From: Ioannis V. <no...@ho...> - 2003-03-04 19:44:11
|
=0D
#include <iostream> =0D
=0D
=0D
int main()=0D
{=0D
=3D=3D> using namespace std;=0D
=0D
cout << "Press ENTER to continue..." << endl;=0D
=0D
cin.ignore();=0D
=0D
return 0;=0D
}=0D
=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys =0D
=0D
=0D
=0D
-------Original Message-------=0D
=0D
From: Tina Barnes=0D
Date: =D4=F1=DF=F4=E7, 4 =CC=DC=F1=F4=E9=EF=F2 2003 9:37:04 =EC=EC=0D
To: dev...@li...=0D
Subject: Re: [Dev-C++] How do I pause a program?=0D
=0D
Thanks, it works=0D
=0D
// how to pause system #3=0D
//=0D
=0D
#include <iostream> // For cout and cin=0D
using namespace std;=0D
=0D
int main()=0D
{=0D
cout << "Press ENTER to continue..." << endl;=0D
cin.ignore();=0D
=0D
return 0;=0D
}
|
|
From: Tina B. <t_b...@co...> - 2003-03-04 19:32:15
|
Thanks, it works
// how to pause system #3
//
#include <iostream> // For cout and cin
using namespace std;
int main()
{
cout << "Press ENTER to continue..." << endl;
cin.ignore();
return 0;
}
----- Original Message -----=20
From: Ioannis Vranos=20
To: dev...@li...=20
Sent: Tuesday, March 04, 2003 11:15 AM
Subject: Re: [Dev-C++] How do I pause a program?
-------Original Message-------
=20
From: Tina Barnes
Date: =D4=F1=DF=F4=E7, 4 =CC=DC=F1=F4=E9=EF=F2 2003 8:34:56 =EC=EC
To: dev...@li...
Subject: Re: [Dev-C++] How do I pause a program?
=20
Here's another way to pause a program...
=20
// how to pause program
// uses ENTER key to continue
=20
#include <iostream> // For cout and cin
#include <cstdio> // For getchar ()
=20
=20
=3D=3D> The above can be avoided.
=20
=20
using namespace std;
=20
=3D=3D> Better in local scope.
=20
=20
int main()
{
cout << "Some sort of output to screen!" << endl;
cout << "Press ENTER to continue..." << endl;
getchar ();
=20
cout << "Print something else..." << endl;
cout << "Press ENTER to continue..." << endl;
getchar ();
=20
=3D=3D> Better cin.ignore();
=20
=20
return 0;
}
=20
=20
=20
Ioannis Vranos
=20
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys=20
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The =
debugger=20
for complex code. Debugging C/C++ programs can leave you feeling lost =
and=20
disoriented. TotalView can help you find your way. Available on major =
UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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: Louis G. <lg...@ya...> - 2003-03-04 19:19:40
|
There is another way... try getch() instead of system()
--- Tina Barnes <t_b...@co...> wrote:
> This is one way, although there are probably others. Without this, my
> dos window closes before I can see it...
>
>
> // Tina Barnes
> //
>
> #include <iostream> // For cout and cin
> #include <cstdlib> // For system("PAUSE")
> using namespace std;
>
> int main()
> {
> // your program goes here...
> system("PAUSE");
> return 0;
> }
>
> ----- Original Message -----
> From: Giligun
> To: dev...@li...
> Sent: Tuesday, March 04, 2003 9:32 AM
> Subject: [Dev-C++] How do I pause a program?
>
>
> I want it to display some information until a button
> is pressed. The Bloddshed software I have has the .h
> file with some command to do, but I wanna know how it
> works without this.
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
> debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost
> and
> disoriented. TotalView can help you find your way. Available on major
> UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> 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!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
|
|
From: Ioannis V. <no...@ho...> - 2003-03-04 19:15:48
|
-------Original Message-------=0D
=0D
From: Tina Barnes=0D
Date: =D4=F1=DF=F4=E7, 4 =CC=DC=F1=F4=E9=EF=F2 2003 8:34:56 =EC=EC=0D
To: dev...@li...=0D
Subject: Re: [Dev-C++] How do I pause a program?=0D
=0D
Here's another way to pause a program...=0D
=0D
// how to pause program=0D
// uses ENTER key to continue=0D
=0D
#include <iostream> // For cout and cin=0D
#include <cstdio> // For getchar ()=0D
=0D
=0D
=3D=3D> The above can be avoided.=0D
=0D
=0D
using namespace std;=0D
=0D
=3D=3D> Better in local scope.=0D
=0D
=0D
int main()=0D
{=0D
cout << "Some sort of output to screen!" << endl;=0D
cout << "Press ENTER to continue..." << endl;=0D
getchar ();=0D
=0D
cout << "Print something else..." << endl;=0D
cout << "Press ENTER to continue..." << endl;=0D
getchar ();=0D
=0D
=3D=3D> Better cin.ignore();=0D
=0D
=0D
return 0;=0D
}=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
|
|
From: <cg...@wo...> - 2003-03-04 19:01:06
|
Someone knows about some site with good enough tutorials for programming in gas assembly? (AT&T syntax). I only found: Linux assembly: gas uses AT&T syntax instead the usual Intel from NASM, so let's learn NASM. And no word about gas. The only two sites I found with some info about it are not enough |
|
From: Louis G. <lg...@ya...> - 2003-03-04 19:00:17
|
Should we invest huge amounts of time learning wherever M$ wants developers to learn ? As I see it, the WIN 98, 98SE, and ME upgrades were marketing gimmicks to enrich M$ without providing any significant performance improvements. For years M$ fought against release of WIN source code to USA developers, so it could retain a competitive advantage in developing apps that run under WIN. M$ is now giving it away free in China because for every legal copy of WIN sold 10 illegal copies are sold. It seems only the Chinese know how to counteract M$ marketing tactics. Why .NET ? I'm sure M$ will present it as the "most significant upgrade ever". But lets not forget the big lawsuit Sun Micro won a few months ago against M$. It looks like M$ using .NET to displace JAVA, using the same old marketing strategy cited in the US Federal antitrust case. --- Asko Kauppi <ask...@sc...> wrote: > > Maybe off the topic but.. Microsoft recently bought Virtual PC from > Connectix (the software that makes Win32 run in a 'sandbox' on a Mac). > I wonder if they need "protection from themselves", ability to emulate > old Win32 on whatever-state-of-the-art (=.net?) system they want to > build from scratch. > > Basically, this is exactly what OS X does with MacOS classic mode. > Nothing new under the sun... ;) > > P.S. They probably even steal the name and call their new one "OS Y" or > something.. Or "OS XP"? >:P > > -ak > > > > Per Westermark kirjoittaa tiistaina, 4. maaliskuuta 2003, kello 16:10: > > > Unless M$ wants to loose all their market shares, they will think > about > > the installed base of Win32 applications. > > > > /Per W > > > > On Tue, 4 Mar 2003, Louis Godio wrote: > > > >> Will Longhorn support WIN32 API function calls ? or will we need to > >> learn a totaly new API > >> > >> > >> --- Ioannis Vranos <no...@ho...> wrote: > >>> Also it is useful to know that with the current provided information > >>> Longhorn will only support .NET API. That version of .NET is > >>> code-named > >>> Avalon. Some quotations on that: > >>> > >>> > >>> "The "Visual Studio for Yukon" release will represent a significant > >>> milestone. Following the "Yukon" wave, the next planned platform > >>> update > >>> is > >>> the Windows release code-named "Longhorn." A tools update, "Visual > >>> Studio > >>> for Longhorn," will support the managed interfaces, enhanced user > >>> interface > >>> features, and other new capabilities of the updated platform." > >>> > >>> > >>> "Longhorn > >>> > >>> Next major OS version > >>> Will contain Avalon the fully .NET Win32 API. > >>> OS integration with .NET reaches its conclusion. > >>> Everything that is currently in Windows will be rewritten as managed > >>> code. > >>> " > >>> > >>> > >>> > >>> > >>> > >>> Ioannis Vranos > >>> > >>> * Programming pages: http://www.noicys.freeurl.com > >>> * Alternative URL: http://run.to/noicys > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.net email is sponsored by: Etnus, makers of TotalView, The > >>> debugger > >>> for complex code. Debugging C/C++ programs can leave you feeling > lost > >>> and > >>> disoriented. TotalView can help you find your way. Available on > major > >>> UNIX > >>> and Linux platforms. Try it free. www.etnus.com > >>> _______________________________________________ > >>> 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!? > >> Yahoo! Tax Center - forms, calculators, tips, more > >> http://taxes.yahoo.com/ > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: Etnus, makers of TotalView, The > >> debugger > >> for complex code. Debugging C/C++ programs can leave you feeling lost > > >> and > >> disoriented. TotalView can help you find your way. Available on major > > >> UNIX > >> and Linux platforms. Try it free. www.etnus.com > >> _______________________________________________ > >> 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: Etnus, makers of TotalView, The > > debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost > > and > > disoriented. TotalView can help you find your way. Available on major > > UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > 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: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost > and > disoriented. TotalView can help you find your way. Available on major > UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > 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!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |
|
From: Tina B. <t_b...@co...> - 2003-03-04 18:32:01
|
Here's another way to pause a program...
// how to pause program
// uses ENTER key to continue
#include <iostream> // For cout and cin
#include <cstdio> // For getchar ()
using namespace std;
int main()
{
cout << "Some sort of output to screen!" << endl;
cout << "Press ENTER to continue..." << endl;
getchar ();
cout << "Print something else..." << endl;
cout << "Press ENTER to continue..." << endl;
getchar ();
return 0;
}
----- Original Message -----=20
From: Giligun=20
To: dev...@li...=20
Sent: Tuesday, March 04, 2003 9:32 AM
Subject: [Dev-C++] How do I pause a program?
I want it to display some information until a button
is pressed. The Bloddshed software I have has the .h
file with some command to do, but I wanna know how it
works without this.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The =
debugger=20
for complex code. Debugging C/C++ programs can leave you feeling lost =
and=20
disoriented. TotalView can help you find your way. Available on major =
UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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: Per W. <pw...@ia...> - 2003-03-04 18:23:24
|
Well, it should be obvious by now that I'm a clock-cycle counter and want the fastest possible solutions :-) About learning new technologies. That's life. At least every 3-5 years every programmer are normally expected to relearn a completely new methodology or concept. - 16-bit MS-Dos with segmented memory and Terminate-and-Stay-Resident tools. - Borland Turbo-Vision text-window libraries. - Borland Object Windows Library (OWL) windows graphics libraries. - 16-bit Win 3.1 with cooperative applications who locked up the machine if they got stuck in a loop. - 32-bit linear Win32 applications with memory management and multi-tasking. - ActiveX controls. - OpenGL graphics - DirectX graphics - ISAM databases. - Dynamic link libraries. - Microsoft JET databases. - COM and DCOM components. - Microsoft Foundation Classes. - Microsoft ADO database API. - Garbage Collection. - Mpeg video and audio. ... The only bad thing is when a new technology has a high cost of learning and migrating, without giving a clear improvement. The Wintel world has always had binary compatibility as the main target. It's nice for the end users, but means that all old applications normally keeps the limitations of the machines they where originally written for. In the Unix world on the other hand, the goal has been source code compatibility. The advantage is that you may take your 10 year old code written for a 68000-based machine as recompile on brand new super-machine, and suddenly your old program will run 100 times faster while allowing huge projects to be processed. /Per W On Tue, 4 Mar 2003, Zodiaq wrote: > Hello Ioannis and all Dev-C++ users, > > Tuesday, March 4, 2003, 6:26:37 PM, Ioannis wrote as follows: > > > > That would be OK with me (i am not MS fan, i would dare to state that i > > am the opposite). > > Two important thing to notice: > -please, please, please don't use your way to write REs, this method > of using =>> make mails unreadable, not totally, but I have to wonder > where's your text, and where's the person you respond... please you > stansard >> > -I'm not fan of M$ either, but there are still lot of programs that > can be written (niche - like in firewalls, maybe good games) and (what > is relly important) there ale lot of people that can use your software > (heh, and pay for it if you decide to release it under shareware) > > But there is also one really important thing to notice - rewriting so > many software, means work for us - programmers... but, hey - not .NET, > it suxx (these are the words of speed/size maniac!) > > -- > regards, Zodiaq > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > 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 > |