dev-cpp-users Mailing List for Dev-C++ (Page 322)
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: Oliver B. <the...@gm...> - 2003-09-02 18:01:01
|
Hi, could anybody tell me what the heck is going wrong, please ? http://people.freenet.de/olli666/gtkmm.gif Would be very glad about an solution :-) Regards Olli -- my icq:172670232 Suche CD's von Dixie Dregs, Baden Powell, Steve Morse, Eric Johnson, Kenny Burell, Charles-Valentin Alkan The Unchallenged - "Sceneries" CD is out now !!! ... thrash- metal in the style of Death/Slayer/Cynic/old Kreator ... order your copy from: pow...@we... ...10 Euro or 10 $ (+postage) ... visit us/hear some mp3's: http://www.mp3.com/the_unchallenged or http://www.mp3.de/the_unchallenged ... we're looking for gigs in 2003 ... http://www.the-unchallenged.de ... Metal - Fanzines get in contact !!! |
|
From: Oliver B. <The...@gm...> - 2003-09-02 13:07:24
|
Hi, i´m looking for a howto compiling fox applications under windows (e.g. 2000/XP) with Dev-C++. Does anybody know where I can download a EASY to use howto/tutorial for this special subject? (www.fox-toolkit.org) Thanx for your help :-) Regards Olli -- my icq:172670232 ---- Suche sämtliche CD´s der Dixie Dregs ---- ------------http://www.the-unchallenged.de------------ The Unchallenged - "Sceneries" CD is out now !!! ... thrashmetal in the style of:Death/Slayer/ Cynic/old reator ... order your copy from: pow...@we... ... 10 Euro or 10 $ (+ postage) ... hear mp3´s/visit us: http://www.mp3.de/the_unchallenged or http://www.mp3.com/the_unchallenged ...we´re looking for gigs in 2003 ... Metal - Fanzines get in contact with us ! ------------http://www.the-unchallenged.de-------------- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post |
|
From: Edric T. <pp...@ho...> - 2003-09-02 12:48:00
|
Hi, I have installed the MinGW on my WinXP SP1. Then I've also installed = Dev-C++ without its compiler. I then set the Compiler Options to use the = MinGW directories, like \MinGW\bin, \MinGW\lib etc. I also set my = environment to have a variable called "HOME" with value "C:\cs3215\pql". = I tried to create a project with a simple C++ program (with files from = my HOME directory), and Dev-C++ created a Makefile.win for me. However, = the compilation gave me this weird error: Line:2 File: C:\cs3215\pql\2 Message: unable to run program file I don't have a file named "2" and I did not set any settings to use any = program by that name. Does anyone have any clue as to why this problem = exists for me? Thanks and regards, Edric |
|
From: Hossein H. <ult...@em...> - 2003-09-02 12:42:03
|
Hi Gary, > > My first suspection is that you are probabely getting that error because > of > > the following name: > > > > random_access_iterator_parent, that is here: > > > > > class iterator > > > : public random_access_iterator_parent(seqref<T>) > > > > It is not a portable name. (I know it's probabely a template!) If you are > > using a newer version of MSVC, it is likely that this new version doesn't > use > > that name as the parent of its iterators of type RandomAccess. Cehck it! I checked it, and couldn't find any base for the RandomAccess type. It could be nicer if the other members can check it as well. (After all, 2 or more pairs of eyes are better than just 1.) Assuming that beeing the case, the best way to get rid of that error message, seems to replace that random_access_iterator_parent with __normal_iterator. (If the "seqref" type is really needed. Check it! If it not, then simply remove all of the: ": public random_access_iterator_parent(seqref)" Even then, if you are going to stick to seqref, use it in one of these forms: > > > : public random_access_iterator_parent(seqref<T>()) > > > > or > > > > > : public random_access_iterator_parent<seqref<T> > //The space is > needed Sorry if it is not so clear, I'm in a hurry! Regards, --Hossein -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers |
|
From: Eric <eri...@cl...> - 2003-09-02 12:02:07
|
witch web site did you download the tutorials from? were they C++ tutorials? was your monitor still working? I head this one down the pub last night - it was funny after a few beers ... Two men were talking and one man said to the other "Did I tell you that I killed three flies yesterday?" The second man said "No, you didn't". The first man said "Yes, I killed three flies, two male flies and one female fly" the Second man said "That's ridiculous! No one can tell the difference between a male fly and a female fly. It isn't possible." The first man answered, "Sure it is. The two male flies were sitting on top of a beer can, the female fly was on the phone". ----- Original Message ----- From: "Charles *Unknown*" <sky...@ho...> To: <dev...@li...> Sent: Tuesday, September 02, 2003 8:13 PM Subject: [Dev-C++] I'm new at this so How do I read the tutorials? I don't understand any of them and I downloaded ALOT of tutorials _________________________________________________________________ MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ 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: Massimo R. <m.a...@li...> - 2003-09-02 09:19:56
|
Hello everybody, I' ve just started to have a look of dev-cpp and I'm wondering if anyone = has experience in using it with a cross compiler. In particular I'm = interested in using it in association with mcc68k compiler.=20 Thank you for any information. Ciao Massimo Rossi |
|
From: Charles *Unknown* <sky...@ho...> - 2003-09-02 08:13:55
|
How do I read the tutorials? I don't understand any of them and I downloaded ALOT of tutorials _________________________________________________________________ MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup |
|
From: leb123 <le...@wa...> - 2003-09-01 20:58:54
|
Yes, you're right for the | instead of ||.
It worked fine. The ZeroMemory is not necessary also.
MIIM_STRING is not necessary; or maybe is it better to use it instead of
NMI.fType=3DMFT_STRING?
It is also not necessary to use NMI.cch.
So, now I have the menu I want; I am currently putting a value to
NMI.dwItemData, and trying to get its value (GetMenuItemInfo?)
while processing the corresponding WM_COMMAND message.
-----Message d'origine-----
De=A0: Marc Heiligers [mailto:ma...@e-...]=20
Envoy=E9=A0: lundi 1 septembre 2003 19:46
=C0=A0: 'leb123'; dev...@li...
Objet=A0: RE: [Dev-C++] CreateMenu + InsertMenuItem
Doing just a quick scan of the code, I can tell you that you should be
using:
NMI.fMask=3DMIIM_STATE|MIIM_ID|MIIM_TYPE|MIIM_STRING;
Don't use || and add the MIIM_STRING.
Hope this helps.
__________________________________
Marc Heiligers
=A0
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of leb123
Sent: 29 August 2003 18:51
To: dev...@li...
Subject: [Dev-C++] CreateMenu + InsertMenuItem
I have to create dynamically a menu from a file. From the win32
documentation and several web sites, I tried the following code, based
on
InsertMenuItem. This function returns a nonzero value=3DOK, but no menu =
is
displayed. If I try a static menu with LoadMenu and SetMenu, instead of
this
code, the menu is displayed correctly (but is static).
What=92s wrong with this code=A0?=20
HMENU hMyMenu=3DCreateMenu();
if (!hMyMenu)
{
MessageBox(NULL, "Unable to create Menu", "Internal error", 0);
return FALSE;
}
DWORD IDCurrentItem=3D1;
int iPosition=3D0;
while (<not end of file>) //it loops several times
{
char szBuffer[BUFFER_SIZE]=A0;
<read szBuffer from file> // the buffer content is OK
MENUITEMINFO NMI;
ZeroMemory(&NMI, sizeof NMI);
NMI.cbSize=3Dsizeof NMI;
NMI.fMask=3DMIIM_STATE||MIIM_ID||MIIM_TYPE;
NMI.fType=3DMFT_STRING;
NMI.fState=3DMFS_ENABLED;
NMI.wID=3DIDCurrentItem++;
NMI.dwTypeData=3D(LPTSTR)szBuffer;
NMI.cch=3Dstrlen(szBuffer);
if (!InsertMenuItem(hMyMenu, iPosition++, TRUE, &NMI))
{
MessageBox(NULL, szBuffer, "Internal Error: unable to create
menu item=94, 0);
return FALSE;
}
}
SetMenu(hwnd, hMyMenu); // no menu displayed=A0!!
return TRUE;
|
|
From: Per W. <pw...@ia...> - 2003-09-01 20:23:32
|
Nope. Don't think they go for a charge number. I'd say the nice "lawyer" wants a little fee for representing you in Amsterdam. Of course you are willing to pay x euro since you will be able to pick up 100x as much. Ah. Suddenly the poor "lawyer" realizes that his traveling expenses would be a bit higher than the first estimate. So you of course want to chip up again. And again. And again. /Per W On Mon, 1 Sep 2003, Michael D. Smith wrote: > > Since it was sent to the list, does this mean we all get 6,029,650? At > current exchange rates of course. A few day ago it would've been more. A > few months ago a lot less. I'm not called FOReign EXchange man for nothing. > I can quote rates that anyone can lookup online in seconds:) > > I don't know how many are on the list but that could be a "little" rough, > even on Bill and the Sultan. I know if I was Bill, I'd hang with Sultans > for sure :) > > How do you suppose this works? Perhaps the telephone number is the foreign > equivalent of a 900 number? $25 a minute and they string it out as long as > possible. Put you on hold for a half hour, just to start. And then if > you're stupid enough to hang on for five hours, you're told there's > "processing" fees, and if you dumb enough to send those in... > > Oh, well, next time it'll be my turn -- for sure. > > ms > > > > FROM:Global financial services(International Stake Lottery) > E-mail:ggf...@ne... > NETHERLAND. > Ref. Numbe: 132/756/4509 > Batch Number: 538901527-Bc68 > Dear Friend, > We are pleased to inform you of the result of the Lottery Winners > International programs held on the 26th of August, 2003. Your e-mail > address attached to ticket number 27522465896-6453 with serial number > 3772-554 drew lucky numbers 7-14-18-23-31-45 which consequently won in > the 2ND category, you have therefore been approved for a lump sum pay out > of 5,500,0000 (EUROS ) (FIVE MILLION, FIVE HUNDRED THOUSAND EUROS) > CONGRATULATIONS!!! > Due to mix up of some numbers and names, we ask that you keep your > winning information confidential until your claims has been processed and > your money Remitted to you. This is part of our security protocol to avoid > double claiming and unwarranted abuse of this program by some > participants.All participants were selected through a computer ballot > system drawn from over 20,000 company and 30,000,000 individual email > addresses and names from all over the world. This promotional program > takes place every three year. > This lottery was promoted and sponsored by eminent personalities like mr > Bill Gates and the Sultan of Brunei, we hope with part of your winning > you will take part in our next year USD11.5 million. > you are requested to come personally to file in your winning, however > if you cannot make it to AMSTERDAM , please contact below approved private > lawyer or attorney by telephone to help you with the claim and transfer of > your winnings fund into your instructed account. > ADVOCATE: FABER GILBERT AND ASSOCIATES NETHERLAND. > Reply Email:bej...@ya... > Telephone number:0031-630664076 > Remember, all winning must be claimed not later than 10th of September > 2003. After this date all unclaimed funds will be null and void > Please note in order to avoid unnecessary delays and complications, > remember to quote your reference number and batch numbers in all > correspondence. Furthermore, should there be any change of address do > inform our agent as soon as possible. > Congratulations once more from our members of staff and thank you for > being part of our promotional program. > Note: Anybody under the age of 18 is automatically disqualified. > Sincerely yours, > Mr Michael Bundi > Lottery Coordinator > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > 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: Michael D. S. <for...@hi...> - 2003-09-01 19:36:50
|
Since it was sent to the list, does this mean we all get 6,029,650? At current exchange rates of course. A few day ago it would've been more. A few months ago a lot less. I'm not called FOReign EXchange man for nothing. I can quote rates that anyone can lookup online in seconds:) I don't know how many are on the list but that could be a "little" rough, even on Bill and the Sultan. I know if I was Bill, I'd hang with Sultans for sure :) How do you suppose this works? Perhaps the telephone number is the foreign equivalent of a 900 number? $25 a minute and they string it out as long as possible. Put you on hold for a half hour, just to start. And then if you're stupid enough to hang on for five hours, you're told there's "processing" fees, and if you dumb enough to send those in... Oh, well, next time it'll be my turn -- for sure. ms FROM:Global financial services(International Stake Lottery) E-mail:ggf...@ne... NETHERLAND. Ref. Numbe: 132/756/4509 Batch Number: 538901527-Bc68 Dear Friend, We are pleased to inform you of the result of the Lottery Winners International programs held on the 26th of August, 2003. Your e-mail address attached to ticket number 27522465896-6453 with serial number 3772-554 drew lucky numbers 7-14-18-23-31-45 which consequently won in the 2ND category, you have therefore been approved for a lump sum pay out of 5,500,0000 (EUROS ) (FIVE MILLION, FIVE HUNDRED THOUSAND EUROS) CONGRATULATIONS!!! Due to mix up of some numbers and names, we ask that you keep your winning information confidential until your claims has been processed and your money Remitted to you. This is part of our security protocol to avoid double claiming and unwarranted abuse of this program by some participants.All participants were selected through a computer ballot system drawn from over 20,000 company and 30,000,000 individual email addresses and names from all over the world. This promotional program takes place every three year. This lottery was promoted and sponsored by eminent personalities like mr Bill Gates and the Sultan of Brunei, we hope with part of your winning you will take part in our next year USD11.5 million. you are requested to come personally to file in your winning, however if you cannot make it to AMSTERDAM , please contact below approved private lawyer or attorney by telephone to help you with the claim and transfer of your winnings fund into your instructed account. ADVOCATE: FABER GILBERT AND ASSOCIATES NETHERLAND. Reply Email:bej...@ya... Telephone number:0031-630664076 Remember, all winning must be claimed not later than 10th of September 2003. After this date all unclaimed funds will be null and void Please note in order to avoid unnecessary delays and complications, remember to quote your reference number and batch numbers in all correspondence. Furthermore, should there be any change of address do inform our agent as soon as possible. Congratulations once more from our members of staff and thank you for being part of our promotional program. Note: Anybody under the age of 18 is automatically disqualified. Sincerely yours, Mr Michael Bundi Lottery Coordinator |
|
From: Murphy <Mu...@go...> - 2003-09-01 19:07:32
|
I need access to Port IO. I am looking for the=20 equivalent of - outportb, outb, inportb, inpb in Dev cpp. I am running WIN2000 and have a driver that gives me direct access to IO = ports. |
|
From: Marc H. <ma...@e-...> - 2003-09-01 17:47:18
|
Doing just a quick scan of the code, I can tell you that you should be
using:
NMI.fMask=3DMIIM_STATE|MIIM_ID|MIIM_TYPE|MIIM_STRING;
Don't use || and add the MIIM_STRING.
Hope this helps.
__________________________________
Marc Heiligers
=A0
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of leb123
Sent: 29 August 2003 18:51
To: dev...@li...
Subject: [Dev-C++] CreateMenu + InsertMenuItem
I have to create dynamically a menu from a file. From the win32
documentation and several web sites, I tried the following code, based =
on
InsertMenuItem. This function returns a nonzero value=3DOK, but no menu =
is
displayed. If I try a static menu with LoadMenu and SetMenu, instead of =
this
code, the menu is displayed correctly (but is static).
What=92s wrong with this code=A0?=20
HMENU hMyMenu=3DCreateMenu();
if (!hMyMenu)
{
MessageBox(NULL, "Unable to create Menu", "Internal error", 0);
return FALSE;
}
DWORD IDCurrentItem=3D1;
int iPosition=3D0;
while (<not end of file>) //it loops several times
{
char szBuffer[BUFFER_SIZE]=A0;
<read szBuffer from file> // the buffer content is OK
MENUITEMINFO NMI;
ZeroMemory(&NMI, sizeof NMI);
NMI.cbSize=3Dsizeof NMI;
NMI.fMask=3DMIIM_STATE||MIIM_ID||MIIM_TYPE;
NMI.fType=3DMFT_STRING;
NMI.fState=3DMFS_ENABLED;
NMI.wID=3DIDCurrentItem++;
NMI.dwTypeData=3D(LPTSTR)szBuffer;
NMI.cch=3Dstrlen(szBuffer);
if (!InsertMenuItem(hMyMenu, iPosition++, TRUE, &NMI))
{
MessageBox(NULL, szBuffer, "Internal Error: unable to create
menu item=94, 0);
return FALSE;
}
}
SetMenu(hwnd, hMyMenu); // no menu displayed=A0!!
return TRUE;
|
|
From: Pat a. C. T. <ti...@sp...> - 2003-09-01 11:20:19
|
Hello, How might I send and receive data through my parallel, serial, USB and = Firewire ports? I also need to capture keyboard scan codes. My system = runs on Windows XP Home. =20 Thank you. Pat Tinkham ti...@sp... |
|
From: Eric <eri...@cl...> - 2003-09-01 11:15:10
|
----- Original Message -----
it is possible your "Hello World!" pops up and goes away before you see it,
try the next piece of code.
#include <stdio.h>
int main() {
int a;
printf("Hello World!\n");
scanf("%d",&a);
}
From Eric
----- Original Message -----
From: "Kit" <seo...@st...>
To: <dev...@li...>
Sent: Monday, September 01, 2003 7:45 PM
Subject: [Dev-C++] Help!!
Hi folks,
I'm in need of help here. I recently decided to try out C++, but I am having
problems with it like no other, so I'm wondering if I'm going nuts. Here's
the problem:
I was just attempting the simple Hello World thing, just as a tester. Here's
my program:
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
Pretty basic, right? Compiles okay.
Now, I have a dual boot system, and my problems started with the Linux sys.
It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
only "myprog". Supposedly you type "> myprog" to get it to run, only it
returned "command not found". I tried a few different things for a while,
but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
me what is going on! I tried clicking on the executable, running in dos,
etc, nothing.
Anyone know the problem? It's driving me nuts, so I'll be very grateful for
any help.
Thanks in advance.
--
Kiti
|
|
From: Eric <eri...@cl...> - 2003-09-01 10:41:01
|
Also you might need to go "> gcc -o myprog myprog.c"
----- Original Message -----
From: "Kit" <seo...@st...>
To: <dev...@li...>
Sent: Monday, September 01, 2003 7:45 PM
Subject: [Dev-C++] Help!!
Hi folks,
I'm in need of help here. I recently decided to try out C++, but I am having
problems with it like no other, so I'm wondering if I'm going nuts. Here's
the problem:
I was just attempting the simple Hello World thing, just as a tester. Here's
my program:
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
Pretty basic, right? Compiles okay.
Now, I have a dual boot system, and my problems started with the Linux sys.
It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
only "myprog". Supposedly you type "> myprog" to get it to run, only it
returned "command not found". I tried a few different things for a while,
but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
me what is going on! I tried clicking on the executable, running in dos,
etc, nothing.
Anyone know the problem? It's driving me nuts, so I'll be very grateful for
any help.
Thanks in advance.
--
Kiti
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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: <and...@su...> - 2003-09-01 10:02:02
|
Thanks Mr PW,
:-) Andre
-----Mensagem original-----
De: Per Westermark [mailto:pw...@ia...]
Enviada em: segunda-feira, 1 de setembro de 2003 02:01
Para: André Macário Barros
Cc: Dev-Cpp-Users
Assunto: Re: [Dev-C++] int and long int sizes
short <= int <= long.
In this case short=2, int=long=4, which is quite common for a 32-bit
platform. On 16-bit platforms it was normally: short=int=2, long=4.
/Per W
On Mon, 1 Sep 2003, André Macário Barros wrote:
> Dear Users,
>
> printf("%d\n", sizeof(long int));
> and
> printf("%d\n", sizeof(int));
>
> produces the same value, 4.
>
> Is there no more difference between a int and a long int?
>
> Regards
> Andre Barros
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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: Ioannis V. <iv...@em...> - 2003-09-01 09:23:21
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Kit
> Sent: Monday, September 01, 2003 10:46 AM
> To: dev...@li...
> Subject: [Dev-C++] Help!!
>
>
> Hi folks,
>
> I'm in need of help here. I recently decided to try out C++,
> but I am having
> problems with it like no other, so I'm wondering if I'm going
> nuts. Here's
> the problem:
>
> I was just attempting the simple Hello World thing, just as a
> tester. Here's
> my program:
>
> #include <stdio.h>
> int main() {
> printf("Hello World!\n");
> }
>
> Pretty basic, right? Compiles okay.
>
> Now, I have a dual boot system, and my problems started with
> the Linux sys.
> It compiled with "> g++ -o myprog myprog.cpp" and produced a
> file called
> only "myprog". Supposedly you type "> myprog" to get it to
> run, only it
> returned "command not found". I tried a few different things
> for a while,
> but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
> Tryied it again. Ran it. Zilch. Absolutely nothing happened.
> Someone telling
> me what is going on! I tried clicking on the executable,
> running in dos,
> etc, nothing.
>
> Anyone know the problem? It's driving me nuts, so I'll be
> very grateful for
> any help.
You have to write
./myprog
so as to run it.
By the way, your code as the hello world of C++ doesn't seem a good start.
Are you sure you are not learning C?
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|
|
From: Ioannis V. <iv...@em...> - 2003-09-01 09:20:08
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Andr? Macario Barros
> Sent: Monday, September 01, 2003 6:13 AM
> To: Dev-Cpp-Users
> Subject: [Dev-C++] int and long int sizes
>
>
> Dear Users,
>
> printf("%d\n", sizeof(long int));
> and
> printf("%d\n", sizeof(int));
>
> produces the same value, 4.
>
> Is there no more difference between a int and a long int?
C & C++ standards do not require the types to be different. The size of a
type is implementation dependent. The only restriction that exists is that
sizeof(char)==sizeof(signed char)==sizeof(unsigned char)==1 byte.
So in theory an implementation is allowed to have sizeof(long)=1.
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|
|
From: Per W. <pw...@ia...> - 2003-09-01 08:13:11
|
About the Linux problem.
You either add current directory to the path, or you have to run the
program with ./myprog to specifically tell where the program is.
/Per W
On Mon, 1 Sep 2003, Kit wrote:
> Hi folks,
>
> I'm in need of help here. I recently decided to try out C++, but I am having
> problems with it like no other, so I'm wondering if I'm going nuts. Here's
> the problem:
>
> I was just attempting the simple Hello World thing, just as a tester. Here's
> my program:
>
> #include <stdio.h>
> int main() {
> printf("Hello World!\n");
> }
>
> Pretty basic, right? Compiles okay.
>
> Now, I have a dual boot system, and my problems started with the Linux sys.
> It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
> only "myprog". Supposedly you type "> myprog" to get it to run, only it
> returned "command not found". I tried a few different things for a while,
> but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
> Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
> me what is going on! I tried clicking on the executable, running in dos,
> etc, nothing.
>
> Anyone know the problem? It's driving me nuts, so I'll be very grateful for
> any help.
>
> Thanks in advance.
>
> --
> Kiti
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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: Kit <seo...@st...> - 2003-09-01 07:46:24
|
Hi folks,
I'm in need of help here. I recently decided to try out C++, but I am having
problems with it like no other, so I'm wondering if I'm going nuts. Here's
the problem:
I was just attempting the simple Hello World thing, just as a tester. Here's
my program:
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
Pretty basic, right? Compiles okay.
Now, I have a dual boot system, and my problems started with the Linux sys.
It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
only "myprog". Supposedly you type "> myprog" to get it to run, only it
returned "command not found". I tried a few different things for a while,
but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
me what is going on! I tried clicking on the executable, running in dos,
etc, nothing.
Anyone know the problem? It's driving me nuts, so I'll be very grateful for
any help.
Thanks in advance.
--
Kiti
|
|
From: Keshab M. S. (Dr) <AK...@nt...> - 2003-09-01 07:05:35
|
Hi everyone, I am trying to write DLL that can be called from visual basic inside = Excel. I would appreciate if someone can provide me with a simple = sample. I have written a DLL using Microsoft visual C++. When I tried = to use the same c file, I am having problem with the "export" definition = and entry points. Any help would highly appreciated. Keshab |
|
From: Michael D. S. <for...@hi...> - 2003-09-01 06:53:43
|
You will notice that everything below is qualified with "probably" or "I=20
believe." An electrical engineer I Am Not, but...
Probably not. Much of this, "save a byte" architecture originated when=20
computers had thousands rather than millions, and now billions of memory=20
positions. I believe it had to do with the fact that the math processor=20
required that numbers be aligned on "word" (4 byte) or "double word" (8=20
byte) boundaries.
For instance, if you had an "a" in memory (position 1) and then a number,=20
if the number was a word boundary, it started in position 4, double word=20
boundary position 8, resulting in 3 in the first case and 7 in the second=20
case skipped (wasted) memory positions. With only a few thousand memory=20
positions thinking about this and packing things in so that as little=20
memory as possible was unused was important.
At least, I think a word was 4 and double word was 8 -- maybe even half=20
word math could be done in assembler -- it's been 35 years and I'm getting=
=20
Alzheimers -- lighten up :)
With 32 bit architecture, everything is aligned on a word boundary and XP=20
is probably 64 bit (double word) architecture. That means that saving=20
(attempting to save) a byte in memory by specifically programming a number=
=20
you know is going to be very small, differently than one you know is going=
=20
to be larger has no meaning any more. Unless of course you have a really=20
large number and you need to specify something like a double double word.
But, at each point in time backwards compatibility was needed so that all=20
the programs that were already written didn't have to be rewritten -- that=
=20
would never be a "feature" for anything new -- so we're still stuck with=20
some of these "ancient" (in computer terms, you know) concepts.
Or something like that -- or maybe you did that wrong :)
ms
At 10:14 PM 8/31/03, you wrote:
>I forgot to tell: Windows XP platform
>
>-----Mensagem original-----
>De: Andr=E9 Mac=E1rio Barros [mailto:and...@su...]
>Enviada em: segunda-feira, 1 de setembro de 2003 00:13
>Para: Dev-Cpp-Users
>Assunto: int and long int sizes
>
>
>Dear Users,
>
> printf("%d\n", sizeof(long int));
>and
> printf("%d\n", sizeof(int));
>
>produces the same value, 4.
>
>Is there no more difference between a int and a long int?
>
>Regards
>Andre Barros
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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: Per W. <pw...@ia...> - 2003-09-01 05:01:54
|
short <=3D int <=3D long.
In this case short=3D2, int=3Dlong=3D4, which is quite common for a 32-bit
platform. On 16-bit platforms it was normally: short=3Dint=3D2, long=3D4.
/Per W
On Mon, 1 Sep 2003, Andr=E9 Mac=E1rio Barros wrote:
> Dear Users,
>
> printf("%d\n", sizeof(long int));
> and
> printf("%d\n", sizeof(int));
>
> produces the same value, 4.
>
> Is there no more difference between a int and a long int?
>
> Regards
> Andre Barros
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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: <and...@su...> - 2003-09-01 03:14:34
|
I forgot to tell: Windows XP platform
-----Mensagem original-----
De: André Macário Barros [mailto:and...@su...]
Enviada em: segunda-feira, 1 de setembro de 2003 00:13
Para: Dev-Cpp-Users
Assunto: int and long int sizes
Dear Users,
printf("%d\n", sizeof(long int));
and
printf("%d\n", sizeof(int));
produces the same value, 4.
Is there no more difference between a int and a long int?
Regards
Andre Barros
|
|
From: <and...@su...> - 2003-09-01 03:13:16
|
Dear Users,
printf("%d\n", sizeof(long int));
and
printf("%d\n", sizeof(int));
produces the same value, 4.
Is there no more difference between a int and a long int?
Regards
Andre Barros
|