dev-cpp-users Mailing List for Dev-C++
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
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(14) |
|
2
(3) |
3
(9) |
4
(11) |
5
(15) |
6
(6) |
7
(6) |
8
(4) |
|
9
(7) |
10
(6) |
11
(11) |
12
(2) |
13
|
14
|
15
(6) |
|
16
(5) |
17
(4) |
18
(2) |
19
(2) |
20
(5) |
21
(7) |
22
(7) |
|
23
(2) |
24
(5) |
25
(2) |
26
(3) |
27
(2) |
28
(8) |
29
(5) |
|
30
(3) |
31
(3) |
|
|
|
|
|
|
From: Jerry C. <jdc...@ju...> - 2001-12-31 15:03:28
|
Thank you for the informative exchange. Please remove me from the list at this time. Jerry |
|
From: BetaNews <fi...@be...> - 2001-12-31 07:43:25
|
Remove ----- Original Message ----- From: "DXFX" <vin...@ed...> To: "dev-c++ user's mailing list" <dev...@li...> Sent: Monday, December 31, 2001 6:44 PM Subject: [Dev-C++] Shell tray Icons... > Greetings! > > Applications use Shell_NotifyIcon function to create an icon on the Windows Taskbar's Status Area(system tray). > > But what if we turn the the table around... > > What if the application is the one that displays the icons in an area(maybe a system tray replacement or something). It receives some calls from the system informing the application that another application has called the Shell_NotifyIcon function and should process the data that was passed by the other application. Question - > > How does the application receive the notifications from the system that another application has called Shell_NotifyIcon(or simply means that a new icon for the "system tray" was created? Does the system notify the application or not? > > All I wanted to do with the application was to detect if there are icons in the system tray... or if the application IS the system tray, how does it detect if there are new icons to be added, and/or that some of the icons where modified(for Shell_NotifyIcon also allows to change an existing icon in the system tray). How do I do this? > > Please, someone, help! > > Thanks to anyone! > > dXFx > > -- > > __________________________________ > www.edsamail.com > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: DXFX <vin...@ed...> - 2001-12-31 07:34:07
|
Greetings! Applications use Shell_NotifyIcon function to create an icon on the Windows Taskbar's Status Area(system tray). But what if we turn the the table around... What if the application is the one that displays the icons in an area(maybe a system tray replacement or something). It receives some calls from the system informing the application that another application has called the Shell_NotifyIcon function and should process the data that was passed by the other application. Question - How does the application receive the notifications from the system that another application has called Shell_NotifyIcon(or simply means that a new icon for the "system tray" was created? Does the system notify the application or not? All I wanted to do with the application was to detect if there are icons in the system tray... or if the application IS the system tray, how does it detect if there are new icons to be added, and/or that some of the icons where modified(for Shell_NotifyIcon also allows to change an existing icon in the system tray). How do I do this? Please, someone, help! Thanks to anyone! dXFx -- __________________________________ www.edsamail.com |
|
From: <mi...@ju...> - 2001-12-30 21:44:03
|
I was wondering if anyone knew of tutorials for writing c programs for pocket viewer handheld computers. I know these toys are more popular in Europe, but I want to start writing programs for them and can't get started. ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/. |
|
From: John K. <jki...@po...> - 2001-12-30 16:44:27
|
(Sheepishly) Thanks, Dr. lonestar36 ------------------ Reply Separator -------------------- Originally From: "lonestar36" <lon...@go...> Subject: Re: [Dev-C++] newbie with 'undefined reference to strcopy' only on linking files Date: 12/30/2001 06:56am String copy prototype is: char *strcpy( char *dest, const char *src); You are mis spelling strcopy. lonestar36 ----- Original Message ----- From: "John Kilbourne" <jki...@po...> To: <dev...@li...> Sent: Saturday, December 29, 2001 9:22 PM Subject: [Dev-C++] newbie with 'undefined reference to strcopy' only on linking files |
|
From: John K. <jki...@po...> - 2001-12-30 03:29:34
|
I am using gcc on winNT, working with the CD of C programming
accompanying Bruce Eckels' Thinking in C++.
I have a program with three files. I am not using "make"; I just
compile them directly. All has worked well till now.
I compile my program to an object file ok (gcc -c employ2.c), but
when I try to link it with the file with the main() method, I get
the "undefined reference" error noted above. Here is my dos command
line, showing the successful compilation to the .o file and the error
that results both when trying to use the .o file and when
recompiling everyting from source:
C:\eckels>gcc -c employ2.c
C:\eckels>gcc -olab7 employ2.o lab7.c
employ2.o(.text+0x2a):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x40):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x56):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0xfc):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x123):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x147):employ2.c: more undefined references to
`strcopy' follow
C:\eckels>gcc -o lab7 employ2.c lab7.c
C:\TEMP\ccCqaaaa.o(.text+0x2a):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x40):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x56):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0xfc):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x123):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x147):employ2.c: more undefined references
to `strcopy' follow
My header includes <string.h>. Here is my code, which is really
eckels' code:
/* employ2.c*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "employ2.h"
struct Employee* createEmployee
(char* last,
char* first,
char* title,
int sal)
{
struct Employee* p =
malloc(sizeof(struct Employee));
if (p != NULL)
{
strcopy(p->last, last);
strcopy(p->first, first);
strcopy(p->title, title);
p->salary = sal;
}
return p;
}
char* getLast(struct Employee* emp)
{
return emp ? emp->last : "";
}
char* getFirst(struct Employee* emp)
{
return emp ? emp->first : "";
}
char* getTitle(struct Employee* emp)
{
return emp ? emp->title : "";
}
int getSalary(struct Employee* emp)
{
return emp->salary;
}
void setLast(struct Employee* emp, char* last)
{
if (emp != NULL)
strcopy(emp->last, last);
}
void setFirst(struct Employee* emp, char* fir)
{
if (emp != NULL)
strcopy(emp->first, fir);
}
void setTitle(struct Employee* emp, char* title)
{
if (emp != NULL)
strcopy(emp->title, title);
}
void setSalary(struct Employee* emp, int sal)
{
if (emp != NULL)
strcopy(emp->salary, sal);
}
void printEmployee(struct Employee* emp)
{
putchar('{');
if (emp != NULL)
printf("%s\n%s\n%s\n%d\n",
emp->last,
emp->first,
emp->title,
emp->salary);
putchar('}');
}
What simple thing am I missing?
|
|
From: http//:angelfire.com/dc/85 Sale's <bc...@ms...> - 2001-12-29 19:24:21
|
It took me a whoole day to find these,hope they are of some info for you all on how to make a OS.Some are for linux ,others are not,check em out. http://www.codesites.com http://www.kernel.org/pub/ http://www.cs.arizona.edu/people/bridges/os/free.html http://www.acm.uiuc.edu/sigops/roll_your_own/ http://www.acm.uiuc.edu/sigops/roll_your_own/1.html http://www.geocities.com/SiliconValley/Campus/1671/english/iindice.htm http://www.linuxdoc.org/ _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |
|
From: Ioannis V. <no...@ya...> - 2001-12-29 13:32:01
|
I saw that i made a mistake, so i resend.
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Green, Aaron
> Sent: Saturday, December 29, 2001 3:19 AM
> To: dev-c++ user's mailing list
> Subject: [Dev-C++] C++ pointers
>
>
> This may be OT, but I know I've seen programming questions
> here before, so I'll give it a try.
>
> I wrote up a small program that tries to explain how pointers
> work to me.
>
> #include <iostream>
>
> double* f(double *pD2)
> {
> *pD2 = 15;
> return pD2;
> }
>
> int main()
> {
> double d;
> double *pD = &d;
> d = 20;
> *pD = 10;
> std::cout << *pD << '\n';
> std::cout << d << '\n';
> double *pD3 = f(&d);
This points pD3 toy d which after the execution of this line is 15.
> std::cout << d << '\n';
> std::cout << *pD3 << '\n';
> d = 100;
Now you change d toy 100 so *pD3 is now 100 (pD3==&d).
> std::cout << d << '\n';
> std::cout << *pD3 << '\n';
> std::cout << *pD << '\n';
>
>
> return 0;
> }
>
>
> The last parts of the output are 100 100 100. My
> question is: Why does *pD3 change when it points to a
> function that changes whatever is at &d ? I thought calling
> cout would run that function again, or at least give me the
> same value as before.
Calling cout<<*pD3; doesn't execute any function it simply the value of
d which is 100. If you wanted the function to be called again you should
do:
std::cout << *(pD3=f(pD3)) << '\n';
(or std::cout << *(pD3=f(&d)) << '\n'; )
or std::cout << *f(pD3) << '\n'
( or std::cout << *f(&d) << '\n' )
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.f2s.com
* Alternative URL: http://run.to/noicys
|
|
From: Ioannis V. <no...@ya...> - 2001-12-29 03:12:21
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Green, Aaron
> Sent: Saturday, December 29, 2001 3:19 AM
> To: dev-c++ user's mailing list
> Subject: [Dev-C++] C++ pointers
>
>
> This may be OT, but I know I've seen programming questions
> here before, so I'll give it a try.
>
> I wrote up a small program that tries to explain how pointers
> work to me.
>
> #include <iostream>
>
> double* f(double *pD2)
> {
> *pD2 = 15;
> return pD2;
> }
>
> int main()
> {
> double d;
> double *pD = &d;
> d = 20;
> *pD = 10;
> std::cout << *pD << '\n';
> std::cout << d << '\n';
> double *pD3 = f(&d);
This points pD3 toy d which after the execution of this line is 15.
> std::cout << d << '\n';
> std::cout << *pD3 << '\n';
> d = 100;
Now you change d toy 100 so *pD3 is now 100 (pD3==&d).
> std::cout << d << '\n';
> std::cout << *pD3 << '\n';
> std::cout << *pD << '\n';
>
>
> return 0;
> }
>
>
> The last parts of the output are 100 100 100. My
> question is: Why does *pD3 change when it points to a
> function that changes whatever is at &d ? I thought calling
> cout would run that function again, or at least give me the
> same value as before.
Calling cout<<*pD3; doesn't execute any function it simply the value of
d which is 100. If you wanted the function to be called again you should
do:
std::cout << *(pD3=f(pD3)) << '\n';
(or std::cout << *(pD3=f(d)) << '\n'; )
or std::cout << *f(pD3) << '\n'
( or std::cout << *f(d) << '\n' )
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.f2s.com
* Alternative URL: http://run.to/noicys
|
|
From: Green, A. <JA...@GA...> - 2001-12-29 01:18:48
|
This may be OT, but I know I've seen programming questions here before, so I'll give it a try.
I wrote up a small program that tries to explain how pointers work to me.
#include <iostream>
double* f(double *pD2)
{
*pD2 = 15;
return pD2;
}
int main()
{
double d;
double *pD = &d;
d = 20;
*pD = 10;
std::cout << *pD << '\n';
std::cout << d << '\n';
double *pD3 = f(&d);
std::cout << d << '\n';
std::cout << *pD3 << '\n';
d = 100;
std::cout << d << '\n';
std::cout << *pD3 << '\n';
std::cout << *pD << '\n';
return 0;
}
The last parts of the output are 100 100 100. My question is: Why does *pD3 change when it points to a function that changes whatever is at &d ? I thought calling cout would run that function again, or at least give me the same value as before.
|
|
From: DXFX <vin...@ed...> - 2001-12-29 00:51:12
|
My friend... Jason is right. It is possible for you to create one for a particular system. But if it should support all systems, it will be hard. Although you should pursue the venture. All I can advice for you is utilize whats already being used. Linux IS a good place to start. Building it under windows would be challenging. But Windows uses a default "Shell" which is known as explorer. You might consider using this to advantage (i.e. making a shell enhancement, or possibly... a shell replacement w/c is what I'm doing now). Windows already supports a variety of hardware so building on top of its shell or changing its shell might be good. Your windows "shell" would, in your description, do whatever you need it to do by providing a simple interface(complex if you want). Plus, it will still retain the abilities of windows. But I encourage you to create one. Its quite interesting how those folks at Microsoft do such an OS. May I take a look at the code? or any plans that you made? Do you have any URL for that? I'm just curious and hoping also to help you... __________________________________ www.edsamail.com |
|
From: Ioannis V. <no...@ya...> - 2001-12-28 20:48:21
|
Best wishes and a Happy New Year to all. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/> * Alternative URL: http://run.to/noicys |
|
From: Andre` N. C. <An...@Ax...> - 2001-12-28 20:47:33
|
Thanks;) I had the syntax right just not the header:) Regards, Andre` C. Technical Support =D4=BF=D4=AC -------------------------------------------------------------------------= --- - Visit our support manual at http://supportmanual.com/ ----- Original Message ----- From: "Ioannis Vranos" <no...@ya...> To: "Dev-C++" <dev...@li...> Sent: Friday, December 28, 2001 3:40 PM Subject: RE: [Dev-C++] System Calls. > #include <stdlib.h> > > ... > > system("cls"); > > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.f2s.com > * Alternative URL: http://run.to/noicys > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Andre` Niel Cameron > > Sent: Friday, December 28, 2001 9:10 PM > > To: dev...@li... > > Subject: [Dev-C++] System Calls. > > > > > > Hi Been a while and I can not remember for the life of me how > > to do a system call. Any one know the syntax and header > > files if any for a system call to cls? Regards, Andre` C. > > Technical Support =D4=BF=D4=AC > > -------------------------------------------------------------- > > -------------- > > - > > Visit our support manual at http://supportmanual.com/ > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ioannis V. <no...@ya...> - 2001-12-28 20:39:50
|
#include <stdlib.h>
...
system("cls");
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.f2s.com
* Alternative URL: http://run.to/noicys
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Andre` Niel Cameron
> Sent: Friday, December 28, 2001 9:10 PM
> To: dev...@li...
> Subject: [Dev-C++] System Calls.
>=20
>=20
> Hi Been a while and I can not remember for the life of me how=20
> to do a system call. Any one know the syntax and header=20
> files if any for a system call to cls? Regards, Andre` C.=20
> Technical Support =D4=BF=D4=AC
> --------------------------------------------------------------
> --------------
> -
> Visit our support manual at http://supportmanual.com/
>=20
>=20
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>=20
|
|
From: Andre` N. C. <An...@Ax...> - 2001-12-28 19:11:51
|
Hi Been a while and I can not remember for the life of me how to do a sys= tem call. Any one know the syntax and header files if any for a system call = to cls? Regards, Andre` C. Technical Support =D4=BF=D4=AC -------------------------------------------------------------------------= --- - Visit our support manual at http://supportmanual.com/ |
|
From: carlos D. M. <cg...@wo...> - 2001-12-28 16:17:29
|
Sorry, I read the message right now. Can be the problem you didn't download it? The setup utility is provided separately. I hope this is all the problem, if not, sorry, I cannot help. |
|
From: Yaoltzin G. H. <yao...@ho...> - 2001-12-28 05:26:45
|
<html><div style='background-color:'><DIV>Hi.</DIV> <DIV> </DIV> <DIV>I'm trying to make a tree-view control in my application. I need it in the window, not in a dialog box. The problem is that I just can't make the control. Someone can help me? Some link to a good tutorial?</DIV> <DIV> </DIV> <DIV>Thank you.</DIV></div><br clear=all><hr>Send and receive Hotmail on your mobile device: <a href='http://go.msn.com/bql/hmtag2_etl_EN.asp'>Click Here</a><br></html> |
|
From: Jason H. <jas...@bt...> - 2001-12-28 02:34:47
|
Even a simple OS would be a very difficult thing to do. Adding multimedia requires supporting the hardware used with it. You would need drivers and such software for Modems, Graphics Cards, Sound Cards, and maybe some other stuff. Building an OS for one particular or a generalised standard system is feasable for an individual, building up an OS that supports the vast variety of PC's available is mind-bogglingly hard and would take a concerted effort from a large team (either open source communitoy or in house). The linux kernel may be a good place to start and you could probably build up a linux OS package with ready made software that would perform the tasks you need. If you understand it then you could take the open source's and glue together the bit's you need with your own code and produce an multimedia station/OS. Remember any Open Source stuff you modify will have to be released back into the open source world. I'm not trying to stop you from going for it, but you need to realise how difficult the task is. I'm curious as to what exactly you intend to use this software for? An OS covers a broad range of ideas, do have a specific purpose for why you want to make one? Just for fun? I like creating things like this, but I'm not sure where to even start in the design of one. Jason. ----- Original Message ----- From: "http//:angelfire.com/dc/85 Sale's" <bc...@ms...> To: <Dev...@li...> Sent: Thursday, December 27, 2001 7:52 PM Subject: [Dev-C++] help make a os? > > Want to help me make a media os?Surf the web,listin music,watch video and > stuff,very simple OS.Maby using linux kernle. > Thanks > P.S. Im willing to spend long hours on this but need some help. > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Jason H. <jas...@bt...> - 2001-12-28 01:25:57
|
Let's see if I can lay this problem to rest.
First the type you want to use to store the number depends if you need =
to allow for fault detection. If weight is an int then the conversion =
from the typed in text is automatic, however if your user doens't enter =
a valid number then an error will occur. Fortunately you can detect the =
error, i.e.
int value;
cout << "Enter a value: ";
cin >> value;
if(cin.fail())
{
// respond to failure here
}
This will detect if a non-number is typed, however if you type '50dgds' =
(or whatever) then the value 50 will be extracted and the remaining =
characters will be left in the stream (another cin for a string would =
get the 'dgds'). Remember that if the operation fails then the stream is =
left untouched (anything typed will still be there) and value is =
unchanged. Also the failure will need to be cleared to avoid it being =
redetected if your program continues i.e. cin.clear();
The alternative method is to get a string of some sort, either a C++ =
string or C style char array and then convert it yourself. Conversion =
isn't too hard cos you can use the atoi() function. The function atoi() =
will only convert until it reaches a character it can't convert so if =
you passed it the above string (50dgds) then you would still get 50, but =
if you want to have that as invalid then you can go through the string =
with something like this:
int size;
std::string value; // or char value[80];
// get your string here
size =3D value.length(); // or strlen(value);
for(int i =3D 0; i < size; ++i)
{
if(!isdigit(value[i]))
{
// non digit found do whatever i.e. set a flag
break; // or some other termination
}
}
I'll leave you to figure out the rest of that. E-mail again if you need =
help.
As for getting a number with a char, it's only useful for a single digit =
number. You could get a sequence of chars and total up the number, but a =
string would be easier.
Hope this helps, Jason.
----- Original Message -----=20
From: "Exuss Draugas" <dra...@ce...>
To: <Dev...@li...>
Sent: Thursday, December 27, 2001 7:20 PM
Subject: [Dev-C++] Checking data type
>=20
>=20
> Hi,=20
>=20
> Yes, this code above works, but only when ONE(!) simbol is entered.=20
> If I try to enter "4kdkdkd", the output says that the digital number=20
> was entered. I can't use that code in this prototype:=20
> =20
> // int weight ??
> // char weight ??
> // string weight ??
> // char[10] weight ??
>=20
> do
> {
> cout << "Input Your weight:";
> cin >> weight;
> // Checking type of entered value
> // because the program will crash, if value isn't digital number
> // if value is not NUMBER cout << "Please, input number!";
> } while ( /* value is bad */ )
> =20
> // do some calculations with weight
> =20
> Thanks,
>=20
> Exuss
> =20
> =20
> >Your code was not proper ANSI C++ too. Your code corrected and fully
> >portable:
> >
> >
> >#include <cstdlib>
> >#include <cctype>
> >#include <iostream>
> >
> >int main()
> >{
> > using namespace std;
> >
> > unsigned char number;
> >=20
> > cout << "\n\tInput number or letter: ";
> > cin >> number;
> >=20
> > if(isalnum(number))
> > {
> > cout << "\n\tIt is alnum" <<endl;
> > =20
> > if(isdigit(number))
> > cout << "\tIt is digit" <<endl;
> > =20
> > else if(isalpha(number))
> > {
> > cout << "\tIt is alpha" << endl;
> > =20
> > if(islower(number))
> > cout << "\tIt is lower"<< endl;
> > }
> > }
> > =20
> > =20
> > cout << endl;
> >
> > system("PAUSE");
> >}
> >
> >
> >
> >Ioannis
> >
> >* Ioannis Vranos
> >* Programming pages: http://www.noicys.f2s.com
> >* Alternative URL: http://run.to/noicys
> >
> >
>=20
>=20
> --
> Nemokama el.pa=F0to d=EB=FEut=EB - http://webmail.delfi.lt/
>=20
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: http//:angelfire.com/dc/85 Sale's <bc...@ms...> - 2001-12-27 20:03:47
|
Want to help me make a media os?Surf the web,listin music,watch video and stuff,very simple OS.Maby using linux kernle. Thanks P.S. Im willing to spend long hours on this but need some help. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
|
From: Exuss D. <dra...@ce...> - 2001-12-27 18:19:27
|
Hi,
Yes, this code above works, but only when ONE(!) simbol is entered.
If I try to enter "4kdkdkd", the output says that the digital number
was entered. I can't use that code in this prototype:
// int weight ??
// char weight ??
// string weight ??
// char[10] weight ??
do
{
cout << "Input Your weight:";
cin >> weight;
// Checking type of entered value
// because the program will crash, if value isn't digital number
// if value is not NUMBER cout << "Please, input number!";
} while ( /* value is bad */ )
// do some calculations with weight
Thanks,
Exuss
>Your code was not proper ANSI C++ too. Your code corrected and fully
>portable:
>
>
>#include <cstdlib>
>#include <cctype>
>#include <iostream>
>
>int main()
>{
> using namespace std;
>
> unsigned char number;
>
> cout << "\n\tInput number or letter: ";
> cin >> number;
>
> if(isalnum(number))
> {
> cout << "\n\tIt is alnum" <<endl;
>
> if(isdigit(number))
> cout << "\tIt is digit" <<endl;
>
> else if(isalpha(number))
> {
> cout << "\tIt is alpha" << endl;
>
> if(islower(number))
> cout << "\tIt is lower"<< endl;
> }
> }
>
>
> cout << endl;
>
> system("PAUSE");
>}
>
>
>
>Ioannis
>
>* Ioannis Vranos
>* Programming pages: http://www.noicys.f2s.com
>* Alternative URL: http://run.to/noicys
>
>
--
Nemokama el.pašto dėžutė - http://webmail.delfi.lt/
|
|
From: John K. <jki...@po...> - 2001-12-26 15:50:48
|
http://www.cprogramming.com/tutorial.html http://www.cs.wustl.edu/~schmidt/C++/ http://www.cyberdiem.com/vin/learn.html These are some of the links I have. ------------------ Reply Separator -------------------- Originally From: Joel Divekar <joe...@ya...> Subject: [Dev-C++] New Programmer Problem Date: 12/25/2001 02:24pm Hi There I am new to dev-C++ & mingw compiler, and I am facing a problem. I know it must be a silly problem, but for me it is a major one. Fortunately I am able to compile example files properly in my office but able to do so at home. OS used - Windows ME Dev-C++ - Version 4.01 Mingw - Version 2.95.2-1 Compiler Options ---------------------------------------------------------------------- ---------------------------------------- Bin Directory : D:\mingw\bin\ C include files : . C++ include files : . Library Directory : .\ ---------------------------------------------------------------------- ---------------------------------------- Autoexec.bat Settings ---------------------------------------------------------------------- ---------------------------------------- SETPATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ProgramFile s\Mts;D:\mingw\bin; SET C_INCLUDE_PATH=D:\mingw\mingw32\include SET CPP_INCLUDE_PATH=D:\mingw\include\g++-3;D:\mingw\mingw32\include SET GCC_EXEC_PREFIX=D:\mingw\lib\gcc-lib SET LIBRARY_PATH=D:\mingw\lib\ ---------------------------------------------------------------------- ---------------------------------------- When I compile any program following errors are displayed. Compiler and Linker output windows displays ---------------------------------------------------------------------- ---------------------------------------- g++: installation problem, cannot exec `cpp0': No such file or directory ---------------------------------------------------------------------- ---------------------------------------- Linker Output displays ---------------------------------------------------------------------- ----------------------------------------------------------- g++: c:\dev-c++\examples\jackpot\main.o: No such file or directory ---------------------------------------------------------------------- ------------------------------------------------------------ If any other details are required please mail ... I am also looking for a c/c++ tutorial, can anybody forward me a resource link Thanks ... Regards Joel |
|
From: carlos D. M. <cg...@wo...> - 2001-12-26 11:35:32
|
I don't know alternate sites, but there is a little trick you can try, and which works for me: if you are downloading the file to, say C:/target/folder, you can open in the explorer any other folder, and from time to time, change it to C:/target/folder so there will appear the file you are downloading with the size reached till the moment and change again to other folder, so when it disconnects the next time the downloading will resume from the size it had the last time you saw C:/target/folder. P.S. I could see your computer date is one day ahead the true date. |
|
From: Joel D. <joe...@ya...> - 2001-12-26 08:57:02
|
Hi There I am new to dev-C++ & mingw compiler, and I am facing a problem. I know it must be a silly problem, but for me it is a major one. Fortunately I am able to compile example files properly in my office but able to do so at home. OS used - Windows ME Dev-C++ - Version 4.01 Mingw - Version 2.95.2-1 Compiler Options -------------------------------------------------------------------------------------------------------------- Bin Directory : D:\mingw\bin\ C include files : . C++ include files : . Library Directory : .\ -------------------------------------------------------------------------------------------------------------- Autoexec.bat Settings -------------------------------------------------------------------------------------------------------------- SETPATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ProgramFiles\Mts;D:\mingw\bin; SET C_INCLUDE_PATH=D:\mingw\mingw32\include SET CPP_INCLUDE_PATH=D:\mingw\include\g++-3;D:\mingw\mingw32\include SET GCC_EXEC_PREFIX=D:\mingw\lib\gcc-lib SET LIBRARY_PATH=D:\mingw\lib\ -------------------------------------------------------------------------------------------------------------- When I compile any program following errors are displayed. Compiler and Linker output windows displays -------------------------------------------------------------------------------------------------------------- g++: installation problem, cannot exec `cpp0': No such file or directory -------------------------------------------------------------------------------------------------------------- Linker Output displays --------------------------------------------------------------------------------------------------------------------------------- g++: c:\dev-c++\examples\jackpot\main.o: No such file or directory ---------------------------------------------------------------------------------------------------------------------------------- If any other details are required please mail ... I am also looking for a c/c++ tutorial, can anybody forward me a resource link Thanks ... Regards Joel |
|
From: http//:angelfire.com/dc/85 Sale's <bc...@ms...> - 2001-12-25 15:13:44
|
It would be so you could only,surf the web,listin ot music,watch video,look at pictures, download video,music,pictures. thats bout all. I have sorce code to make the os just not the apps. Thanks _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |