dev-cpp-users Mailing List for Dev-C++ (Page 630)
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: Joshua T. <vap...@ms...> - 2002-01-21 18:12:36
|
That works except when anything is left in cin. So you may want to modify=
it this way..
int x; cin.clear(); cin >> x; =20
----- Original Message -----
From: Daniel Glenfield
Sent: Monday, January 21, 2002 8:35 AM
To: ror...@ne...; dev...@li...
Subject: Re: [Dev-C++] Execution of program
=20
Some people use SYSTEM("PAUSE") (I think that's right) to halt the pro=
gram, so you can see what's on screen. I however prefer to #include <iost=
ream> at the beginning and at the end of the code put =20
int x;
cin >> x;
Get more from the Web. FREE MSN Explorer download : http://explorer.msn=
.com
|
|
From: Joshua T. <vap...@ms...> - 2002-01-21 18:04:46
|
=20 From: Joshua Thomas Sent: Monday, January 21, 2002 1:03 PM To: Kevin Wood Subject: Re: [Dev-C++] First experience with Dev-C++ I agree with you on making arguments in main function for storage array a= bad idea. I was presenting a working code that fixed what didn't work in= his. If you compile the code he sent it doesn't compile without errors. = Using printf() is still bad style. No reason to use it except because you= can:) Cout does the job with less junkie looking code... Joshua Thomas =20 ----- Original Message ----- From: Kevin Wood Sent: Monday, January 21, 2002 10:01 AM To: Dev...@li... Subject: Re: [Dev-C++] First experience with Dev-C++ =20 Sorry, Joshua, but your code is not correct. You should not declare variables / storage space in the argument list of a function. What do you intend to do with 1Mb of memory? You would not be able to access the command-line arguments. There's nothing wrong with printf - it is ANSI compatible. If being antiq= ue means it's considered bad style, then I'm WELL out of style (50 this year= !), but I still consider myself to be useful. Does no one use the console program template which comes with DEV C++ ? Kev. Get more from the Web. FREE MSN Explorer download : http://explorer.msn.c= omGet more from the Web. FREE MSN Explorer download : http://explorer.ms= n.com |
|
From: Kevin W. <ke...@me...> - 2002-01-21 14:17:29
|
Sorry, Joshua, but your code is not correct. You should not declare
variables / storage space in the argument list of a function. What do you
intend to do with 1Mb of memory? You would not be able to access the
command-line arguments.
There's nothing wrong with printf - it is ANSI compatible. If being antique
means it's considered bad style, then I'm WELL out of style (50 this year!),
but I still consider myself to be useful.
Does no one use the console program template which comes with DEV C++ ?
Kev.
---------------------------------------------------------------------------
----- Original Message -----
From: Joshua Thomas <vap...@ms...>
To: Jilani Khaldi <ji...@ti...>; <Dev...@li...>
Sent: Sunday, January 20, 2002 8:02 PM
Subject: Re: [Dev-C++] First experience with Dev-C++
printf() function is a C antique, so its considered bad style so I used cout
which conforms to ANSI standard...See notes at bottem for further comments.
Let me know if you need more help.
Joshua Thomas
// Try the code this way:
#include <iostream>
#include <stdlib.h>
int main(char * argv = new char [1024], int argc)
{
cout << "Hello Dev-C++"; //displays text in quotes... << directs the
string to cout
delete [] argv; //deletes array and pointer, so there is no memory
leak
float wait = 0;
while (wait < 1E9) //see program notes
wait++;
return 0;
}
--- snip -----
|
|
From: Kevin W. <ke...@me...> - 2002-01-21 14:17:28
|
Have you followed the instructions in the file Mingw and Cygwin.txt ?
Kev.
---------------------------------------------------------------------------
----- Original Message -----
From: Jilani Khaldi <ji...@ti...>
To: <dev...@li...>
Sent: Sunday, January 20, 2002 11:27 AM
Subject: [Dev-C++] First experience with Dev-C++
> Hi All,
> I have downloaded MingW, installed it and it works fine from command
> line.
> I have already installed Dev-C++ (compiled from source) and it seems to
> work fine too.
> I have created a new project (myproject.dev) with this single unit:
> // b.cpp
> #include <stdio.h>
>
> int main(int argc, char *argv[])
> {
> printf("Hello Dev-C++");
> return 0;
> }
> //
> Well; from command line: g++ b.cpp it compiles and create a.exe
> correctly. But from Dev-C++ I have just this list of errors:
>
> c:\mingw\bin\ld.exe: warning: cannot find entry symbol _mainCRTStartup;
> defaulting to 00401000
> c:\a2\b.o(.text+0x17)://c/a2/b.cpp: undefined reference to `__main'
> c:\a2\b.o(.text+0x24)://c/a2/b.cpp: undefined reference to `printf'
>
> What am I missing?
>
> - I have installed MingW at c:\mingw
> - Dev-C++ is configuraed this way:
> - bin directory: c:\mingw\bin\
> - C include files c:\mingw\include\
> - C++ include files c:\mingw\include\
> - Libraries directory c:\mingw\lib\
>
> - OS: W2k
>
> Thanks a lot!
>
> --
> Jilani Khaldi
> http://space.tin.it/scuola/jkhaldi
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Daniel G. <sp...@ho...> - 2002-01-21 13:31:40
|
<html><div style='background-color:'><DIV>
<P>Some people use SYSTEM("PAUSE") (I think that's right) to halt the program, so you can see what's on screen. I however prefer to #include <iostream> at the beginning and at the end of the code put </P>
<P>int x;</P>
<P>cin >> x;</P>
<P> </P>
<P>This way the program waits for input before continuing.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: Rob Orlando <ROR...@NE...>
<DIV></DIV>>To: dev...@li...
<DIV></DIV>>Subject: [Dev-C++] Execution of program
<DIV></DIV>>Date: Sun, 20 Jan 2002 20:06:30 -0500
<DIV></DIV>>
<DIV></DIV>>I am just learning c++ and have a question. When I execute a file my
<DIV></DIV>>application only appears for a fraction of a second then disappears.
<DIV></DIV>>How do
<DIV></DIV>>I get it to stay up so I can read it?
<DIV></DIV>>Jen
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Dev-cpp-users mailing list
<DIV></DIV>>Dev...@li...
<DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://go.msn.com/bql/hmtag3_etl_EN.asp'>Click Here</a><br></html>
|
|
From: Rob O. <ror...@ne...> - 2002-01-21 01:03:12
|
I am just learning c++ and have a question. When I execute a file my application only appears for a fraction of a second then disappears. How do I get it to stay up so I can read it? Jen |
|
From: Ioannis V. <no...@ya...> - 2002-01-20 22:48:18
|
getchar() is guaranteed to be defined in stdio.h in both ANSI C and ANSI
C++ (or cstdio in C++).
getch() is not guaranteed to be anywhere but usually happens to be
defined in conio.h .
getchar() is not similar to gets(), gets() reads C-strings and getchar()
one character.
getchar() returns int after the character is converted to int (unsigned
char->int).
getch() usually does the same thing.
Your code in a more portable & correct way:
#include <stdio.h> /* For printf() */
#include <conio.h>
int main(void)
{
char ch;
printf ("\nPress a key\n");
ch=getch(); /* Reads a character so ch is really
wasted space as an int*/
switch(ch) {
case 'a':
printf("You pressed the A key\n");
break;
case 'b':
printf("You pressed the B key\n");
break;
}
return 0;
}
Ioannis
* Ioannis Vranos
* Programming pages: <http://www.noicys.d2g.com/>
http://www.noicys.d2g.com
* Alternative URL: <http://run.to/noicys> http://run.to/noicys
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of
Dan...@ao...
Sent: Sunday, January 20, 2002 9:11 PM
To: Dev...@li...
Subject: [Dev-C++] getchar(), getch(), getche()
Lets try to clear the air about getch() Vs getchar():
They are both prototyped in conio.h, this file is located in the DEV-
CPP\INCLUDE folder.
getchar() is similar to C's gets() in as much as the variable is
declared as a char. When event trapping if the programmer wants to use
numeric user input then he/she will have to convert it to an integer
using the atoi() function. Also when the user presses a key the have to
hit enter afterwards for the variable to read.
getch() is totally different in as much as the variable is declared as
an int so the program can read both Alpha and Numeric results without
any conversions to be done on the programmers end. Also the user just
has to type in the required key and it will be automatically inputted.
Here is a brief example:
#include <conio.h>
void main(void)
{
int ch;
printf ("%s", "Press a key\n");
ch=getch() \\this starts the event tripping procedures
switch(ch) { //this tells the program how to handle the user input
case 'a':
printf("%s", "You pressed the A key\n");
break;
case 'b':
printf("%s", "You pressed the B key\n);
break
}
}
The last function in this message concerns getche() which performs the
same as getch() with one exception and that is that when the user
presses a key the keystroke is echoed to the screen. This is great for
debugging a program.
In closing I'm working on a C tutorial that will include source code and
compiled examples. Any help with this project would be greatly
appreciated.
Danny
|
|
From: A. E. H. <ze...@ze...> - 2002-01-20 20:10:36
|
Your mail received. Thank You, A. Erdogan Horzum www.zetamuhendislik.com |
|
From: Joshua T. <vap...@ms...> - 2002-01-20 20:01:05
|
printf() function is a C antique, so its considered bad style so I used c=
out which conforms to ANSI standard...See notes at bottem for further com=
ments. Let me know if you need more help. =20
Joshua Thomas
// Try the code this way: =20
=20
#include <iostream>
#include <stdlib.h>
int main(char * argv =3D new char [1024], int argc)
{
cout << "Hello Dev-C++"; //displays text in quotes... << directs t=
he string to cout
=20
delete [] argv; //deletes array and pointer, so there is no memor=
y leak
=20
float wait =3D 0;
while (wait < 1E9) //see program notes
wait++;
=20
return 0;
}
// Program notes: while loop makes the computer count to 1 billion before=
closing the console window. This may or may =20
// not be enough time depending on your computer. You can use the ctime l=
ibrary to make the program more portable.
// (setting the program keep time in seconds not computer processing tick=
s through use of the while loop) Also note that =20
// stdio.h is not a valid library I believe you were looking for stdlib. =
Also your pointer syntax was off I fixed it and set the =20
// pointer argv to point to an array with the size of 1 MB of chars. (102=
4 variables in array of type char formally)
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello Dev-C++");
return 0;
}
//
Well; from command line: g++ b.cpp it compiles and create a.exe
correctly. But from Dev-C++ I have just this list of errors:
c:\mingw\bin\ld.exe: warning: cannot find entry symbol _mainCRTStartup;
defaulting to 00401000
c:\a2\b.o(.text+0x17)://c/a2/b.cpp: undefined reference to `__main'
c:\a2\b.o(.text+0x24)://c/a2/b.cpp: undefined reference to `printf'
What am I missing?
- I have installed MingW at c:\mingw
- Dev-C++ is configuraed this way:
- bin directory: c:\mingw\bin\
- C include files c:\mingw\include\
- C++ include files c:\mingw\include\
- Libraries directory c:\mingw\lib\
- OS: W2k
Thanks a lot!
--
Jilani Khaldi
http://space.tin.it/scuola/jkhaldi
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/dev-cpp-usersGet more from t=
he Web. FREE MSN Explorer download : http://explorer.msn.com
|
|
From: Leonard M. <Leo...@Mi...> - 2002-01-20 19:49:05
|
exactly that. |
|
From: <Dan...@ao...> - 2002-01-20 19:11:00
|
Lets try to clear the air about getch() Vs getchar():
They are both prototyped in conio.h, this file is located in the DEV-
CPP\INCLUDE folder.
getchar() is similar to C's gets() in as much as the variable is declared as
a char. When event trapping if the programmer wants to use numeric user input
then he/she will have to convert it to an integer using the atoi() function.
Also when the user presses a key the have to hit enter afterwards for the
variable to read.
getch() is totally different in as much as the variable is declared as an int
so the program can read both Alpha and Numeric results without any
conversions to be done on the programmers end. Also the user just has to type
in the required key and it will be automatically inputted.
Here is a brief example:
#include <conio.h>
void main(void)
{
int ch;
printf ("%s", "Press a key\n");
ch=getch() \\this starts the event tripping procedures
switch(ch) { //this tells the program how to handle the user input
case 'a':
printf("%s", "You pressed the A key\n");
break;
case 'b':
printf("%s", "You pressed the B key\n);
break
}
}
The last function in this message concerns getche() which performs the same
as getch() with one exception and that is that when the user presses a key
the keystroke is echoed to the screen. This is great for debugging a program.
In closing I'm working on a C tutorial that will include source code and
compiled examples. Any help with this project would be greatly appreciated.
Danny
|
|
From: Kenneth A. <dig...@ho...> - 2002-01-20 17:37:56
|
Hello everyone. Is there any way to use Dev-C++ on Linux? How would I configure it to work? If anyone knows please break it down to me as if I were five years old, I'm new to linux and I'm still trying to get it figured out. Thanx for any help. digimars _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Jilani K. <ji...@ti...> - 2002-01-20 11:29:10
|
Hi All,
I have downloaded MingW, installed it and it works fine from command
line.
I have already installed Dev-C++ (compiled from source) and it seems to
work fine too.
I have created a new project (myproject.dev) with this single unit:
// b.cpp
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello Dev-C++");
return 0;
}
//
Well; from command line: g++ b.cpp it compiles and create a.exe
correctly. But from Dev-C++ I have just this list of errors:
c:\mingw\bin\ld.exe: warning: cannot find entry symbol _mainCRTStartup;
defaulting to 00401000
c:\a2\b.o(.text+0x17)://c/a2/b.cpp: undefined reference to `__main'
c:\a2\b.o(.text+0x24)://c/a2/b.cpp: undefined reference to `printf'
What am I missing?
- I have installed MingW at c:\mingw
- Dev-C++ is configuraed this way:
- bin directory: c:\mingw\bin\
- C include files c:\mingw\include\
- C++ include files c:\mingw\include\
- Libraries directory c:\mingw\lib\
- OS: W2k
Thanks a lot!
--
Jilani Khaldi
http://space.tin.it/scuola/jkhaldi
|
|
From: Anon <an...@pu...> - 2002-01-20 06:28:13
|
Damned v r :P Thanx 4 the conio.c. But yeah there's a function getch(). check it out!!! Abhi. |
|
From: Jilani K. <ji...@ti...> - 2002-01-20 01:52:41
|
Hi, I am a Delphi developer, I have downloaded the source code, compiled it and it works fine (Thank You For Your Nice Job Guys!). Now I wonder how to configure it (the compiled version) to get it working with the Borland C++ Free Compiler (CommandLine); or where to change the source code. Thanks! -- Jilani Khaldi http://space.tin.it/scuola/jkhaldi |
|
From: Vikranth P.M <vi...@ya...> - 2002-01-20 01:23:16
|
Please unsubscribe me vi...@ya... from your mailing list for Cpp users. __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |
|
From: Ioannis V. <no...@ya...> - 2002-01-19 23:21:52
|
At first getchar() is defined in stdio.h . Secondly, he was talking about getch() a non-ANSI C function defined in conio.h . Ioannis * Ioannis Vranos * Programming pages: <http://www.noicys.d2g.com> http://www.noicys.d2g.com * Alternative URL: <http://run.to/noicys> http://run.to/noicys > -----Original Message----- > From: dev...@li... > [ <mailto:dev...@li...> mailto:dev...@li...] On Behalf > Of the...@ju... > Sent: Saturday, January 19, 2002 6:49 PM > To: an...@pu... > Cc: dev...@li... > Subject: Re: [Dev-C++] getch()?? DAMN YOU ALL!!! :P > > > Look all you noodles: > First off, it's NOT getch(); !!! > But it IS getchar(); !!! > Notice the 'ar' at the end? > Secondly, to actually USE it you must include conio.c !!! > YES .C !!! NOT .H !!! BUT .C !!! > > Your all welcome by the way, > Devin Torres > > P.S. For those of you on the right track: good job :) > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: mc.navar <mc....@gm...> - 2002-01-19 21:55:15
|
hi david, check the followingen pages. I find them very usefull. I work at the same problem but I use the more easier parallel port. mc. http://www.epanorama.net/links/motorcontrol.html http://www.beyondlogic.org/ http://www.lvr.com/ |
|
From: <cuo...@iw...> - 2002-01-19 21:49:25
|
This is what U need. U had missed out the letter 'r' I believe.....
<br />
<br />
#include <stdio.h>
<br />
getchar();
<br />
<br />
<br />
<br />
<br />
-----
<br />
http://www.vstore.com/cgi-bin/pagegen/iwonstores/megatron/page.html
<br />
<br />
GREAT SHOPPING PLACE!!!!!!!!!!!!!!
<br />
<br />
<hr><font size=2 face=verdana,sans-serif>Visit <a href=http://www.iwon.com target=_blank>iWon.com</a> - the Internet's largest guaranteed cash giveaway!</font>
|
|
From: David M. <ci...@ya...> - 2002-01-19 21:07:51
|
I know this might be a bit off the subject but I would like to take full control of a serial port. I plan to use it to control a simple robot. does anyone know of a library that would allow me to take control of the robot? (when I say low level, I mean low level. For now the robot will only move if it receives a signal on a certain line. There is no need for error correction) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: David M. <ci...@ya...> - 2002-01-19 21:01:41
|
I know this might be a bit off the subject but I would like to take full control of a serial port. I plan to use it to control a simple robot. does anyone know of a library that would allow me to take control of the robot? (when I say low level, I mean low level. For now the robot will only move if it receives a signal on a certain line. There is no need for error correction) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: David M. <ci...@ya...> - 2002-01-19 20:38:50
|
I have a small problem with certain programs can some tell me how not to get these errors?? g++: -lalleg: linker input file unused since linking not done _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: A. E. H. <ze...@ze...> - 2002-01-19 20:10:48
|
Your mail received. Thank You, A. Erdogan Horzum www.zetamuhendislik.com |
|
From: <the...@ju...> - 2002-01-19 16:45:19
|
Look all you noodles: First off, it's NOT getch(); !!! But it IS getchar(); !!! Notice the 'ar' at the end? Secondly, to actually USE it you must include conio.c !!! YES .C !!! NOT .H !!! BUT .C !!! Your all welcome by the way, Devin Torres P.S. For those of you on the right track: good job :) |
|
From: Susanto S. <san...@ce...> - 2002-01-19 06:12:14
|
try to include stdio.h and conio.h in your code.
it works for me.
salim
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of anon
> Sent: Thursday, January 17, 2002 3:12 PM
> To: dev...@li...
> Subject: [Dev-C++] getch()??
>
>
> Hi!
> we're a class of 60, I luv 2 use dev for my assignments, my friends
> would like to switch too but they want getch() to work and not
> system("PAUSE") at the end to see the output. I tried using
> conio.h, but
> it doesn't help. curses.h is not found (?) can anyone please
> tell me how
> do i get getch() working? Which header file is to be included or do I
> tweak my compiler options?
> thanx,
> Abhi
|