dev-cpp-users Mailing List for Dev-C++ (Page 36)
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: Per W. <pw...@ia...> - 2008-02-26 11:33:47
|
You can't use your local characters in any variable names. Try to get a good C or C++ book. /pwm On Mon, 25 Feb 2008, Igor Nunes da Cruz wrote: > I am having a problem with respect to use of struct and vectors homogênios > and heterogênios. Any suggestions? > Thanks, > > -- > Igor da Cruz > |
From: Per W. <pw...@ia...> - 2008-02-26 11:31:28
|
Suggestions about what? A wildcard request for suggestions would require us to write millions of lines of text. Please ask questions about specific features or specific usage. /pwm On Tue, 26 Feb 2008, Igor Nunes da Cruz wrote: > I am a student of Computer Science. I started to use the Dev is little time. > I still embarrassment with the various functions that presents. I appreciate > the suggestions. And also to get my doubts, training a bit of English I > know. > Thanks, > > -- > Igor da Cruz > |
From: shan c. <sha...@ya...> - 2008-02-26 09:31:33
|
Can you state your problem clear? As far as struct is concerned use classes if you are using C++. Igor Nunes da Cruz <cr...@ig...> wrote: I am having a problem with respect to use of struct and vectors homogênios and heterogênios. Any suggestions? Thanks, -- Igor da Cruz ------------------------------------------------------------------------- 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 hey man go rocking --------------------------------- Save all your chat conversations. Find them online. |
From: Igor N. da C. <cr...@ig...> - 2008-02-26 03:11:55
|
I am a student of Computer Science. I started to use the Dev is little time. I still embarrassment with the various functions that presents. I appreciate the suggestions. And also to get my doubts, training a bit of English I know. Thanks, -- Igor da Cruz |
From: Igor N. da C. <cr...@ig...> - 2008-02-26 03:03:32
|
Create a program that stores for each of 10 Products the following data: name, code, value and An array of demands from sales, Monday to Friday, In the first two weeks of the month of July only. The program will show, for each product, the day Of the week on which it had higher mean Sale and the value of this medium. How to proceed after it has produced this error? #include<stdio.h> #include<conio.h> #define size 2 main() { struct reg{ char nome_p[20]; int cod,baixa[2][5]; float preco; }venda[size]; int l,c; float media_v=0; for(l=0;l<size;l++){ fflush(stdin); printf("\nNome do produto %d: ",l+1); gets(venda[l].nome_p); printf("\nCodigo do produto %s: ",venda[l].nome_p); scanf("%d",&venda[l].cod); while(venda[l].cod==venda[c].cod){ c=0; printf("Erro! Codigo existente! Digite outro codigo: "); scanf("%d",&venda[l].cod); } printf("Valor do produto %s: R$ ",venda[l].nome_p); scanf("%f",&venda[l].preco); for(l=0;l<2;l++) { for(c=1;c<6;c++) { printf("[ - Mes de Julho - ]"); printf(" ------------------ "); printf(" Semana %d ",l+1); scanf("%d",&venda[l].baixa[l][c]); printf(" %d Semana %d",c+1,venda[l].baixa[l][c]); scanf("%d",&venda[l].baixa[l][c]); printf("\nQuantidade de %s vendido na %d: ",venda[l].nome_p,c+1); scanf("%d",&venda[l].baixa[l][c]); media_v = media_v+venda[l].baixa[l][c]/size l; } printf("\n\n"); } } printf("O produto vendido foi %s na semana %d - %d e sua media de venda foi %.2f",venda[l].nome_p,venda[l].baixa[l][c].sem,venda[l].baixa[l][c].dia,media_v); getch(); } Thanks, -- Igor da Cruz |
From: Igor N. da C. <cr...@ig...> - 2008-02-26 02:56:48
|
I am having a problem with respect to use of struct and vectors homogênios and heterogênios. Any suggestions? Thanks, -- Igor da Cruz |
From: Per W. <pw...@ia...> - 2008-02-24 18:21:12
|
Yes, google a little bit better. "Can not be done" is a very bad answer. If it can't be done - how come other programs are able to do it? Some of the things you want to do can be done using normal Posix C. By the way: API = Application Programming Interface. Every system has a set of functions that may be used. Visit The Microsoft MSDN site, for full documentation about the functions (API) available for Windows programs. /pwm On Fri, 22 Feb 2008, William OConnell wrote: > Hello. > > I am a convert from DJGPP to Dev c++. I now use both. > I am trying to perform file manipulations in Dev C++. > How can I do this? > > For example, I need a piece of code that determines > the current drive and directory. Create a new > directory? Remove directory? > > I did Google this item. Most of the answers say this > cannot be done. They also suggest something called > API. > > Does anybody have some suggestions? > > Thank you. |
From: Eric <eri...@wo...> - 2008-02-23 04:34:51
|
I just noticed my keybroad does not have a "any key" why not use "a key" that might get some people ----- Original Message ----- From: Shawn <tre...@gm...> To: <dev...@li...> Sent: Friday, February 22, 2008 6:29 PM Subject: [Dev-C++] press any key to continue Hi everyone! What would be the best way to go about adding "press any key to continue" functionality to a program? I'm doing a star trek based RPG and want to make it seem like it's taking time to lock onto a target. Thanks! Hopefully, the user isn't Homer who would ask I don't see any any key! I see esk, catarl, and pigup... :) ------------------------------------------------------------------------- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.9/1292 - Release Date: 2/21/08 4:09 PM |
From: Shawn <tre...@gm...> - 2008-02-23 02:29:46
|
Hi everyone! What would be the best way to go about adding "press any key to continue" functionality to a program? I'm doing a star trek based RPG and want to make it seem like it's taking time to lock onto a target. Thanks! Hopefully, the user isn't Homer who would ask I don't see any any key! I see esk, catarl, and pigup... :) |
From: William O. <wil...@ya...> - 2008-02-22 22:28:49
|
Hello. I am a convert from DJGPP to Dev c++. I now use both. I am trying to perform file manipulations in Dev C++. How can I do this? For example, I need a piece of code that determines the current drive and directory. Create a new directory? Remove directory? I did Google this item. Most of the answers say this cannot be done. They also suggest something called API. Does anybody have some suggestions? Thank you. |
From: Jessica C. <jes...@gm...> - 2008-02-22 20:34:46
|
Is there anyone have the code sample of File Open? I was told I should use GetOpenFileName(). Thanks. |
From: matheus r. <mfr...@gm...> - 2008-02-20 16:58:49
|
> What's the point of include string then? Just more options regarding > strings??? If you use strings but dont use iostreams, you must include strings. |
From: Wobien <roo...@pl...> - 2008-02-20 16:55:09
|
iostream includes string, because the stream objects need to know about strings. For instance, you can have: string x = "hallo"; cout<<x; so cout must have a method for handling strings. On the other hand, strings do not have to know about streams. So if you write code that does not use streams you have to explicitly include <string> if you want to use strings. ----- Original Message ----- From: "Shawn" <tre...@gm...> To: "Wobien" <roo...@pl...> Cc: <dev...@li...> Sent: Wednesday, February 20, 2008 3:50 PM Subject: Re: [Dev-C++] no #include<string> > Yes, I did include iostream and ctime. > > What's the point of include string then? Just more options regarding > strings??? > > > > Wobien wrote: >> Did you include another include-file? >> For instance #include <iostream> allso defines std::string >> >> >> ----- Original Message ----- From: "Shawn" <tre...@gm...> >> To: <dev...@li...> >> Sent: Tuesday, February 19, 2008 9:05 PM >> Subject: [Dev-C++] no #include<string> >> >> >>> Has anyone ever tried to use strings and not import the string library? >>> It's weird, I'm using them but 4got to include the library and my >>> program is running! >>> >>> lol >>> >>> >>> >>> ------------------------------------------------------------------------- >>> >>> 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-02-20 14:50:15
|
Yes, I did include iostream and ctime. What's the point of include string then? Just more options regarding strings??? Wobien wrote: > Did you include another include-file? > For instance #include <iostream> allso defines std::string > > > ----- Original Message ----- From: "Shawn" <tre...@gm...> > To: <dev...@li...> > Sent: Tuesday, February 19, 2008 9:05 PM > Subject: [Dev-C++] no #include<string> > > >> Has anyone ever tried to use strings and not import the string >> library? It's weird, I'm using them but 4got to include the library >> and my program is running! >> >> lol >> >> >> >> ------------------------------------------------------------------------- >> >> 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: Wobien <roo...@pl...> - 2008-02-20 14:41:40
|
Did you include another include-file? For instance #include <iostream> allso defines std::string ----- Original Message ----- From: "Shawn" <tre...@gm...> To: <dev...@li...> Sent: Tuesday, February 19, 2008 9:05 PM Subject: [Dev-C++] no #include<string> > Has anyone ever tried to use strings and not import the string library? > It's weird, I'm using them but 4got to include the library and my > program is running! > > lol > > > > ------------------------------------------------------------------------- > 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-02-19 20:06:05
|
Has anyone ever tried to use strings and not import the string library? It's weird, I'm using them but 4got to include the library and my program is running! lol |
From: Per W. <pw...@ia...> - 2008-02-19 12:09:46
|
Version 5.5 of the Borland C++ compiler is available for free download. There are also a free version of the M$ compiler. What is "dec C"? Where your posted code supposted to contain a huge amount of references to mail.google.com? /pwm On Tue, 19 Feb 2008, frederico schardong wrote: > hi for all > > I have one code writed in borland/microsoft visual.. > so this programs don't free, and I don't have money for its. > who I do to convert to dec C? (ansi C I presume) > > The code import functions from .dll file > here is this: > > > *C++ Builder / Microsoft Visual C++:* > > #ifdef __cplusplus > extern "C" { > #endif > > #define *GenUSBDLL * "GenUSB.dll"; > /*/ valores retornados pelas funções em GenUSB.DLL:* > #define *NO_ERROR * 0; > #define *DEVICE_NOT_PRESENT *1; > #define *NO_DATA_AVAILABLE *2; > #define *INVALID_BAUDRATE *3; > #define *OVERRUN_ERROR * 4; > #define *INVALID_DATABITS * 5; > #define *INVALID_PARITY * 6; > #define *INVALID_STOPBITS * 7; > > *int* __stdcall > *DoGetInfraCode<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetInfraCode#DoGetInfraCode> > *(*uchar ** *TimeCodeDiagram*, *int* *DummyInt*, *int ** *DiagramLength*); > *int* __stdcall > *DoSetDataPortDirection<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoSetDataPortDirection#DoSetDataPortDirection> > *(*uchar DirectionByte*); > *int* __stdcall > *DoGetDataPortDirection<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetDataPortDirection#DoGetDataPortDirection> > *(*uchar ** *DataDirectionByte*); > *int* __stdcall > *DoSetOutDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoSetOutDataPort#DoSetOutDataPort> > *(*uchar DataOutByte*); > *int* __stdcall > *DoGetOutDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetOutDataPort#DoGetOutDataPort> > *(*uchar ** *DataOutByte*); > *int* __stdcall > *DoGetInDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetInDataPort#DoGetInDataPort> > *(*uchar ** *DataInByte*); > > *int* __stdcall > *DoEEPROMRead<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoEEPROMRead#DoEEPROMRead> > *(*ushort Address*, *uchar ** *DataInByte*); > *int* __stdcall > *DoEEPROMWrite<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoEEPROMWrite#DoEEPROMWrite> > *(*ushort Address*, *uchar DataOutByte*); > > *int* __stdcall > *DoRS232Send<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232Send#DoRS232Send> > *(*uchar DataOutByte*); > *int* __stdcall > *DoRS232Read<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232Read#DoRS232Read> > *(*uchar ** *DataInByte*); > *int* __stdcall > *DoSetRS232Baud<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Baud#DoGetRS232Baud> > *(*int BaudRate*); > *int* __stdcall > *DoGetRS232Baud<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Baud#DoGetRS232Baud> > *(*int ** *BaudRate*); > *int* __stdcall > *DoGetRS232Buffer*<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Buffer#DoGetRS232Buffer> > (*uchar ** *RS232Buffer*, *int* *DummyInt*, *int ** *RS232BufferLength*); > *int* __stdcall > *DoRS232BufferSend*<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232BufferSend#DoRS232BufferSend> > (*uchar ** *RS232Buffer*, *int* *DummyInt*, *int ** *RS232BufferLength*); > > #ifdef __cplusplus > } > #endif > > > > > > tankyou for all > |
From: frederico s. <fre...@gm...> - 2008-02-19 11:40:35
|
hi for all I have one code writed in borland/microsoft visual.. so this programs don't free, and I don't have money for its. who I do to convert to dec C? (ansi C I presume) The code import functions from .dll file here is this: *C++ Builder / Microsoft Visual C++:* #ifdef __cplusplus extern "C" { #endif #define *GenUSBDLL * "GenUSB.dll"; /*/ valores retornados pelas funções em GenUSB.DLL:* #define *NO_ERROR * 0; #define *DEVICE_NOT_PRESENT *1; #define *NO_DATA_AVAILABLE *2; #define *INVALID_BAUDRATE *3; #define *OVERRUN_ERROR * 4; #define *INVALID_DATABITS * 5; #define *INVALID_PARITY * 6; #define *INVALID_STOPBITS * 7; *int* __stdcall *DoGetInfraCode<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetInfraCode#DoGetInfraCode> *(*uchar ** *TimeCodeDiagram*, *int* *DummyInt*, *int ** *DiagramLength*); *int* __stdcall *DoSetDataPortDirection<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoSetDataPortDirection#DoSetDataPortDirection> *(*uchar DirectionByte*); *int* __stdcall *DoGetDataPortDirection<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetDataPortDirection#DoGetDataPortDirection> *(*uchar ** *DataDirectionByte*); *int* __stdcall *DoSetOutDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoSetOutDataPort#DoSetOutDataPort> *(*uchar DataOutByte*); *int* __stdcall *DoGetOutDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetOutDataPort#DoGetOutDataPort> *(*uchar ** *DataOutByte*); *int* __stdcall *DoGetInDataPort<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetInDataPort#DoGetInDataPort> *(*uchar ** *DataInByte*); *int* __stdcall *DoEEPROMRead<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoEEPROMRead#DoEEPROMRead> *(*ushort Address*, *uchar ** *DataInByte*); *int* __stdcall *DoEEPROMWrite<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoEEPROMWrite#DoEEPROMWrite> *(*ushort Address*, *uchar DataOutByte*); *int* __stdcall *DoRS232Send<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232Send#DoRS232Send> *(*uchar DataOutByte*); *int* __stdcall *DoRS232Read<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232Read#DoRS232Read> *(*uchar ** *DataInByte*); *int* __stdcall *DoSetRS232Baud<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Baud#DoGetRS232Baud> *(*int BaudRate*); *int* __stdcall *DoGetRS232Baud<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Baud#DoGetRS232Baud> *(*int ** *BaudRate*); *int* __stdcall *DoGetRS232Buffer*<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoGetRS232Buffer#DoGetRS232Buffer> (*uchar ** *RS232Buffer*, *int* *DummyInt*, *int ** *RS232BufferLength*); *int* __stdcall *DoRS232BufferSend*<http://mail.google.com/mail/GenUSB_DLL_help.htm#DoRS232BufferSend#DoRS232BufferSend> (*uchar ** *RS232Buffer*, *int* *DummyInt*, *int ** *RS232BufferLength*); #ifdef __cplusplus } #endif tankyou for all |
From: Michal M. <mi...@mo...> - 2008-02-18 23:55:52
|
Shawn napsal(a): > Hi everyone!, > > I have this code to overwrite the high score in the highscore.txt file > in a RPG game that I'm working on for class. I keep getting a 'outfile > undeclared' fist use this function when it gets to the bolded open file > for output part. I included #include<fstream> at the beginning. Any > idea's?? if (playerScore > highScore) ofstream outfile; is equivalent to if (playerScore > highScore) { ofstream outfile; } so there is no outfile variable after the if statement > Also, I tried putting curley brakets around after the if statement since > it's a compound statement block, but then I get this error from dev c++ > > empty character constant you did something wrong, this is correct solution: if (playerScore > highScore) { //declare file pointer for input ofstream outfile; //Open file for output outfile.open("highscore.txt", ios::out); //write data outfile<<playerName<<playerScore<<endl; //close file outfile.close(); } |
From: Shawn <tre...@gm...> - 2008-02-18 22:04:19
|
Hi everyone!, I have this code to overwrite the high score in the highscore.txt file in a RPG game that I'm working on for class. I keep getting a 'outfile undeclared' fist use this function when it gets to the bolded open file for output part. I included #include<fstream> at the beginning. Any idea's?? Also, I tried putting curley brakets around after the if statement since it's a compound statement block, but then I get this error from dev c++ empty character constant thx! //Write player's high score if greater then score in txt file //declare file pointer for input ifstream infile; //declare variables string fileName = ""; int highScore = 0; //Open file for input infile.open("highscore.txt", ios::in); //read in data getline(infile, fileName); infile>>highScore; //Close file infile.close(); if (playerScore > highScore) //declare file pointer for input ofstream outfile; *//Open file for output outfile.open("highscore.txt", ios::out);* //write data outfile<<playerName<<playerScore<<endl; //close file outfile.close(); |
From: Per W. <pw...@ia...> - 2008-02-16 23:00:36
|
M$ has their own ways. They want you to install more software on your machine. In their hurry to do that, they don't care too much about different web browsers - after all, they have IE... /pwm On Sun, 17 Feb 2008, Eric wrote: > I dont belive this > > When I click on the link from the Email ptogram Internet explorer comes up > with a blank page. (with only header) > When I go with firefox 2.0.0.12 via google part of the text is covered over > by a big grey patch > Opera 9.25 works fine, no problem. > > > ----- Original Message ----- > From: Per Westermark <pw...@ia...> > To: Eric <er...@du...> > Cc: <dev...@li...> > Sent: Saturday, February 16, 2008 2:17 PM > Subject: Re: [Dev-C++] delay function in dev > > > The link seems find. However, have you tried to google for "MSDN Sleep"? > > /pwm > > On Sun, 17 Feb 2008, Eric wrote: > > > I can not get this link to work > > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > > > > > > > > > > > > > > > ----- Original Message ----- > > From: Per Westermark <pw...@ia...> > > To: frederico schardong <fre...@gm...> > > Cc: <dev...@li...> > > Sent: Saturday, February 16, 2008 1:17 PM > > Subject: Re: [Dev-C++] delay function in dev > > > > > > Dev-C++ targets Windows. > > > > Besides the normal C library functions (which you can find documentation > > for on the GNU home page), you also have all Win32 API. For documentation > > about them, you can visit the Microsoft MSDN web site. > > > > Then, there is also a bit of documentation together with the MinGW > > compiler. > > > > For Sleep(), see: > > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > > > /pwm > > > > EMA System email: pw...@ia... > > Per Westermark web: http://iapetus.neab.net > > Vargvaegen 174B phone: +46 70 214 74 48 > > S-906 42 Umeaa > > Sweden > > > > > > On Sat, 16 Feb 2008, frederico schardong wrote: > > > > > Hello! > > > > > > I must create a delay in one of my programs. it's written on ANSI C. > > > > > > This delay must be 3 mileseconds (the time is ir irrelevant) > > > > > > I find delay function in ccs compiler for PIC family > > > > > > I must know which library I have use to use delay function in DEV > compiler > > > > > > tanks > > > > > > > > > ------------------------------------------------------------------------- > > 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 > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 > > 2:16 PM > > > > > > > > > > ------------------------------------------------------------------------- > > 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 > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 > 2:16 PM > > > > > ------------------------------------------------------------------------- > 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: Eric <eri...@wo...> - 2008-02-16 22:56:08
|
I dont belive this When I click on the link from the Email ptogram Internet explorer comes up with a blank page. (with only header) When I go with firefox 2.0.0.12 via google part of the text is covered over by a big grey patch Opera 9.25 works fine, no problem. ----- Original Message ----- From: Per Westermark <pw...@ia...> To: Eric <er...@du...> Cc: <dev...@li...> Sent: Saturday, February 16, 2008 2:17 PM Subject: Re: [Dev-C++] delay function in dev The link seems find. However, have you tried to google for "MSDN Sleep"? /pwm On Sun, 17 Feb 2008, Eric wrote: > I can not get this link to work > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > > > > > > > ----- Original Message ----- > From: Per Westermark <pw...@ia...> > To: frederico schardong <fre...@gm...> > Cc: <dev...@li...> > Sent: Saturday, February 16, 2008 1:17 PM > Subject: Re: [Dev-C++] delay function in dev > > > Dev-C++ targets Windows. > > Besides the normal C library functions (which you can find documentation > for on the GNU home page), you also have all Win32 API. For documentation > about them, you can visit the Microsoft MSDN web site. > > Then, there is also a bit of documentation together with the MinGW > compiler. > > For Sleep(), see: > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > /pwm > > EMA System email: pw...@ia... > Per Westermark web: http://iapetus.neab.net > Vargvaegen 174B phone: +46 70 214 74 48 > S-906 42 Umeaa > Sweden > > > On Sat, 16 Feb 2008, frederico schardong wrote: > > > Hello! > > > > I must create a delay in one of my programs. it's written on ANSI C. > > > > This delay must be 3 mileseconds (the time is ir irrelevant) > > > > I find delay function in ccs compiler for PIC family > > > > I must know which library I have use to use delay function in DEV compiler > > > > tanks > > > > > ------------------------------------------------------------------------- > 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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 > 2:16 PM > > > > > ------------------------------------------------------------------------- > 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 > -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 2:16 PM |
From: Per W. <pw...@ia...> - 2008-02-16 22:18:00
|
The link seems find. However, have you tried to google for "MSDN Sleep"? /pwm On Sun, 17 Feb 2008, Eric wrote: > I can not get this link to work > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > > > > > > > ----- Original Message ----- > From: Per Westermark <pw...@ia...> > To: frederico schardong <fre...@gm...> > Cc: <dev...@li...> > Sent: Saturday, February 16, 2008 1:17 PM > Subject: Re: [Dev-C++] delay function in dev > > > Dev-C++ targets Windows. > > Besides the normal C library functions (which you can find documentation > for on the GNU home page), you also have all Win32 API. For documentation > about them, you can visit the Microsoft MSDN web site. > > Then, there is also a bit of documentation together with the MinGW > compiler. > > For Sleep(), see: > http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx > > /pwm > > EMA System email: pw...@ia... > Per Westermark web: http://iapetus.neab.net > Vargvaegen 174B phone: +46 70 214 74 48 > S-906 42 Umeaa > Sweden > > > On Sat, 16 Feb 2008, frederico schardong wrote: > > > Hello! > > > > I must create a delay in one of my programs. it's written on ANSI C. > > > > This delay must be 3 mileseconds (the time is ir irrelevant) > > > > I find delay function in ccs compiler for PIC family > > > > I must know which library I have use to use delay function in DEV compiler > > > > tanks > > > > > ------------------------------------------------------------------------- > 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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 > 2:16 PM > > > > > ------------------------------------------------------------------------- > 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: Eric <eri...@wo...> - 2008-02-16 21:53:08
|
I can not get this link to work http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx ----- Original Message ----- From: Per Westermark <pw...@ia...> To: frederico schardong <fre...@gm...> Cc: <dev...@li...> Sent: Saturday, February 16, 2008 1:17 PM Subject: Re: [Dev-C++] delay function in dev Dev-C++ targets Windows. Besides the normal C library functions (which you can find documentation for on the GNU home page), you also have all Win32 API. For documentation about them, you can visit the Microsoft MSDN web site. Then, there is also a bit of documentation together with the MinGW compiler. For Sleep(), see: http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx /pwm EMA System email: pw...@ia... Per Westermark web: http://iapetus.neab.net Vargvaegen 174B phone: +46 70 214 74 48 S-906 42 Umeaa Sweden On Sat, 16 Feb 2008, frederico schardong wrote: > Hello! > > I must create a delay in one of my programs. it's written on ANSI C. > > This delay must be 3 mileseconds (the time is ir irrelevant) > > I find delay function in ccs compiler for PIC family > > I must know which library I have use to use delay function in DEV compiler > > tanks > ------------------------------------------------------------------------- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.7/1283 - Release Date: 2/16/08 2:16 PM |
From: Per W. <pw...@ia...> - 2008-02-16 21:17:36
|
Dev-C++ targets Windows. Besides the normal C library functions (which you can find documentation for on the GNU home page), you also have all Win32 API. For documentation about them, you can visit the Microsoft MSDN web site. Then, there is also a bit of documentation together with the MinGW compiler. For Sleep(), see: http://msdn2.microsoft.com/en-us/library/ms686298(VS.85).aspx /pwm EMA System email: pw...@ia... Per Westermark web: http://iapetus.neab.net Vargvaegen 174B phone: +46 70 214 74 48 S-906 42 Umeaa Sweden On Sat, 16 Feb 2008, frederico schardong wrote: > Hello! > > I must create a delay in one of my programs. it's written on ANSI C. > > This delay must be 3 mileseconds (the time is ir irrelevant) > > I find delay function in ccs compiler for PIC family > > I must know which library I have use to use delay function in DEV compiler > > tanks > |