dev-cpp-users Mailing List for Dev-C++ (Page 34)
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: ASHPRIT C. <ash...@ya...> - 2008-03-19 07:36:59
|
<table cellspacing='0' cellpadding='0' border='0' ><tr><td style='font: inherit;'>when i try to compile a program, an error occurs, it says that send error report to microsoft,and after it when i try to run the source program,compiler says source file is not compiled.</td></tr></table><br> <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> Find them fast with Yahoo! Search.</a> |
From: Reid T. <rei...@at...> - 2008-03-18 23:05:01
|
William OConnell wrote: > Hello All, > > I recently submitted a question about file > manipulation in Dev C++. For example, I wanted to > know how to change directory. man chdir http://www.hmug.org/man/2/chdir.php and http://msdn2.microsoft.com/en-us/library/bf7fwze1(VS.80).aspx > > I was told to use the system ("command") approach. > Now I do thank those who made the suggestion. It did > work. But, I have an additional question. Is there > any way to get data back so that I can determine the > current drive and directory? > man getcwd http://www.hmug.org/man/3/getcwd.php and http://msdn2.microsoft.com/en-us/library/sf98bd4y(VS.80).aspx > Thanks in advance. > Bill O'Connell > wil...@ya... |
From: William O. <wil...@ya...> - 2008-03-18 22:29:53
|
Hello All, I recently submitted a question about file manipulation in Dev C++. For example, I wanted to know how to change directory. I was told to use the system ("command") approach. Now I do thank those who made the suggestion. It did work. But, I have an additional question. Is there any way to get data back so that I can determine the current drive and directory? Thanks in advance. Bill O'Connell wil...@ya... |
From: Kononov A. <cl...@ya...> - 2008-03-17 12:59:56
|
Hello! Why do you use "static" storage-class specifier with member functions in your testcase2.cc? I know it is a little bit late to ask this question on this topic. But I really want to understand the difference. Thanks a lot. 01.03.08, 07:31, Robert Alatalo <ral...@gm...>: > Hello, > A couple of points... as was mentioned you need to figure out > what you want months to be. If you want it to be a simple array you > can do as was suggested: > char* months[] = { "January", "February", ... }; > or you could create a class called months which could be much more > complicated, which depends upon what you are planning on doing next, > so let me give you a couple of quick working solutions for you to play > with. Another thing to point out that it's rather bad form to use the > same variable name for two nested loops. It may actually work because > the inner loop variable will hide the outer loop variable which isn't > actually being used but hiding could make it more confusing if you > actually did want to use the year loop for something in the future. > Also, the << is used repeatably, it's a standard operator , think of > it like += where you just keep taking on values at the end, > so > cout<<"Please enter the # of years.">>endl; > should be > cout<<"Please enter the # of years."<<endl; > Another thing to point out, "using namespace std;" will bring > everything from the std name space into the global name space and > should be avoided beyond simple test cases, it's find for this but I > am going to show you a more deliberate form: > using std::cout > using std::endl > since that's what you're using..that way you won't being in something > from std that you didn't intend. > also, it's a small performance thing but a good habit to learn... use > ++Variable rather than Variable++ if you don't need the old value for > anything, otherwise the compiler does something like { int temp ; temp > = value ; value += 1 ; return temp } > Also, arrays are Zero based in C/C++ so you need to go from 0 to 11 or > create months like {"Dummy","January"....} > I attached two samples of 'working' code, look if you want.... I know > it can be annoying sometimes to get the syntax correct even when you > know what you're doing, so hope they help. > -Robert > On Fri, Feb 29, 2008 at 5:12 PM, Shawn <tre...@gm...> wrote: > > > > It's just going to be a list of the months that the code in the for loop > > will iterate thru...string data. When they enter one for the outside loop > > of the year, it will goto the inside loop and each time the loop asks for > > the average rainfall, I want it to start for Jan, next prompt for Feb, taken > > directly for the array I'm trying to initialize. > > > > Thanks. > > > > > > > > Per Westermark wrote: > > You must have missed something in your C++ book. Class of what type? And > > if you try to get an array of January, February, ... - where is the > > definition for January? > > > > char* months[] = { "January", "February", ... }; > > > > In this case, months has a known data type - array of string pointers. > > In this case, the array elements are not undefined variables, but of > > directly specified string constants. > > > > /pwm > > > > On Fri, 29 Feb 2008, Shawn wrote: > > > > > > > > I've never tried using arrays before in C++, just am familiar with using > > them in python. I tried initializing the array as string months and > > then {"January","February", ect} but the complier told me I needed to > > set it up in constructor method. I looked that up in my book and came > > up with this, but now I get the error that January isn't declared. > > > > My intention is to have it automatically advance to the next month in > > the list by months[i] in the inner loop. Am I on the right track? > > > > Thanks! > > > > #include<iostream> > > #include<iomanip> > > using namespace std; > > > > > > > > int main() > > { > > > > int years = 0; > > int counter = 0; > > int month = 0; > > int average = 0; > > *class months = > > {January,February,March,April,May,June,July,August,September,October,November,December};* > > > > > > months++ > > cout<<"Please enter the # of years.">>endl; > > for(i=years; i<=years; i++1) > > > > { > > for(i=12; i<=12; i++1) > > {cout<<"Please enter the rainfall for"<<months[i]<<; > > cin>>month > > sum = sum + month > > counter = counter + 1 > > } > > > > average = sum / counter > > > > > > cout<<"The total number of months was "<<counter<<"."; > > cout<<"The total inches of rainfall was "<<sum<<"."; > > cout<<"The average rainfall was "<<average<<"."; > > > > > > > > return 0; > > } > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > 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: Shawn <tre...@gm...> - 2008-03-15 21:06:46
|
The problem is solved...I was adding the totals before the input validation. thx |
From: Per W. <pw...@ia...> - 2008-03-15 08:08:46
|
You are joking, aren't you? You perform: runningBalance += depositAmount; totalDeposits += depositAmount; _before_ your input validation of the deposit amount. You perform: totalWithdrawals += withdrawAmount; _before your input validation of the withdrawals amount. Then _why_ are surprised that the values gets changed even for negative inputs. Why wouldn't they? How long did you spend looking for this error, before settling for Internet Personal Guidance? By the way: What's wrong with standard text mails? Are they too easy to read, or do they consume too little bandwidth? It is way better to try and find a way to post your source code using a method that keeps the indentation (you do indent your code?), than in a way where you can mark some source lines in bold. If you feel you need to mark a spot, it is enough with a "<=== Problem here" note in the text. /pwm On Fri, 14 Mar 2008, Shawn wrote: > I'm having something strange occur. When someone enters a negative > number in my program for either the deposit amount or the withdrawal > amounts, it loops and prompts for the user again...but it also subtracts > the negative number from my running total! Shouldn't the input > validation keep that from happening? Am I missing something? The code > is below with the suspected portions highlighted ...thanks! |
From: Shawn <tre...@gm...> - 2008-03-15 03:01:12
|
I'm having something strange occur. When someone enters a negative number in my program for either the deposit amount or the withdrawal amounts, it loops and prompts for the user again...but it also subtracts the negative number from my running total! Shouldn't the input validation keep that from happening? Am I missing something? The code is below with the suspected portions highlighted ...thanks! int main() { //declare and initialize variables float startBalance = 0; float withdrawAmount = 0; float depositAmount = 0; float totalDeposits = 0; float totalWithdrawals = 0; float finalBalance = 0; float runningBalance = 0; //intro cout<<endl; cout<<"Welcome to the savings account balance calculator!!!"<<endl; cout<<endl; //prompt user for starting balance cout<<"Please enter the starting balance in the savings account: "; cin>>startBalance; cout<<endl; //add startBalance to runningBalance runningBalance += startBalance; //loop thru 3 month period for(int i=1; i<=3; ++i) {//begin month loop *//prompt user for deposit amount do {//begin do while cout<<"Please enter month "<<i<<" deposit amount: "; cin>>depositAmount; runningBalance += depositAmount; totalDeposits += depositAmount; //input validation if (depositAmount < 0) cout<<"Please enter a positive number."<<endl; cout<<endl; }//end do while while (depositAmount < 0);* *do {//begin do while //prompt user for withdrawal amount cout<<"Please enter month "<<i<<" withdrawal amount: "; cin>>withdrawAmount; totalWithdrawals += withdrawAmount; cout<<endl; //input validation if (withdrawAmount < 0 || withdrawAmount > runningBalance) {cout<<"Please enter either a positive number or a number that isn't greater"; cout<<" then the balance."<<endl; cout<<endl;} }//end do while while (withdrawAmount < 0 || withdrawAmount > runningBalance); cout<<totalWithdrawals; }//end month loop* //calculate the final balance finalBalance = runningBalance - totalWithdrawals; cout<<endl; //display output cout<<fixed<<showpoint; cout <<"Starting balance:\t$"<<setprecision(2)<<startBalance<<".\n\n"; cout <<"Total Deposits:\t\t$"<<setprecision(2)<<totalDeposits<<".\n\n"; cout <<"Total Withdrawals:\t$"<<setprecision(2)<<totalWithdrawals<<".\n\n"; cout <<"Final Balance:\t\t$"<<setprecision(2)<<finalBalance<<".\n"; return 0; } |
From: Alessandra <al...@gm...> - 2008-03-14 18:32:30
|
Hi! all I'm looking for a good guide about Dev-C++ on the web ... ..Any suggestion ?! ... Thanks a lot! Alexia 2008/3/14, Chris Miller <lor...@gm...>: > On Fri, Mar 14, 2008 at 7:22 AM, Eric <eri...@wo...> wrote: > > When I see these books with "games" in the title it puts me off, is it for > > "games programmers or for real programmers > > It was very well written, and has many code examples of what real > working C and C++ actually looks like. I enjoyed it. > > > A bit like the "books for dummies" series, um how can dummies learn, and is > > it that basic like for the people with the IQ of 50 > > dont buy them you will think you are a dummie > > I too am leery of dummies books. A long long time ago I was the > unfortunate recipient of a C++ for dummies book which spent around 50 > pages on core language features and then 150 pages on arrays and > pointers. > > No wonder it took me three years and a computer science class with a > real live teacher to figure out how to construct a working loop and > if-statement! In addition the author's grammar (English) was all > wrong. It was a dot-com book aimed for people who landed a job > programming, yet have no clue what it is. Some of the more recent > ones are better. Anything from the 90's I'd stay away from though. > > > -- > Registered Linux Addict #431495 > http://profile.xfire.com/mrstalinman | John 3:16! > http://www.fsdev.net/ | http://www.sauron.fsdev.net/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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 > -- "Non esiste una via alla Pace. La Pace è la via"(Gandhi) "Guarda la luce e l'ombra ti cadrà alle spalle"(Rita Levi Montalcini) |
From: Jan M. <jan...@vo...> - 2008-03-14 17:54:48
|
Hello, would like to ask how to open a web browser with some address? The program I am doing should be for Win as well s Lin. So the solution should be general. Thamks Jan Mura |
From: Per W. <pw...@ia...> - 2008-03-14 13:51:45
|
You have not told us what problem you have - or showed us your code. Obviously, it is quite hard to give you a resolution to your problem... No, the MinGW compiler will produce binaries that will run on Win32 platforms, and the applications will be able to perform memory allocations WAY larger than 128kB. 1) Are you making a large number of allocations, consuming all memory in the machine? 2) Are your program leaking memory, i.e. failing to release allocated memory? 3) Do your program have problems with overwriting of memory, thereby destroying the memory heap? 4) May your program for any reason give the wrong size value to the new operator? /pwm On Fri, 14 Mar 2008, Otavio venezian Junior wrote: > Hi, > > I´m criate a small C++ program with Mingw and Eclipse. > This program have a problem in memory allocation with > need more 128kbyte data using new metod ou malloc > function. I think it the resolution this problem has a > compiler parameter. > > How know a possible resolution to this problem? > > Thanks, > > Otavio > > > Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! > http://br.mail.yahoo.com/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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: Otavio v. J. <ota...@ya...> - 2008-03-14 13:44:19
|
Hi, I´m criate a small C++ program with Mingw and Eclipse. This program have a problem in memory allocation with need more 128kbyte data using new metod ou malloc function. I think it the resolution this problem has a compiler parameter. How know a possible resolution to this problem? Thanks, Otavio Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |
From: <Mat...@bm...> - 2008-03-14 08:25:00
|
You need to tell the compiler which namespace to use. Add this line after your two includes... using namespace std; Cheers, Matt ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of sam Ruma Sent: 14 March 2008 08:04 To: dev...@li... Subject: [Dev-C++] Visual C++ I'm sorry. i know this really simple, but can someone tell what is wrong with this code #include <ctype.h> #include <fstream> int main() { ifstream infile("input.txt"); ofstream outfile("ouput.txt"); string line; while (getline(infile,line)) { for (int i=0; i<line.length(); i++) if (i==0 || line[i-1] == ' ' && isalpha(line[i])) line[i] = toupper(line[i]); outfile << line << endl; } } ERROR: error C2065: 'ifstream' : undeclared identifier ________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. <http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc h/category.php?category=shopping> This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |
From: <Mat...@bm...> - 2008-03-14 08:22:43
|
You need to tell the compiler which namespace to use. Add this line after your two includes... using namespace std; Cheers, Matt ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of sam Ruma Sent: 14 March 2008 08:04 To: dev...@li... Subject: [Dev-C++] Visual C++ I'm sorry. i know this really simple, but can someone tell what is wrong with this code #include <ctype.h> #include <fstream> int main() { ifstream infile("input.txt"); ofstream outfile("ouput.txt"); string line; while (getline(infile,line)) { for (int i=0; i<line.length(); i++) if (i==0 || line[i-1] == ' ' && isalpha(line[i])) line[i] = toupper(line[i]); outfile << line << endl; } } ERROR: error C2065: 'ifstream' : undeclared identifier ________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. <http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc h/category.php?category=shopping> This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |
From: sam R. <as...@ya...> - 2008-03-14 08:04:12
|
I'm sorry. i know this really simple, but can someone tell what is wrong with this code #include <ctype.h> #include <fstream> int main() { ifstream infile("input.txt"); ofstream outfile("ouput.txt"); string line; while (getline(infile,line)) { for (int i=0; i<line.length(); i++) if (i==0 || line[i-1] == ' ' && isalpha(line[i])) line[i] = toupper(line[i]); outfile << line << endl; } } ERROR: error C2065: 'ifstream' : undeclared identifier --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |
From: Chris M. <lor...@gm...> - 2008-03-13 23:34:12
|
On Fri, Mar 14, 2008 at 7:22 AM, Eric <eri...@wo...> wrote: > When I see these books with "games" in the title it puts me off, is it for > "games programmers or for real programmers It was very well written, and has many code examples of what real working C and C++ actually looks like. I enjoyed it. > A bit like the "books for dummies" series, um how can dummies learn, and is > it that basic like for the people with the IQ of 50 > dont buy them you will think you are a dummie I too am leery of dummies books. A long long time ago I was the unfortunate recipient of a C++ for dummies book which spent around 50 pages on core language features and then 150 pages on arrays and pointers. No wonder it took me three years and a computer science class with a real live teacher to figure out how to construct a working loop and if-statement! In addition the author's grammar (English) was all wrong. It was a dot-com book aimed for people who landed a job programming, yet have no clue what it is. Some of the more recent ones are better. Anything from the 90's I'd stay away from though. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman | John 3:16! http://www.fsdev.net/ | http://www.sauron.fsdev.net/ |
From: Chris M. <lor...@gm...> - 2008-03-13 17:07:31
|
On Thu, Mar 13, 2008 at 12:00 AM, <Mat...@bm...> wrote: > It's not exactly what you want, but this book uses Dev C++ with the allegro > devpac throughout. > > > > http://www.amazon.co.uk/Game-Programming-All-Jonathan-Harbour/dp/1598632892/ref=sr_1_1?ie=UTF8&s=books&qid=1205391267&sr=1-1 Oh, I have that book. It's quite good. When he said DevC++5 I got all excited and went to the website and everything thinking "yes, they picked up development!" Then I figured out he was just rounding, and went back to Code::Blocks. -- Registered Linux Addict #431495 http://profile.xfire.com/mrstalinman | John 3:16! http://www.fsdev.net/ | http://www.sauron.fsdev.net/ |
From: <Mat...@bm...> - 2008-03-13 15:32:21
|
Try this for size (or google) http://www.codeproject.com/KB/IP/beginningtcp_cpp.aspx <http://www.codeproject.com/KB/IP/beginningtcp_cpp.aspx> and one from my own library... http://chilisoft.co.uk/shares/ms winsock.pdf <http://chilisoft.co.uk/shares/ms%20winsock.pdf> ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of Fernando Lichtschein Sent: 13 March 2008 14:06 To: hhh hhh Cc: dev...@li... Subject: Re: [Dev-C++] Any links to winsock programming? You can also try http://www.frostbytes.com/~jimf/papers/sockets/winsock.html <http://www.frostbytes.com/%7Ejimf/papers/sockets/winsock.html> On Thu, Mar 13, 2008 at 7:02 AM, hhh hhh <the...@ho...> wrote: Hi all, Twanny Azzopardi: Try beejs guide to network programming to understand the basics, and then follow it up with MSDN site. This link might help to get things started : http://msdn2.microsoft.com/en-us/library/ms741416(VS.85).aspx <http://msdn2.microsoft.com/en-us/library/ms741416%28VS.85%29.aspx> ________________________________ From: leo...@ma... To: dev...@li... Date: Thu, 13 Mar 2008 08:22:52 +0100 Subject: [Dev-C++] Any links to winsock programming? Any links to winsock programming? Best regards, Twanny Azzopardi. ________________________________ Notícias direto do New York Times, gols do Lance, videocassetadas e muitos outros vídeos no MSN Videos! Confira já! <http://video.msn.com/?mkt=pt-br> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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 -- Fernando Lichtschein li...@fi... This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |
From: Reid T. <Rei...@at...> - 2008-03-13 15:17:35
|
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=nBp&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=Windows+Sockets+2+Application+Programming+Interface&spell=1 provides bunches of them On Thu, 2008-03-13 at 12:05 -0200, Fernando Lichtschein wrote: > You can also try > > http://www.frostbytes.com/~jimf/papers/sockets/winsock.html > > On Thu, Mar 13, 2008 at 7:02 AM, hhh hhh <the...@ho...> > wrote: > Hi all, > > Twanny Azzopardi: > > Try beejs guide to network programming to understand > the basics, and then follow it up with MSDN site. > This link might help to get things started : > http://msdn2.microsoft.com/en-us/library/ms741416(VS.85).aspx > > > ______________________________________________________ > From: leo...@ma... > To: dev...@li... > Date: Thu, 13 Mar 2008 08:22:52 +0100 > Subject: [Dev-C++] Any links to winsock programming? > > > Any links to winsock programming? > > Best regards, > Twanny Azzopardi. > > > > ______________________________________________________________ > Notícias direto do New York Times, gols do Lance, > videocassetadas e muitos outros vídeos no MSN Videos! Confira > já! > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > 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 > > > > > -- > Fernando Lichtschein > li...@fi... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ 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: Fernando L. <fer...@gm...> - 2008-03-13 14:05:44
|
You can also try http://www.frostbytes.com/~jimf/papers/sockets/winsock.html<http://www.frostbytes.com/%7Ejimf/papers/sockets/winsock.html> On Thu, Mar 13, 2008 at 7:02 AM, hhh hhh <the...@ho...> wrote: > Hi all, > > Twanny Azzopardi: > > Try beejs guide to network programming to understand the basics, and then > follow it up with MSDN site. > This link might help to get things started : > http://msdn2.microsoft.com/en-us/library/ms741416(VS.85).aspx<http://msdn2.microsoft.com/en-us/library/ms741416%28VS.85%29.aspx> > > > ------------------------------ > From: leo...@ma... > To: dev...@li... > Date: Thu, 13 Mar 2008 08:22:52 +0100 > Subject: [Dev-C++] Any links to winsock programming? > > Any links to winsock programming? > > Best regards, > Twanny Azzopardi. > > > ------------------------------ > Notícias direto do New York Times, gols do Lance, videocassetadas e muitos > outros vídeos no MSN Videos! Confira já! <http://video.msn.com/?mkt=pt-br> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > 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 > > -- Fernando Lichtschein li...@fi... |
From: Twanny A. <leo...@ma...> - 2008-03-13 13:46:19
|
Thanks for your previous help on links to winsock programming, now how about remote procedure call? Best regards, Twanny. |
From: hhh h. <the...@ho...> - 2008-03-13 09:02:13
|
Hi all, Twanny Azzopardi: Try beejs guide to network programming to understand the basics, and then follow it up with MSDN site. This link might help to get things started : http://msdn2.microsoft.com/en-us/library/ms741416(VS.85).aspx From: leo...@ma...To: dev...@li...Date: Thu, 13 Mar 2008 08:22:52 +0100Subject: [Dev-C++] Any links to winsock programming? Any links to winsock programming? Best regards,Twanny Azzopardi. _________________________________________________________________ Confira vídeos com notícias do NY Times, gols direto do Lance, videocassetadas e muito mais no MSN Video! http://video.msn.com/?mkt=pt-br |
From: Twanny A. <leo...@ma...> - 2008-03-13 07:24:01
|
Any links to winsock programming? Best regards, Twanny Azzopardi. |
From: <Mat...@bm...> - 2008-03-13 07:01:18
|
It's not exactly what you want, but this book uses Dev C++ with the allegro devpac throughout. http://www.amazon.co.uk/Game-Programming-All-Jonathan-Harbour/dp/1598632 892/ref=sr_1_1?ie=UTF8&s=books&qid=1205391267&sr=1-1 <http://www.amazon.co.uk/Game-Programming-All-Jonathan-Harbour/dp/159863 2892/ref=sr_1_1?ie=UTF8&s=books&qid=1205391267&sr=1-1> From: dev...@li... [mailto:dev...@li...] On Behalf Of sam Ruma Sent: 12 March 2008 16:08 To: dev...@li... Subject: [Dev-C++] Dev-cpp Book Wow...! No one has any idea where to find such a book (Windows Programming with dev-cpp). That is really weird. ________________________________ Never miss a thing. Make Yahoo your homepage. <http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs> This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them. |
From: sam R. <as...@ya...> - 2008-03-12 21:01:55
|
I have found this website. I thought someone can benefit from it. http://winprog.net/tutorial/start.html --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |
From: Gary W. <wa...@ee...> - 2008-03-12 17:25:42
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> kbhit() only returns true or false, not the key. Try<br> while (1){<br> if (kbhit())<br> printf("key press: %d\n",getch());<br> }<br> Gary Watson<br> <br> <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> wrote: <blockquote cite="mid:mai...@li..." type="cite"> <pre wrap="">Send Dev-cpp-users mailing list submissions to <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> To subscribe or unsubscribe via the World Wide Web, visit <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/dev-cpp-users">https://lists.sourceforge.net/lists/listinfo/dev-cpp-users</a> or, via email, send a message with subject or body 'help' to <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> You can reach the person managing the list at <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> When replying, please edit your Subject line so it is more specific than "Re: Contents of Dev-cpp-users digest..." Today's Topics: 1. kbhit() (frederico schardong) 2. Re: kbhit() (Michal Molhanec) 3. Int. J. of Tomography & Statistics, Special Issue on Image Processing - Call for papers (Jo?o Manuel R. S. Tavares) 4. computing info (KSB1265) 5. Re: computing info (Per Westermark) 6. Re: computing info (Vamsi Krishna Karamsetty) 7. Dev-cpp Book (sam Ruma) 8. Dev-cpp Book (sam Ruma) ---------------------------------------------------------------------- Message: 1 Date: Mon, 3 Mar 2008 16:21:32 -0300 From: "frederico schardong" <a class="moz-txt-link-rfc2396E" href="mailto:fre...@gm..."><fre...@gm...></a> Subject: [Dev-C++] kbhit() To: <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:c8f...@ma..."><c8f...@ma...></a> Content-Type: text/plain; charset="iso-8859-1" look this: main(){ int a; while (1){ if (a=kbhit()) printf("key press: %d",(char)a); } } I need that: the program show me which keys are pressed in speed it reads.. I was tried some alternatives and no work.. one is at the top of the page.. What's happening is.. any key I press, printf go to the work and not pause... if I don't press not, nothing works.. sugestions? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 03 Mar 2008 22:43:52 +0100 From: Michal Molhanec <a class="moz-txt-link-rfc2396E" href="mailto:mi...@mo..."><mi...@mo...></a> Subject: Re: [Dev-C++] kbhit() To: frederico schardong <a class="moz-txt-link-rfc2396E" href="mailto:fre...@gm..."><fre...@gm...></a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:47C...@mo..."><47C...@mo...></a> Content-Type: text/plain; charset=ISO-8859-1; format=flowed frederico schardong napsal(a): </pre> <blockquote type="cite"> <pre wrap="">look this: main(){ int a; while (1){ if (a=kbhit()) printf("key press: %d",(char)a); } } I need that: the program show me which keys are pressed in speed it reads.. I was tried some alternatives and no work.. one is at the top of the page.. What's happening is.. any key I press, printf go to the work and not pause... if I don't press not, nothing works.. sugestions? </pre> </blockquote> <pre wrap=""><!----> the function you need to use is getch(), not kbhit() ------------------------------ Message: 3 Date: Thu, 6 Mar 2008 15:24:36 -0000 From: Jo?o Manuel R. S. Tavares <a class="moz-txt-link-rfc2396E" href="mailto:ta...@fe..."><ta...@fe...></a> Subject: [Dev-C++] Int. J. of Tomography & Statistics, Special Issue on Image Processing - Call for papers To: <a class="moz-txt-link-rfc2396E" href="mailto:dev...@li..."><dev...@li...></a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:0e7e01c87f9e$2fc921d0$8f5b6570$@up.pt"><0e7e01c87f9e$2fc921d0$8f5b6570$@up.pt></a> Content-Type: text/plain; charset="iso-8859-1" (Our apologies for cross-posting. We appreciate if you kindly distribute this information by your co-workers and colleagues.) **************************************************************************** ******* Special issue on Image Processing Gest Editors: Jo?o Manuel R. S. Tavares & Renato M. Natal Jorge ? UP - Portugal International Journal of Tomography & Statistics ISSN 0973-7294 (Online) - 0972-9976 (Print) <a class="moz-txt-link-freetext" href="http://www.isder.ceser.res.in/ijts.html">http://www.isder.ceser.res.in/ijts.html</a> **************************************************************************** ******* Dear Colleague, This special issue of the International Journal of Tomography & Statistics (IJT&S) is devoted to promote a broad exchange of information on technologies, applications, operations and quality assurance in the areas of Computed Tomography, Statistics as well as of Image Processing. This special issue on Image Processing is an opportunity for users, scientists, image equipment suppliers and all who are interested to present their works on image detectors and acquisition systems, signal processing, image processing and analysis, medical imaging, pattern analysis and recognition, volume scanning and reconstruction, features extraction and classification, telemedicine, virtual and augmented reality, enhanced computation and software applications of image processing. Thus, if you are working on the related areas of the special issue ?Image Processing?, It is an honour to invite you to submit your work to be published in the IJT&S. Important Dates and Instructions: Deadline for papers submission: 30/06/2008; Authors notification: 15/09/2008; Final version of accepted papers: 1/11/2008; If you intend to submit your work please notify as soon as possible the guest editors of your intention (<a class="moz-txt-link-abbreviated" href="mailto:ta...@fe...">ta...@fe...</a>, <a class="moz-txt-link-abbreviated" href="mailto:rn...@fe...">rn...@fe...</a>); Papers for the special issue should be sent to the guest editors (<a class="moz-txt-link-abbreviated" href="mailto:ta...@fe...">ta...@fe...</a>, <a class="moz-txt-link-abbreviated" href="mailto:rn...@fe...">rn...@fe...</a>); Instructions for authors are available at: <a class="moz-txt-link-freetext" href="http://www.isder.ceser.res.in/ijts/instr4a.html">http://www.isder.ceser.res.in/ijts/instr4a.html</a>. With kind regards, Yours sincerely The Guest Editors Jo?o Manuel R. S. Tavares (<a class="moz-txt-link-abbreviated" href="mailto:ta...@fe...">ta...@fe...</a>) Renato M. Natal Jorge (<a class="moz-txt-link-abbreviated" href="mailto:rn...@fe...">rn...@fe...</a>) University of Porto, Portugal ------------------------------ Message: 4 Date: Mon, 10 Mar 2008 12:51:37 -0400 From: KSB1265 <a class="moz-txt-link-rfc2396E" href="mailto:ks...@ao..."><ks...@ao...></a> Subject: [Dev-C++] computing info To: <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:7fd...@ao..."><7fd...@ao...></a> Content-Type: text/plain; charset="us-ascii" Hey all: I am writing a program using C++ that computes employee info. How do I calculate the oldest employee and the employee with the most tax? I am also having a problem calculating the taxes. I have been trying with this for a while now. Please help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Mon, 10 Mar 2008 18:09:58 +0100 (CET) From: Per Westermark <a class="moz-txt-link-rfc2396E" href="mailto:pw...@ia..."><pw...@ia...></a> Subject: Re: [Dev-C++] computing info To: KSB1265 <a class="moz-txt-link-rfc2396E" href="mailto:ks...@ao..."><ks...@ao...></a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:Pin...@ia..."><Pin...@ia...></a> Content-Type: TEXT/PLAIN; charset=US-ASCII You really do have to add more information. Especially since you want help with your school assignment. What have you tried? What did happen? What did you expect to happen? By the way - why not a plain text mail, instead of sending your text as both text and HTML? /pwm On Mon, 10 Mar 2008, KSB1265 wrote: </pre> <blockquote type="cite"> <pre wrap="">Hey all: I am writing a program using C++ that computes employee info. How do I calculate the oldest employee and the employee with the most tax? I am also having a problem calculating the taxes. I have been trying with this for a while now. Please help. Thanks. </pre> </blockquote> <pre wrap=""><!----> ------------------------------ Message: 6 Date: Mon, 10 Mar 2008 14:28:37 -0500 From: "Vamsi Krishna Karamsetty" <a class="moz-txt-link-rfc2396E" href="mailto:vam...@gm..."><vam...@gm...></a> Subject: Re: [Dev-C++] computing info To: KSB1265 <a class="moz-txt-link-rfc2396E" href="mailto:ks...@ao..."><ks...@ao...></a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:dev...@li...">dev...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:814...@ma..."><814...@ma...></a> Content-Type: text/plain; charset="iso-8859-1" hi do u have the date of joining for each employee. if your answer is yes, then the one who joined first will be the oldest employee. and about the tax u need to calculate all with the employee salary and the number of years or days he is working. On Mon, Mar 10, 2008 at 11:51 AM, KSB1265 <a class="moz-txt-link-rfc2396E" href="mailto:ks...@ao..."><ks...@ao...></a> wrote: </pre> <blockquote type="cite"> <pre wrap=""> Hey all: I am writing a program using C++ that computes employee info. How do I calculate the oldest employee and the employee with the most tax? I am also having a problem calculating the taxes. I have been trying with this for a while now. Please help. Thanks. ------------------------------ Supercharge your AIM. Get the AIM toolbar<a class="moz-txt-link-rfc2396E" href="http://download.aim.com/client/aimtoolbar?NCID=aolcmp00300000002586"><http://download.aim.com/client/aimtoolbar?NCID=aolcmp00300000002586></a>for your browser. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. <a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a> _______________________________________________ Dev-cpp-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev...@li...">Dev...@li...</a> TO UNSUBSCRIBE: <a class="moz-txt-link-freetext" href="http://www23.brinkster.com/noicys/devcpp/ub.htm">http://www23.brinkster.com/noicys/devcpp/ub.htm</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/dev-cpp-users">https://lists.sourceforge.net/lists/listinfo/dev-cpp-users</a> </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> </body> </html> |