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
(11) |
2
(8) |
3
(7) |
|
4
(24) |
5
(11) |
6
(5) |
7
(5) |
8
(14) |
9
(20) |
10
(16) |
|
11
(11) |
12
(9) |
13
(14) |
14
(15) |
15
(19) |
16
(25) |
17
(13) |
|
18
(6) |
19
(17) |
20
(10) |
21
(14) |
22
(23) |
23
(10) |
24
|
|
25
|
26
(6) |
27
(32) |
28
(15) |
29
(7) |
30
(13) |
31
(36) |
|
From: Reid T. <Rei...@at...> - 2004-01-23 12:28:47
|
looks to me like -lobjc means you've setup your project to link with the
objective c library. Since I assume you are attempting to code either a
C or C++ program, remove the reference to link the objc library. I
believe that: g++: -lobjc: linker input file unused since linking not
done may mean that '..you asked to link objc, but your code doesn't use
it, so i'm not linking it to your program'..
=20
=20
=20
reid=20
-----Original Message-----
From: B.Alexandrov [mailto:boj...@ya...]=20
Sent: Friday, January 23, 2004 12:17 AM
To: Reid Thompson
Subject: Re: [Dev-C++] Windows XP Home edition
=09
=09
Please if you can tell me what to do - I recieve after execution
of the program the :
g++: -lobjc: linker input file unused since linking not done
What this means and what to do to have working program not only
under Linox?
Thank you=20
B.Alexandrov
=09
Reid Thompson <rei...@at...> wrote:
did you define your project as a C project, or a C++
project?
stdio.h is a C header file -- cstdio is the C++
implementation of same.
=09
Scott Simontis wrote:
=09
> B.Alexandrov wrote:
>=20
>> Thank you so much for your attention! The code is
simply:
>>=20
>> #include=20
>> int main()
>> {
>> return 0;
>> }
>> And the message is:
>>
>> C:\DEV-C_~1\Bin\ld.exe: warning: cannot find entry
symbol=20
>> _WinMainCRTStartup; defaulting to 00401000
>>
>> C:\DOCUME~1\BOIANA~1\LOCALS~1\Temp\ccIbdaaa.o: In
function `main':
>>
>> //c/disk/source/hello.cpp:4: undefined reference to
`__main'
>>
> I get no errors. I compiled it under Microsoft Visual
C++ .NET./=20
> However, with Dev-C++ 4.9.8.5, I get an error about
there being no make=20
> target for the .o file. I have no clue what is wrong.
The only thing I=20
> changed was typing #include instead of #include=20
>=20
>> */age...@co.../* wrote:
>>
>> May I see the code you are having trouble with?
>>
>> --
>> ~~Scott Simontis~~
>> Programmer
>>
>>
------------------------------------------------------------------------
>> Do you Yahoo!?
>> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>>=20
>=20
>=20
>=20
=09
_____ =20
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
<http://us.rd.yahoo.com/evt=3D21608/*http://webhosting.yahoo.com/ps/sb/> =
|
|
From: Per W. <pw...@ia...> - 2004-01-23 11:57:27
|
Since char xx[] is a native type, there are no built-in functions
available for character arrays. If you want to perform any operations, you
must call the global functions declared in string.h.
// Compare first 3 characters in array
if (!strncmp(inbuf,"ZIP",3))
// Locate a substring anywhere in the character array
if (strstr(inbuf,"ZIP"))
/Per W
On Fri, 23 Jan 2004, Kenneth P. Ruppel wrote:
> Hi Doug,
>
> Thanks for such a thorough response.
>
> Actually, the root of my problem(s) is char vs. string.=A0 The problem st=
arts right there, because I cannot use string functions on a char array.=A0
> Below, I have gotten to the heart of my lack of understanding.=A0 That co=
mmented-out "string inbufstr" is there because up to now, I have been
> coding that "inbufstr=3Dinbuf" statement to convert the char array to a s=
tring.=A0 Then, I get access to the string manipulation functions.
>
> *************************************************************************=
*************
> #include <fstream>
> #include <iostream>
> #include <string>
> using namespace std;
>
> int main(void)
> {
> =A0=A0=A0 int i,TotRecs;
> =A0=A0=A0 char inbuf[80];
> // =A0=A0 string inbufstr;=A0=A0
> =A0=A0=A0
> =A0=A0=A0 ifstream MtgRec("Q:\\C++\\AAMtgs.txt");
> =A0=A0=A0 ofstream AnalRec("Q:\\C++\\Analysis.txt");
> =A0=A0=A0 ofstream ZipRec("Q:\\C++\\Towns.txt");=A0=A0=A0
> =A0=A0=A0 if (MtgRec.fail()) {cout << "Cannot open file" << endl;}
>
> =A0=A0=A0 i=3D-1;=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 // 1st iteration is 0 =
(for 1st subscript)
>
> =A0=A0=A0 while (! MtgRec.eof())
> =A0=A0=A0 {
> =A0=A0=A0 MtgRec.getline(inbuf,80);
> =A0=A0=A0 i++;
> =A0=A0=A0 TotRecs++;
> =A0=A0=A0 }
> // =A0=A0 inbufstr=3Dinbuf;
> =A0=A0=A0 if (inbuf.substr(0,3) =3D=3D 'ZIP')=A0 inbuf.erase(0,3);=A0=A0 =
=A0=A0 // This stmt yields error "request for member 'substr' in 'inbuf', w=
hich is of
> non-aggregate type 'char[80]'"
> system("pause");
> =A0=A0=A0 }
> *************************************************************************=
************
>
> This is where my flip-flopping around and mixing strings and chars begins=
=2E=A0
>
> I am sure the answer to this is so simple that I will be astonished that =
I missed it.=A0 But I'm a real quick study, so go ahead, tell me the way
> out of this.
>
> TIA,
> Ken
> ------------------------------------------------------- The SF.Net email =
is sponsored by EclipseCon 2004 Premiere Conference on Open Tools
> Development and Integration See the breadth of Eclipse activity. February=
3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn
> _______________________________________________ Dev-cpp-users mailing lis=
t Dev...@li... TO UNSUBSCRIBE:
> http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge=
=2Enet/lists/listinfo/dev-cpp-users
>
|
|
From: Kenneth P. R. <kpr...@op...> - 2004-01-23 11:03:41
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<small><font face="Helvetica, Arial, sans-serif">Hi Doug,<br>
<br>
Thanks for such a thorough response.<br>
<br>
Actually, the root of my problem(s) is char vs. string. The problem
starts right there, because I cannot use string functions on a char
array. Below, I have gotten to the heart of my lack of understanding.
That commented-out "string inbufstr" is there because up to now, I have
been coding that "inbufstr=inbuf" statement to convert the char array
to a string. Then, I get access to the string manipulation functions.<br>
<br>
**************************************************************************************<br>
#include <fstream><br>
#include <iostream><br>
#include <string><br>
using namespace std;<br>
<br>
int main(void)<br>
{<br>
int i,TotRecs;<br>
char inbuf[80];<br>
// string inbufstr; <br>
<br>
ifstream MtgRec("Q:\\C++\\AAMtgs.txt");<br>
ofstream AnalRec("Q:\\C++\\Analysis.txt");<br>
ofstream ZipRec("Q:\\C++\\Towns.txt"); <br>
if (MtgRec.fail()) {cout << "Cannot open file" << endl;}<br>
<br>
i=-1; // 1st iteration is 0 (for 1st subscript)<br>
<br>
while (! MtgRec.eof())<br>
{<br>
MtgRec.getline(inbuf,80);<br>
i++;<br>
TotRecs++;<br>
}<br>
// inbufstr=inbuf;<br>
if (inbuf.substr(0,3) == 'ZIP') inbuf.erase(0,3); // This
stmt yields error "request for member 'substr' in 'inbuf', which is of
non-aggregate type 'char[80]'"<br>
system("pause");<br>
}<br>
*************************************************************************************<br>
<br>
This is where my flip-flopping around and mixing strings and chars
begins. <br>
<br>
I am sure the answer to this is so simple that I will be astonished
that I missed it. But I'm a real quick study, so go ahead, tell me the
way out of this.<br>
<br>
TIA,<br>
Ken</font></small><br>
</body>
</html>
|
|
From: Zonnet <gko...@zo...> - 2004-01-23 09:37:19
|
You might want to add a -lfltk to you linker parameters. Or use the Project Options Parameter panel to add a fltk library file. (Don't know which one as I've never usef fltk myself) wkr, Gerke Maya wrote: > Hey Matt! > I modified the 'Makefile' as you suggested. It compiles, but the > linker complains saying that there is an undefined reference to > 'FL_[everything]::[everything]', by 'everything' I mean all references > to the FLTK library. > > What am I doing wrong? > > > Thanks!! > > > Here is an example of my Makefile. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > # fltk's Makefile GNU make 3.80 > # Compiler > CPP = g++.exe #3.3.1 > > #Flags > OPTIONS = -Wall -Wctor-dtor-privacy -DWIN32 > > #Excecutable name > EXEC = fltk_test.exe > > #Variables > > > #Objects to be created > OBJS = main.o > > #Libraries to be included > LDLIBS = -lfltk -lole32 -luuid -lcomctl32 \ > -lwsock32 -lm -lgdi32 -mwindows > > $(EXEC): $(OBJS) > $(CPP) $(LDLIBS) $(OBJS) -o $(EXEC) > > main.o: main.cpp > $(CPP) $(OPTIONS) -c main.cpp > > .PHONY: clean > > clean: > rm -f $(OBJS) $(EXEC) > |
|
From: Maya <Esc...@ne...> - 2004-01-23 08:29:14
|
Hey Matt!
I modified the 'Makefile' as you suggested. It compiles, but the linker
complains saying that there is an undefined reference to
'FL_[everything]::[everything]', by 'everything' I mean all references
to the FLTK library.
What am I doing wrong?
Thanks!!
Here is an example of my Makefile.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
# fltk's Makefile GNU make 3.80
# Compiler
CPP = g++.exe #3.3.1
#Flags
OPTIONS = -Wall -Wctor-dtor-privacy -DWIN32
#Excecutable name
EXEC = fltk_test.exe
#Variables
#Objects to be created
OBJS = main.o
#Libraries to be included
LDLIBS = -lfltk -lole32 -luuid -lcomctl32 \
-lwsock32 -lm -lgdi32 -mwindows
$(EXEC): $(OBJS)
$(CPP) $(LDLIBS) $(OBJS) -o $(EXEC)
main.o: main.cpp
$(CPP) $(OPTIONS) -c main.cpp
.PHONY: clean
clean:
rm -f $(OBJS) $(EXEC)
--
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|
|
From: Doug M. <dou...@al...> - 2004-01-23 07:18:31
|
Egg on my face. I usually have "search hidden files and folders" checked in the search dialog, but it was unchecked when I looked just now. That's why it didn't find the Dev-Cpp.cfg file. It's also odd that when I retried the "Tools->Check for Updates/Packages..." just now, the complaint about $INCLUDE field was no longer there. You'd think it would have the consderation to break consistently, but no.... 8^) Thanks, Doug > Doug MacDonald wrote: > >> Hi all, >> >> Running WinXP, SP1. I just uninstalled my exe-only dev-c++ and replaced it with the full version with mingw c/c++. Beyond configuring the compilation tools, I haven't used it yet. >> >> Thought I'd update using "Tools->Check for Updates/Packages...", but vUpdate v1.616 comes up with the error >> >> * Error: Your devcpp.cfg file is missing >> the $INCLUDE field in its >> [VUPDATE] section... >> ] Ready, hit check mark to begin... >> >> and, of course, the check mark button does nothing. >> >> Nor does it help to set the options differently, e.g., to the "Default", which sets check boxes to list everything it finds at the update site. >> >> There's no devcpp.cfg anywhere in my computer. Should there be? Is there a dev-c++ feature that should set that up for me? > > > Okay. If you are running Windows XP, it should be under Hard Drive Partiton:\Documents and Settings\Your Username\Local Settings\Application Data. > You may also download Dev-C++ 4.9.8.5 from the site. > >> >> Thanks in advance >> >> Doug |
|
From: Doug M. <dou...@al...> - 2004-01-23 07:14:44
|
Hi Ken,
It's hard to tell what's going on without any variable declarations or
code comments.
Two things are interesting about your code.
First the hang you are seeing. Do you know that the construct
while (MtgCode0 == "W") MtgType=12;
repeats the assignment 'MtgType=12' over and over, as long as the
expression 'MtgCode0 == "W"' remains true? This line will do one of two
things. It will drop through without doing the assignment if MtgCode0
!= "W". Or, if MtgCode0 == "W", it will hang.
You probably wanted straight-through conditionals rather than loops,
something more like:
switch ((int)*(char *)MtgCode0) {
case 'P':
MtgType=10; TotP++; break;
case 'L':
MtgType=11; TotL++; break;
case 'W':
MtgType=12; TotW++; break;
default: TotOther++;
}
However, if I understand your intent, there may be another problem
lurking in your code snippet. I hope you realize that in the expression
MtgCode0 == "W"
you are checking for equality of the value contained in the variable
MtgCode0 with the _address_ of the literal string "W". This code is not
performing a string match! In C and C++, the runtime value of a quoted
string literal (e.g., "W") is the memory address of its first character
- not the char's value.
But, you may say, I've used code like this before, and the comparison
does work when I've assigned "W" to MtgCode0!
Well, yes, it has happened to work, but only because of a fact about how
the compilers generate code.
I'm guessing that prior to reaching this part of the program, another
part of the code assigned the value "W" to MtgCode0. Right? When you
compiled the program, the compiler noticed that you were using the
string literal "W" in more than one place, and its codegen combined the
first "W" (the one you assigned to MtgCode0) and the second "W" (the one
in the equality test) into the same object. Compilers like to economize.
So, when you earlier assigned "W" to MtgCode0, you were really assigning
its address to MtgCode0. And later, when you checked MtgCode0 against
"W", you were really testing the _address_ contained in MtgCode0 against
the _address_ of [the same code object representing] "W".
This works as long as the compiler likes to economize with its code
generation of string literals, AND is able to do so. That's a risky
assumption to make. Suppose you assign the "W" in one subprogram in one
file, let's call it doubleyoo1.cpp, and test equality with "W" in a
second subprogram in a different file, doubleyoo2.cpp. Suppose further
that you compiled the two at separate times and then linked them.
Dollars to donuts, there will be two copies of "W" in the resulting
binary, and the equality test will fail.
You'd be safer using the single-quoted 'W' (an int value containing the
ASCII code for doubleyoo) rather than "W" (the address of a
compiler-generated, zero-terminated, length-two C string containing the
ASCII code for doubleyoo). If you look back, you'll see that is what I
have done in my suggested replacement for your "while" and "switch" blocks.
Hope this helps,
Doug
> I finally decided to teach myself C++ from "Core C++: A Software Engineering Approach" (2000) by Victor Shtern, "Rescued by C++" 3rd Ed. by Kris Jamsa (which was a Borland Turbo C++ Lite book, and now mostly rely on C/C++ Programmer's Reference 2nd Ed. by Herbert Schildt. And, I finally had a real-world application to write a program. Here's the code excerpt that has me baffled.
>
> for (y=1; y<=i; y++);
> if (Groupset[y].substr(0,3) == Day1.substr)x*3-3,3))
> {
> TotDay[x-1]++;
> while (MtgCode0 == "P") MtgType=10;
> while (MtgCode0 == "L") MtgType=11;
> while (MtgCode0 == "W") MtgType=12;
>
> switch (MtgType)
> {
> case '10': TotP++; break;
> case '11': TotL++; break;
> case '12': TotW++; break;
> default: TotOther++;
> } // terminates Switch
>
> } // terminates if
> }; // terminates for
>
> Up to this point, the program runs fine, but it hangs when it hits "while (MtgCode0 == "W") MtgType=12. In Debug, I set this line and the "switch (MtgType) line as checkpoints. When the "while" stmt is encountered, it turns blue in Debug, and will not go past this point. Debug will not continue; the cursor stays on this line. Note that the Debug screen is not frozen -- I can still set checkpoints, move the cursor, etc. But it will not continue after this point.
>
> What's going on here?
>
> Thx, Ken
> ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Kenneth P. R. <kpr...@op...> - 2004-01-23 06:00:36
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<small><font face="Helvetica, Arial, sans-serif">I finally decided to
teach myself C++ from "Core C++: A Software Engineering Approach"
(2000) by Victor Shtern, "Rescued by C++" 3rd Ed. by Kris Jamsa (which
was a Borland Turbo C++ Lite book, and now mostly rely on C/C++
Programmer's Reference 2nd Ed. by Herbert Schildt. And, I finally had
a real-world application to write a program. Here's the code excerpt
that has me baffled.<br>
<br>
for (y=1; y<=i; y++);<br>
if (Groupset[y].substr(0,3) == Day1.substr)x*3-3,3))<br>
{<br>
TotDay[x-1]++;<br>
while (MtgCode0 == "P") MtgType=10;<br>
while (MtgCode0 == "L") MtgType=11;<br>
while (MtgCode0 == "W") MtgType=12;<br>
<br>
switch (MtgType)<br>
{<br>
case '10': TotP++; break;<br>
case '11': TotL++; break;<br>
case '12': TotW++; break;<br>
default: TotOther++;<br>
} // terminates Switch<br>
<br>
} // terminates if<br>
}; // terminates for<br>
<br>
Up to this point, the program runs fine, but it hangs when it hits
"while (MtgCode0 == "W") MtgType=12. In Debug, I set this line and the
"switch (MtgType) line as checkpoints. When the "while" stmt is
encountered, it turns blue in Debug, and will not go past this point.
Debug will not continue; the cursor stays on this line. Note that the
Debug screen is not frozen -- I can still set checkpoints, move the
cursor, etc. But it will not continue after this point.<br>
<br>
What's going on here?<br>
<br>
Thx, Ken<br>
</font></small>
</body>
</html>
|
|
From: Maya <Esc...@ne...> - 2004-01-23 04:07:37
|
To me the name GCC is synonymous with EVERY_WHERE. You can very easily say: "This code has to compile not only in this machine and that one, but EVERY WHERE!"; meaning that you want this code to be GCC compliant. There is no doubt, GCC is portable to... all common / feasible machines out there. I have use most of the C/C++ compilers in the market, MS or Borland for their speed and the others for the heck of it, but I have come to accept that clients don't care about waiting 2 or 3 nanoseconds, but get really P.O. when I tell them that the project would have to be extended for another 2 or 3 weeks due to code incompatibility. No doubt, GCC *is* the way! For future reference, I cannot say that it was my idea to use GCC, that credit goes to one of my kids. ci...@ya... wrote: >You seek what is known as a cross-compiler. The most popular compiler >for this purpose is gcc/g++ as it is already ported to almost every >major system. > >Unfortunately I am not very familiar with this, If I am developing >for a particular system I get that system to do my developement on. > >Maybe do a search on google will turn up some articles on cross >compiling. > >--- RUDOLPH <ku...@sp...> wrote: > > >>New year greeting to u all! >> >>Has anyone able to complied program using >>DevC++ in MS windows, and use or test it into >>other OS like linux ? >> >>Thank you in advance. >>Rudy >> >> >> > > >===== >Signed >David Mcken > >Life Sucks >Live with it > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |
|
From: Maya <Esc...@ne...> - 2004-01-23 01:23:10
|
You forgot your own password!! Man, you must need some time away from the every day vida loca :). I happen to know a few programmers, and most of them drink like crazy and work 19 to 21 hrs a day. I know that IT can gobble you up, but it is good to be aware that even though you don't feel beaten... you are, man. Take it easy for a day or two, please? Have a good one ca...@fb... wrote: >hallo Eric, > >ER> http://www23.brinkster.com/noicys/devcpp/ub.htm >ER> to get off the list > >I suppose it is _your_ password, that you entered to subscribe the >list. if you forgot that one you may try to contact the admins about >it. > > > > best regards > Christian > > > --- > > -o) _ > caefer /\\ Message void if penguin violated V > c.2003 _\_V Don't mess with the penguin O > > --------------------------------------------------- > > Christian > > Isarstrasse 4 + Tel. : +49 (0)421 16 535 16 > 28199 Bremen + eMail: mailto:ca...@fb... > > --------------------------------------------------- > > - graphics - webdevelopment - general programming - > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- FYI http://www.astro.umd.edu/~marshall/abbrev.html E-Mail Policy http://www.vif.com/users/escalante/Email_Policy.html * You cannot exercise your power to a point of humiliation. - Jean Chretien * The media's the most powerful entity on earth. They have the power to make the innocent guilty and to make the guilty innocent, and that's power. - Malcom X * "Innocent until proven guilty", no... not in Canada!! |