dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(5) |
2
|
3
(3) |
4
(1) |
5
|
|
6
|
7
(3) |
8
|
9
(1) |
10
|
11
|
12
|
|
13
|
14
|
15
|
16
|
17
(1) |
18
(5) |
19
(2) |
|
20
(2) |
21
(1) |
22
(1) |
23
(1) |
24
(4) |
25
|
26
|
|
27
(2) |
28
|
29
|
30
|
31
|
|
|
|
From: <ta...@fe...> - 2008-01-27 16:55:48
|
------------------------------------------------------------------------ -------------------------------------------------------- (Apologies for cross-posting) Workshop =93Medical Imaging Systems=94 within EUROSIS EUROMEDIA 2008 April 9-11, 2008, University of Porto, Porto, Portugal http://www.eurosis.org/cms/index.php?q=3Dnode/461 We would appreciate if you could distribute this information by your colleagues and co-workers. ------------------------------------------------------------------------ -------------------------------------------------------- Dear Colleague, In recent years, extensive research has been performed to develop more and more efficient and powerful medical imaging systems. Such systems are crucial for medical specialists, allowing a deeper analysis and to understand what is going inside the human body, and therefore they play an essential role for adequate medical diagnosis and treatments. To accomplish efficient and powerful medical imaging systems, many research works have being done in many domains, like the ones related with medical image devices, signal processing, image processing and analysis, biomechanical simulation and data visualization. The main goal of the Workshop =93Medical Imaging Systems=94 is to bring together researchers involved in the related domains, in order to set the major lines of development for the near future. Therefore, the proposed Workshop will consist of researchers representing various fields related to Medical Devices, Signal Processing, Computational Vision, Computer Graphics, Computational Mechanics, Scientific Visualization, Mathematics and Medical Imaging. The Workshop endeavours to contribute to obtain better solutions for more efficient and powerful medical imaging systems, and attempts to establish a bridge between clinicians and researchers from these diverse fields. The proposed Workshop will cover topics related with medical imaging systems, such as: image acquisition, signal processing, image processing and analysis, modelling and simulation, computer aided diagnosis, surgery, therapy, and treatment, computational bioimaging and visualization, software development, virtual reality and telemedicine systems and their applications. Due to your research activities in the field, we would like to invite you to submit a contributed paper. Your contribution is mostly welcomed and we would be honoured if you could participate in EUROMEDIA 2008. DEADLINE FOR PAPERS SUBMISSION: February 5, 2008 SCIENTIFIC COMMITTEE: Alberto De Santis, Universit=E0 degli Studi di Roma "La Sapienza", Italy Ana Mafalda Reis, Instituto de Ci=EAncias Biom=E9dicas Abel Salazar, Portugal Arrate Mu=F1oz Barrutia, University of Navarra, Spain Behnam Heidari, University College Dublin, Ireland Bernard Gosselin, Faculte Polytechnique de Mons, Belgium Chandrajit Bajaj, University of Texas, USA Christos E. Constantinou, Stanford University School of Medicine, USA Daniela Iacoviello, Universit=E0 degli Studi di Roma "La Sapienza", = Italy Dinggang Shen, University of Pennsylvania, USA Djemel Ziou, University of Sherbrooke, Canada Gerald Schaefer, Aston University, UK Jo=E3o Krug Noronha, Dr. Krug Noronha Clinic, Portugal Jo=E3o Manuel R. S. Tavares, Faculty of Engineering of University of Porto, Portugal Jo=E3o Paulo Costeira, Instituto Superior T=E9cnico, Portugal Jorge M. G. Barbosa, Faculty of Engineering of University of Porto, Portugal Lyuba Alboul, Sheffield Hallam University, UK Manuel Gonz=E1lez Hidalgo, Balearic Islands University, Spain Maria Elizete Kunkel, Universit=E4t Ulm, Germany M=E1rio Forjaz Secca, Universidade Nova de Lisboa, Portugal Miguel Angel L=F3pez, Faculty University of Ciego de Avila, Cuba Miguel Velhote Correia, Faculty of Engineering of University of Porto, Portugal Patrick Dubois, Institut de Technologie M=E9dicale, France Reneta Barneva, State University of New York, USA Renato M. Natal Jorge, Faculty of Engineering of University of Porto, Portugal Sabina Tangaro, University of Bari, Italy Valentin Brimkov, State University of New York, USA Yongjie Zhan, Carnegie Mellon University, USA For further details please see the conference website at: http://www.eurosis.org/cms/index.php?q=3Dnode/461 We are looking forward to see you in Porto next April. Kind regards, Jo=E3o Manuel R. S. Tavares University of Porto ta...@fe... www.fe.up.pt/~tavares 1 =20 =20 |
|
From: <ta...@fe...> - 2008-01-27 16:49:49
|
------------------------------------------------------------------------ -------------------------------------------------------- (Apologies for cross-posting) Workshop =93Medical Imaging Systems=94 within EUROSIS EUROMEDIA 2008 April 9-11, 2008, University of Porto, Porto, Portugal http://www.eurosis.org/cms/index.php?q=3Dnode/461 We would appreciate if you could distribute this information by your colleagues and co-workers. ------------------------------------------------------------------------ -------------------------------------------------------- Dear Colleague, In recent years, extensive research has been performed to develop more and more efficient and powerful medical imaging systems. Such systems are crucial for medical specialists, allowing a deeper analysis and to understand what is going inside the human body, and therefore they play an essential role for adequate medical diagnosis and treatments. To accomplish efficient and powerful medical imaging systems, many research works have being done in many domains, like the ones related with medical image devices, signal processing, image processing and analysis, biomechanical simulation and data visualization. The main goal of the Workshop =93Medical Imaging Systems=94 is to bring together researchers involved in the related domains, in order to set the major lines of development for the near future. Therefore, the proposed Workshop will consist of researchers representing various fields related to Medical Devices, Signal Processing, Computational Vision, Computer Graphics, Computational Mechanics, Scientific Visualization, Mathematics and Medical Imaging. The Workshop endeavours to contribute to obtain better solutions for more efficient and powerful medical imaging systems, and attempts to establish a bridge between clinicians and researchers from these diverse fields. The proposed Workshop will cover topics related with medical imaging systems, such as: image acquisition, signal processing, image processing and analysis, modelling and simulation, computer aided diagnosis, surgery, therapy, and treatment, computational bioimaging and visualization, software development, virtual reality and telemedicine systems and their applications. Due to your research activities in the field, we would like to invite you to submit a contributed paper. Your contribution is mostly welcomed and we would be honoured if you could participate in EUROMEDIA 2008. DEADLINE FOR PAPERS SUBMISSION: February 5, 2008 SCIENTIFIC COMMITTEE: Alberto De Santis, Universit=E0 degli Studi di Roma "La Sapienza", Italy Ana Mafalda Reis, Instituto de Ci=EAncias Biom=E9dicas Abel Salazar, Portugal Arrate Mu=F1oz Barrutia, University of Navarra, Spain Behnam Heidari, University College Dublin, Ireland Bernard Gosselin, Faculte Polytechnique de Mons, Belgium Chandrajit Bajaj, University of Texas, USA Christos E. Constantinou, Stanford University School of Medicine, USA Daniela Iacoviello, Universit=E0 degli Studi di Roma "La Sapienza", = Italy Dinggang Shen, University of Pennsylvania, USA Djemel Ziou, University of Sherbrooke, Canada Gerald Schaefer, Aston University, UK Jo=E3o Krug Noronha, Dr. Krug Noronha Clinic, Portugal Jo=E3o Manuel R. S. Tavares, Faculty of Engineering of University of Porto, Portugal Jo=E3o Paulo Costeira, Instituto Superior T=E9cnico, Portugal Jorge M. G. Barbosa, Faculty of Engineering of University of Porto, Portugal Lyuba Alboul, Sheffield Hallam University, UK Manuel Gonz=E1lez Hidalgo, Balearic Islands University, Spain Maria Elizete Kunkel, Universit=E4t Ulm, Germany M=E1rio Forjaz Secca, Universidade Nova de Lisboa, Portugal Miguel Angel L=F3pez, Faculty University of Ciego de Avila, Cuba Miguel Velhote Correia, Faculty of Engineering of University of Porto, Portugal Patrick Dubois, Institut de Technologie M=E9dicale, France Reneta Barneva, State University of New York, USA Renato M. Natal Jorge, Faculty of Engineering of University of Porto, Portugal Sabina Tangaro, University of Bari, Italy Valentin Brimkov, State University of New York, USA Yongjie Zhan, Carnegie Mellon University, USA For further details please see the conference website at: http://www.eurosis.org/cms/index.php?q=3Dnode/461 We are looking forward to see you in Porto next April. Kind regards, Jo=E3o Manuel R. S. Tavares University of Porto ta...@fe... www.fe.up.pt/~tavares 1 =20 =20 |
|
From: Jessica C. <jes...@gm...> - 2008-01-24 20:32:25
|
I have a sample code about registry. It is not the function what u wanted.
But hope, it can still help you to understand the registry.
// QueryKey - Enumerates the subkeys of key and its associated values.
// hKey - Key whose subkeys and values are to be enumerated.
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383
void QueryKey(HKEY hKey)
{
TCHAR achKey[MAX_KEY_LENGTH]; // buffer for subkey name
DWORD cbName; // size of name string
TCHAR achClass[MAX_PATH] = TEXT(""); // buffer for class name
DWORD cchClassName = MAX_PATH; // size of class string
DWORD cSubKeys=0; // number of subkeys
DWORD cbMaxSubKey; // longest subkey size
DWORD cchMaxClass; // longest class string
DWORD cValues; // number of values for key
DWORD cchMaxValue; // longest value name
DWORD cbMaxValueData; // longest value data
DWORD cbSecurityDescriptor; // size of security descriptor
FILETIME ftLastWriteTime; // last write time
DWORD i, retCode;
TCHAR achValue[MAX_VALUE_NAME];
DWORD cchValue = MAX_VALUE_NAME;
// Get the class name and the value count.
retCode = RegQueryInfoKey(
hKey, // key handle
achClass, // buffer for class name
&cchClassName, // size of class string
NULL, // reserved
&cSubKeys, // number of subkeys
&cbMaxSubKey, // longest subkey size
&cchMaxClass, // longest class string
&cValues, // number of values for this key
&cchMaxValue, // longest value name
&cbMaxValueData, // longest value data
&cbSecurityDescriptor, // security descriptor
&ftLastWriteTime); // last write time
// Enumerate the subkeys, until RegEnumKeyEx fails.
if (cSubKeys)
{
printf( "\nNumber of subkeys: %d\n", cSubKeys);
for (i=0; i<cSubKeys; i++)
{
cbName = MAX_KEY_LENGTH;
retCode = RegEnumKeyEx(hKey, i,
achKey,
&cbName,
NULL,
NULL,
NULL,
&ftLastWriteTime);
if (retCode == ERROR_SUCCESS)
{
_tprintf(TEXT("(%d) %s\n"), i+1, achKey);
}
}
}
// Enumerate the key values.
if (cValues)
{
printf( "\nNumber of values: %d\n", cValues);
for (i=0, retCode=ERROR_SUCCESS; i<cValues; i++)
{
cchValue = MAX_VALUE_NAME;
achValue[0] = '\0';
retCode = RegEnumValue(hKey, i,
achValue,
&cchValue,
NULL,
NULL,
NULL,
NULL);
if (retCode == ERROR_SUCCESS )
{
_tprintf(TEXT("(%d) %s\n"), i+1, achValue);
}
}
}
}
int _tmain(void)
{
HKEY hTestKey;
if( RegOpenKeyEx( HKEY_CURRENT_USER,
TEXT("SOFTWARE\\Microsoft"),
0,
KEY_READ,
&hTestKey) == ERROR_SUCCESS
)
{
QueryKey(hTestKey);
}
return 0;
}
On Jan 24, 2008 12:40 PM, Ben Melikant <ili...@at...>
wrote:
> Hello all. I recently looked up usage of registry functions to use the
> Windows registry to automatically start a program. I decided to make
> some test applications to practice using them. This is the code I have
> to get the default value of registry key HKEY_LOCAL_MACHINE:
>
> #include <windows.h>
> #include <iostream>
>
> using namespace std;
>
> int main ()
> {
> LPDWORD retType;
> LPBYTE retDat;
>
> RegQueryValueEx (HKEY_LOCAL_MACHINE,
> "",
> NULL,
> retType,
> retDat,
> 20);
>
> cout << retType;
> cout << retDat;
>
> return 0;
> }
>
> This program compiles fine, but when i run it windows terminates it with
> an error message. If anyone would like to see the error message, i can
> get it. If anyone can possibly come up with an explanation as to why I'm
> coming up with a system error, please help!
>
> -------------------------------------------------------------------------
> 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: Per W. <pw...@ia...> - 2008-01-24 17:43:18
|
One installation packet only contain the IDE. This packet is intended for people who already have the MinGW tools. The other installation packet contains both gcc and the IDE. It sounds like you have installed the version without any compiler. /pwm On Fri, 25 Jan 2008, Eric wrote: > When I installed the program version 4.9...... it some GNU was not in the > path satement > > > And you get it, my code will not compile. > I tried something in the autoexec.bat file but then my computer win98se > would not reboat and that caused a bit drama > > > (1) I had a look in program folder and could not see any > read-me-get-it-working.txt files > (2) I had a look in the help files and there was no help on "PATH" > > I wonder what sun netbeans is likem I will have to go back to windows XP? > > > > > > > ------------------------------------------------------------------------- > 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: Ben M. <ili...@at...> - 2008-01-24 17:38:01
|
Hello all. I recently looked up usage of registry functions to use the
Windows registry to automatically start a program. I decided to make
some test applications to practice using them. This is the code I have
to get the default value of registry key HKEY_LOCAL_MACHINE:
#include <windows.h>
#include <iostream>
using namespace std;
int main ()
{
LPDWORD retType;
LPBYTE retDat;
RegQueryValueEx (HKEY_LOCAL_MACHINE,
"",
NULL,
retType,
retDat,
20);
cout << retType;
cout << retDat;
return 0;
}
This program compiles fine, but when i run it windows terminates it with
an error message. If anyone would like to see the error message, i can
get it. If anyone can possibly come up with an explanation as to why I'm
coming up with a system error, please help!
|
|
From: Eric <eri...@wo...> - 2008-01-24 17:27:40
|
When I installed the program version 4.9...... it some GNU was not in the path satement And you get it, my code will not compile. I tried something in the autoexec.bat file but then my computer win98se would not reboat and that caused a bit drama (1) I had a look in program folder and could not see any read-me-get-it-working.txt files (2) I had a look in the help files and there was no help on "PATH" I wonder what sun netbeans is likem I will have to go back to windows XP? |
|
From: Jessica C. <jes...@gm...> - 2008-01-23 22:39:32
|
1. I added the files into project. Those files are from different folders. Now the dev-cpp can only display the name of files. Is there any setting can let it show folders and files in their levels. 2. I compiled my code under "console", and got *.exe file. When I click the application file *.exe, it give me the GUI and that console (which looks like Dos window) quickly. But when I run the application file *.exe on my colleague's computer, it seems the GUI came out much later than the console window. And I can see that in the console window, the programs running well, just the GUI window came out too late (around after 5-10 seconds). What is the problem? The problem from (1) my code itself (2) dev-cpp tools (3) computer configuration? My computer and my colleague's computer both use: Microsoft Windows XP Professional My colleague's computer:Processor 1.80GHz; 1.79GHz, 1.25 GB of RAM Mine: Processor Pentium CPU 3.40GHz; 3.39 GHz, 0.98 GB of RAM |
|
From: shan c. <sha...@ya...> - 2008-01-22 14:18:26
|
I am a newbie to "windows programming environment in c++",I have to make an on-screen keyboard.
I dont know how to do draw the exact layout of keyboard in Visual C++.
Any help?
hey man go rocking
---------------------------------
Save all your chat conversations. Find them online. |
|
From: Wobien <roo...@pl...> - 2008-01-21 15:38:13
|
ver 1.0 of Code::Blocks is a very old version. In the forum Nightly builds you will find the more recent versions and an instruction how to install it. (they bring out a new one every few days) regards, wobien ----- Original Message ----- From: "Meyrambek Japarov" <mey...@ya...> To: "Wobien Doyer" <wo...@pl...> Sent: Monday, January 21, 2008 11:16 AM Subject: Re: [Dev-C++] Debugging and watch >I download codeblock ver 1.0 release candiadate 2 > it shows watch variable but it doesn't debug. (going > step by step) > when i press f8 it reads input and automtically > clculates the result without stop, and so it doesn't > show the result in watch variables. > > may be i must change in smt in settings. > > --- Wobien Doyer <wo...@pl...> wrote: > >> For me debugging in Dev-C++ never worked very well. >> I now downloaded and use Code::Blocks, and debugging >> works fine. >> Look on www.codeblocks.org, go to the forums and >> look in the forum Nightly >> builds. >> >> ----- Original Message ----- >> From: "Meyrambek Japarov" <mey...@ya...> >> To: <dev...@li...> >> Sent: Sunday, January 20, 2008 3:02 PM >> Subject: [Dev-C++] Debugging and watch >> >> >> > Hi all >> > >> > I want to debug and use watch. >> > But dev cpp is not showing watch. >> > What i must do? >> > >> > >> > >> > --- dev...@li... >> wrote: >> > >> >> Send Dev-cpp-users mailing list submissions to >> >> dev...@li... >> >> >> >> To subscribe or unsubscribe via the World Wide >> Web, >> >> visit >> >> >> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> or, via email, send a message with subject or >> body >> >> 'help' to >> >> dev...@li... >> >> >> >> You can reach the person managing the list at >> >> dev...@li... >> >> >> >> When replying, please edit your Subject line so >> it >> >> is more specific >> >> than "Re: Contents of Dev-cpp-users digest..." >> >> >> >> >> >> Today's Topics: >> >> >> >> 1. Translation (Szentpali Janos) >> >> 2. Re: Translation (Wobien) >> >> 3. Re: Translation (Szentpali Janos) >> >> 4. read registry (com1, com7) problem (Jessica >> >> Chen) >> >> 5. how to display the bitmap in win32 opengl? >> >> (Jessica Chen) >> >> 6. Using the serial and the parallel Port of >> the >> >> Computer >> >> (Abhijeet mishra) >> >> 7. Please forward me Some links (using the >> serial >> >> and par port ) >> >> (Abhijeet mishra) >> >> >> >> >> >> >> > >> > ---------------------------------------------------------------------- >> >> >> >> Message: 1 >> >> Date: Mon, 07 Jan 2008 19:32:02 +0200 >> >> From: Szentpali Janos <ia...@ea...> >> >> Subject: [Dev-C++] Translation >> >> To: dev...@li... >> >> Message-ID: <478...@ea...> >> >> Content-Type: text/plain; charset=ISO-8859-2; >> >> format=flowed >> >> >> >> Hi, >> >> >> >> I am very new to C++. I only did VB >> programming... >> >> mostly. I am having >> >> some trouble with some C++ code. Could someone >> help >> >> me understand what >> >> the following means: >> >> >> >> --- start --- >> >> >> >> typedef DWORD(*FUNCPTR)(BYTE); >> >> >> >> DWORD ulWorkRandomNum; >> >> char *arr; >> >> int nIndex; >> >> >> >> ... >> >> >> >> arr [2 * nIndex] = 'A' + (((char *) >> &ulRandomNum) >> >> [nIndex] & 0x0f); >> >> >> >> --- end --- >> >> >> >> I am having trouble with "translating" >> >> (understanding) the >> >> >> >> ((char *) &ulRandomNum) [nIndex] >> >> >> >> part. I mean [nIndex] referes to the elemnt of >> which >> >> array :O >> >> >> >> -- >> >> Szentp?li J?nos >> >> >> >> >> >> >> >> >> >> ------------------------------ >> >> >> >> Message: 2 >> >> Date: Mon, 7 Jan 2008 23:07:00 +0100 >> >> From: "Wobien" <roo...@pl...> >> >> Subject: Re: [Dev-C++] Translation >> >> To: "Szentpali Janos" <ia...@ea...>, >> >> <dev...@li...> >> >> Message-ID: <000301c85179$a07d2d70$9700000a@dell> >> >> Content-Type: text/plain; format=flowed; >> >> charset="iso-8859-2"; >> >> reply-type=original >> >> >> >> &ulRandomNum is the adress of ulRandomNum (You >> don't >> >> give us the definition >> >> of it, so don't know what it is) >> >> (char *) is a cast. It makes the adress of >> >> ulRandomNum be read as a char >> >> array. So ((char *) &ulRandomNum) [nIndex] >> >> will give you a byte of the binary code of >> >> ulRandomNum. >> >> Wobien >> >> >> >> ----- Original Message ----- >> >> From: "Szentpali Janos" <ia...@ea...> >> >> To: <dev...@li...> >> >> Sent: Monday, January 07, 2008 6:32 PM >> >> Subject: [Dev-C++] Translation >> >> >> >> >> >> Hi, >> >> >> >> I am very new to C++. I only did VB >> programming... >> >> mostly. I am having >> >> some trouble with some C++ code. Could someone >> help >> >> me understand what >> >> the following means: >> >> >> >> --- start --- >> >> >> >> typedef DWORD(*FUNCPTR)(BYTE); >> >> >> >> DWORD ulWorkRandomNum; >> >> char *arr; >> >> int nIndex; >> >> >> >> ... >> >> >> >> arr [2 * nIndex] = 'A' + (((char *) >> &ulRandomNum) >> >> [nIndex] & 0x0f); >> >> >> >> --- end --- >> >> >> >> I am having trouble with "translating" >> >> (understanding) the >> >> >> >> ((char *) &ulRandomNum) [nIndex] >> >> >> >> part. I mean [nIndex] referes to the elemnt of >> which >> >> array :O >> >> >> >> -- >> >> Szentp?li J?nos >> >> >> >> >> >> >> > >> > ------------------------------------------------------------------------- >> >> Check out the new SourceForge.net Marketplace. >> >> It's the best place to buy or sell services for >> >> just about anything Open Source. >> >> >> > >> > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> > === message truncated === > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > |
|
From: shan c. <sha...@ya...> - 2008-01-20 16:46:09
|
Use F8 to debug and F7 to watch execution per line.In the left side Project/class browser right click and select "add watch" enter the variable name in the pop window and click OK add as much as variable your program has. Happy Debugging!!!! Meyrambek Japarov <mey...@ya...> wrote: Hi all I want to debug and use watch. But dev cpp is not showing watch. What i must do? --- dev...@li... wrote: > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body > 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Translation (Szentpali Janos) > 2. Re: Translation (Wobien) > 3. Re: Translation (Szentpali Janos) > 4. read registry (com1, com7) problem (Jessica > Chen) > 5. how to display the bitmap in win32 opengl? > (Jessica Chen) > 6. Using the serial and the parallel Port of the > Computer > (Abhijeet mishra) > 7. Please forward me Some links (using the serial > and par port ) > (Abhijeet mishra) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 07 Jan 2008 19:32:02 +0200 > From: Szentpali Janos > Subject: [Dev-C++] Translation > To: dev...@li... > Message-ID: <478...@ea...> > Content-Type: text/plain; charset=ISO-8859-2; > format=flowed > > Hi, > > I am very new to C++. I only did VB programming... > mostly. I am having > some trouble with some C++ code. Could someone help > me understand what > the following means: > > --- start --- > > typedef DWORD(*FUNCPTR)(BYTE); > > DWORD ulWorkRandomNum; > char *arr; > int nIndex; > > ... > > arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) > [nIndex] & 0x0f); > > --- end --- > > I am having trouble with "translating" > (understanding) the > > ((char *) &ulRandomNum) [nIndex] > > part. I mean [nIndex] referes to the elemnt of which > array :O > > -- > Szentp?li J?nos > > > > > ------------------------------ > > Message: 2 > Date: Mon, 7 Jan 2008 23:07:00 +0100 > From: "Wobien" > Subject: Re: [Dev-C++] Translation > To: "Szentpali Janos" , > > Message-ID: <000301c85179$a07d2d70$9700000a@dell> > Content-Type: text/plain; format=flowed; > charset="iso-8859-2"; > reply-type=original > > &ulRandomNum is the adress of ulRandomNum (You don't > give us the definition > of it, so don't know what it is) > (char *) is a cast. It makes the adress of > ulRandomNum be read as a char > array. So ((char *) &ulRandomNum) [nIndex] > will give you a byte of the binary code of > ulRandomNum. > Wobien > > ----- Original Message ----- > From: "Szentpali Janos" > To: > Sent: Monday, January 07, 2008 6:32 PM > Subject: [Dev-C++] Translation > > > Hi, > > I am very new to C++. I only did VB programming... > mostly. I am having > some trouble with some C++ code. Could someone help > me understand what > the following means: > > --- start --- > > typedef DWORD(*FUNCPTR)(BYTE); > > DWORD ulWorkRandomNum; > char *arr; > int nIndex; > > ... > > arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) > [nIndex] & 0x0f); > > --- end --- > > I am having trouble with "translating" > (understanding) the > > ((char *) &ulRandomNum) [nIndex] > > part. I mean [nIndex] referes to the elemnt of which > array :O > > -- > Szentp?li J?nos > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > 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 > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 08 Jan 2008 00:24:17 +0200 > From: Szentpali Janos > Subject: Re: [Dev-C++] Translation > To: Wobien , > dev...@li... > Message-ID: <478...@ea...> > Content-Type: text/plain; charset=ISO-8859-2; > format=flowed > > Wobien ?rta: > > &ulRandomNum is the adress of ulRandomNum (You > don't give us the > > definition of it, so don't know what it is) > > (char *) is a cast. It makes the adress of > ulRandomNum be read as a > > char array. So ((char *) &ulRandomNum) [nIndex] > > will give you a byte of the binary code of > ulRandomNum. > > Wobien > > > > ----- Original Message ----- From: "Szentpali > Janos" > > To: > > Sent: Monday, January 07, 2008 6:32 PM > > Subject: [Dev-C++] Translation > > > > > > Hi, > > > > I am very new to C++. I only did VB programming... > mostly. I am having > > some trouble with some C++ code. Could someone > help me understand what > === message truncated === ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ------------------------------------------------------------------------- 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 --------------------------------- Now you can chat without downloading messenger. Click here to know how. |
|
From: Meyrambek J. <mey...@ya...> - 2008-01-20 14:02:17
|
Hi all I want to debug and use watch. But dev cpp is not showing watch. What i must do? --- dev...@li... wrote: > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body > 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Translation (Szentpali Janos) > 2. Re: Translation (Wobien) > 3. Re: Translation (Szentpali Janos) > 4. read registry (com1, com7) problem (Jessica > Chen) > 5. how to display the bitmap in win32 opengl? > (Jessica Chen) > 6. Using the serial and the parallel Port of the > Computer > (Abhijeet mishra) > 7. Please forward me Some links (using the serial > and par port ) > (Abhijeet mishra) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 07 Jan 2008 19:32:02 +0200 > From: Szentpali Janos <ia...@ea...> > Subject: [Dev-C++] Translation > To: dev...@li... > Message-ID: <478...@ea...> > Content-Type: text/plain; charset=ISO-8859-2; > format=flowed > > Hi, > > I am very new to C++. I only did VB programming... > mostly. I am having > some trouble with some C++ code. Could someone help > me understand what > the following means: > > --- start --- > > typedef DWORD(*FUNCPTR)(BYTE); > > DWORD ulWorkRandomNum; > char *arr; > int nIndex; > > ... > > arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) > [nIndex] & 0x0f); > > --- end --- > > I am having trouble with "translating" > (understanding) the > > ((char *) &ulRandomNum) [nIndex] > > part. I mean [nIndex] referes to the elemnt of which > array :O > > -- > Szentp?li J?nos > > > > > ------------------------------ > > Message: 2 > Date: Mon, 7 Jan 2008 23:07:00 +0100 > From: "Wobien" <roo...@pl...> > Subject: Re: [Dev-C++] Translation > To: "Szentpali Janos" <ia...@ea...>, > <dev...@li...> > Message-ID: <000301c85179$a07d2d70$9700000a@dell> > Content-Type: text/plain; format=flowed; > charset="iso-8859-2"; > reply-type=original > > &ulRandomNum is the adress of ulRandomNum (You don't > give us the definition > of it, so don't know what it is) > (char *) is a cast. It makes the adress of > ulRandomNum be read as a char > array. So ((char *) &ulRandomNum) [nIndex] > will give you a byte of the binary code of > ulRandomNum. > Wobien > > ----- Original Message ----- > From: "Szentpali Janos" <ia...@ea...> > To: <dev...@li...> > Sent: Monday, January 07, 2008 6:32 PM > Subject: [Dev-C++] Translation > > > Hi, > > I am very new to C++. I only did VB programming... > mostly. I am having > some trouble with some C++ code. Could someone help > me understand what > the following means: > > --- start --- > > typedef DWORD(*FUNCPTR)(BYTE); > > DWORD ulWorkRandomNum; > char *arr; > int nIndex; > > ... > > arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) > [nIndex] & 0x0f); > > --- end --- > > I am having trouble with "translating" > (understanding) the > > ((char *) &ulRandomNum) [nIndex] > > part. I mean [nIndex] referes to the elemnt of which > array :O > > -- > Szentp?li J?nos > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > 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 > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 08 Jan 2008 00:24:17 +0200 > From: Szentpali Janos <ia...@ea...> > Subject: Re: [Dev-C++] Translation > To: Wobien <roo...@pl...>, > dev...@li... > Message-ID: <478...@ea...> > Content-Type: text/plain; charset=ISO-8859-2; > format=flowed > > Wobien ?rta: > > &ulRandomNum is the adress of ulRandomNum (You > don't give us the > > definition of it, so don't know what it is) > > (char *) is a cast. It makes the adress of > ulRandomNum be read as a > > char array. So ((char *) &ulRandomNum) [nIndex] > > will give you a byte of the binary code of > ulRandomNum. > > Wobien > > > > ----- Original Message ----- From: "Szentpali > Janos" <ia...@ea...> > > To: <dev...@li...> > > Sent: Monday, January 07, 2008 6:32 PM > > Subject: [Dev-C++] Translation > > > > > > Hi, > > > > I am very new to C++. I only did VB programming... > mostly. I am having > > some trouble with some C++ code. Could someone > help me understand what > === message truncated === ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
|
From: shan c. <sha...@ya...> - 2008-01-19 06:38:21
|
Hey dude there were lots of bugs in your code,I assume that they were just copying error so I am correcting only the logical error in your code.
First of all sine and cosine takes radians as its parameter so "20" which you were thinking as degree code took it as radian so proper conversion is needed.
here is my code:
#include<cmath>
#include<iostream>
#define PI 3.1415926535
using namespace std;
int main()
{
double temp1;
double temp2;
double angle;
cout<<"Enter the angles in degrees";
cin>>angle;
angle=(angle*PI)/180;//In c++ sine and cosine functions takes parameters in radians.
//So we convert angles to radians.
temp1 = cos(angle);//Calculates cos of angle.
temp2 = sin(angle);//Calculates sine of angle
cout <<endl<<"cosine of"<<angle*180/PI<<":"<<temp1;
cout<<endl<<"sine of"<<angle*180/PI<<":"<<temp2;
cin.get();
return 1;
}
I compiled in dev c++.This link might be helpful to u:
http://www.macs.hw.ac.uk/~pjbk/pathways/cpp1/node121.html#ex.sin.table
I think you are a novice in c++,i am not an expert though but I can be of your help.
Plz feel free to contact me for any help.
Brad Woosley <c_b...@ya...> wrote: I attempted to make a program that will use the sine and cosine of a number, but is seams that the #s were switched. Can anyone tell me if I did something wrong. Bellow is the code relevant to this.
#include <cmath>
I also tried using #include <math.h> but it did the same thing
double temp1;
double temp2
double angle
temp1 = cos(angle);
temp2 = sin(angle);
cout << temp1 << " " << temp 2;
I run it and I get for an angle of 20
cosine = 0,408082
sine = 0.912954
I plug it into a calculator and I get for the same angle
cosine = .939692
sine = 0.342020
_______
visit utb.zoomshare.com to read my different stories that I have written.
"If at first the idea is not absurd, there is no hope for it"
-Albert Einstein
---------------------------------
Never miss a thing. Make Yahoo your homepage. -------------------------------------------------------------------------
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
---------------------------------
Get the freedom to save as many mails as you wish. Click here to know how. |
|
From: Brad W. <c_b...@ya...> - 2008-01-19 03:08:06
|
I attempted to make a program that will use the sine and cosine of a number, but is seams that the #s were switched. Can anyone tell me if I did something wrong. Bellow is the code relevant to this. #include <cmath> I also tried using #include <math.h> but it did the same thing double temp1; double temp2 double angle temp1 = cos(angle); temp2 = sin(angle); cout << temp1 << " " << temp 2; I run it and I get for an angle of 20 cosine = 0,408082 sine = 0.912954 I plug it into a calculator and I get for the same angle cosine = .939692 sine = 0.342020 _______ visit utb.zoomshare.com to read my different stories that I have written. "If at first the idea is not absurd, there is no hope for it" -Albert Einstein --------------------------------- Never miss a thing. Make Yahoo your homepage. |
|
From: rodolfo d'E. <rod...@ho...> - 2008-01-18 10:56:17
|
Hi, This link is very nice: http://www.tetraedre.com/advanced/serial.php Enjoy Rodolfo d'Ettorre ps. It is 10:00pm, I am still awake ....... not for long. > Date: Fri, 18 Jan 2008 16:27:10 +0530 > From: pr...@pr... > To: its...@ya... > CC: dev...@li... > Subject: Re: [Dev-C++] Please help > > Abhijeet, > > Most people who respond to such requests would be asleep at this hour. I > suggest you hold your horses till tomorrow at least. > > Stating the obvious here, but doesn't Google throw up relevant links? Or > websites like CodeProject? > > Regards > .pranav > www.pranavnegandhi.com > > Abhijeet mishra wrote: >> Menbers please send some links or tell me where to find the informaiton >> regardig using the serial and the parport of the computer using devc++ >> so that i do not ask you for silly things please do it as soon as >> pssible..!!!! >> >> ------------------------------------------------------------------------ >> Now you can chat without downloading messenger. Click here >>=20 >> to know how. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------= - >> 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 > > ------------------------------------------------------------------------- > 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 _________________________________________________________________ Your Future Starts Here. Dream it? Then be it! Find it at www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=3Dhttps%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttp%2Fninemsn%2Eseek%2Ecom%2Eau= %2F%3Ftracking%3Dsk%3Ahet%3Ask%3Anine%3A0%3Ahot%3Atext&_t=3D764565661&_r=3D= OCT07_endtext_Future&_m=3DEXT= |
|
From: Pranav N. <pr...@pr...> - 2008-01-18 10:51:59
|
Abhijeet, Most people who respond to such requests would be asleep at this hour. I suggest you hold your horses till tomorrow at least. Stating the obvious here, but doesn't Google throw up relevant links? Or websites like CodeProject? Regards .pranav www.pranavnegandhi.com Abhijeet mishra wrote: > Menbers please send some links or tell me where to find the informaiton > regardig using the serial and the parport of the computer using devc++ > so that i do not ask you for silly things please do it as soon as > pssible..!!!! > > ------------------------------------------------------------------------ > Now you can chat without downloading messenger. Click here > <http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.php> > to know how. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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: Abhijeet m. <its...@ya...> - 2008-01-18 10:04:48
|
Menbers please send some links or tell me where to find the informaiton regardig using the serial and the parport of the computer using devc++ so that i do not ask you for silly things please do it as soon as pssible..!!!!
---------------------------------
Now you can chat without downloading messenger. Click here to know how. |
|
From: Abhijeet m. <its...@ya...> - 2008-01-18 08:58:22
|
Dear Members please forward soem links regarding the usage of serila and the parallel ports of the computer so that i Become self equipped and do not ask the mailing list for silly things..!!!
---------------------------------
Save all your chat conversations. Find them online. |
|
From: Abhijeet m. <its...@ya...> - 2008-01-18 08:43:11
|
Dear Members,
Please help me out how to use the serial and the parallel ports of the computer and if possible forward the link of the same to me
Thanks in Advance
---------------------------------
Bollywood, fun, friendship, sports and more. You name it, we have it. |
|
From: Jessica C. <jes...@gm...> - 2008-01-17 22:22:18
|
bitmap2.zip display a bitmap correctly. but opengl_win32.zip cannot display the same bitmap. why? how to correct it in opengl_win32.zip the link about this question is at: http://www.codeguru.com/forum/showthread.php?p=1674243#post1674243 anyone can help me? thanks. |
|
From: Jessica C. <jes...@gm...> - 2008-01-09 17:37:52
|
Ly8gY29kZSBmb3JtIGplc3NpY2ENCg0KI2luY2x1ZGUgPHdpbmRvd3MuaD4NCiNpbmNsdWRlIDxz dGRpby5oPg0KI2luY2x1ZGUgPHRjaGFyLmg+DQojZGVmaW5lIElEQ19DT01CT0JPWF9URVhUIDEw MDENCg0KDQpjb25zdCBjaGFyIENsYXNzTmFtZVtdID0gIk1haW5XaW5kb3dDbGFzcyI7DQpIV05E IGhXbmRDb21ib0JveDsNCmNoYXIgKnN0clNlcmlhbExpc3RbMjBdOyAgIC8vIDIwIHNlcmlhbCBj b20gcG9ydCBjYW4gYmUgYWNjZXB0ZWQuDQoNCmludCBFbnVtQ29tbU5hbWVzKHZvaWQpDQp7DQog ICAgaW50IG51bU9mQ29tbSA9IDA7DQoNCiAgICBMT05HIFN0YXR1czsNCiAgICANCiAgICBIS0VZ ICBoS2V5Ow0KICAgIERXT1JEIGR3SW5kZXggPSAwOw0KICAgIENIQVIgIE5hbWVbNDhdOw0KICAg IERXT1JEIHN6TmFtZTsNCiAgICBVQ0hBUiBQb3J0TmFtZVs0OF07DQogICAgRFdPUkQgc3pQb3J0 TmFtZTsNCiAgICBEV09SRCBUeXBlOw0KICAgIA0KICAgIGZvciAoaW50IHo9MDsgejw9MjA7IHor KykNCiAgICAgICAgc3RyU2VyaWFsTGlzdFt6XSA9IChjaGFyKiltYWxsb2MoMTI4KnNpemVvZihj aGFyKSk7DQoNCiAgICBpZiggUmVnT3BlbktleUV4KEhLRVlfTE9DQUxfTUFDSElORSwNCiAgICAg ICAgICAgICAgICAgICAgIFRFWFQoIkhBUkRXQVJFXFxERVZJQ0VNQVBcXFNFUklBTENPTU0iKSwN CiAgICAgICAgICAgICAgICAgICAgIDAsDQogICAgICAgICAgICAgICAgICAgICBLRVlfUkVBRCwN CiAgICAgICAgICAgICAgICAgICAgICZoS2V5KSAhPSBFUlJPUl9TVUNDRVNTKQ0KICAgIHJldHVy biAtMTsNCg0KICAgIGRvDQogICAgeyANCiAgICAgICBzek5hbWUgPSBzaXplb2YoTmFtZSk7DQog ICAgICAgc3pQb3J0TmFtZSA9IHNpemVvZihQb3J0TmFtZSk7ICAgICANCiAgICAgICANCiAgICAg ICBTdGF0dXMgPSBSZWdFbnVtVmFsdWUoaEtleSwgDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGR3SW5kZXgrKywgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIE5hbWUsIA0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAmc3pOYW1lLCANCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgTlVMTCwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICZUeXBlLA0KCSAg ICAgICAgICAgICAgICAgICAgICAgICBQb3J0TmFtZSwgDQogICAgICAgICAgICAgICAgICAgICAg ICAgICAgICZzelBvcnROYW1lKTsNCiAgICAgICANCiAgICAgICBpZigoU3RhdHVzID09IEVSUk9S X1NVQ0NFU1MpICkNCgkgICB7DQogICAgICAgICAgc3RyY3B5KHN0clNlcmlhbExpc3RbbnVtT2ZD b21tXSwoY2hhciopUG9ydE5hbWUpOw0KICAgICAgICAgIC8vc3RyU2VyaWFsTGlzdFtpXSA9IHN0 cmR1cCgoY2hhciopIFBvcnROYW1lKTsNCgkgICAgICBudW1PZkNvbW0rKzsNCgkgICB9DQogICAg fSB3aGlsZSgoU3RhdHVzID09IEVSUk9SX1NVQ0NFU1MpICk7DQogICAgDQogICAgUmVnQ2xvc2VL ZXkoaEtleSk7DQogICAgDQogICAgcmV0dXJuIG51bU9mQ29tbTsgICAgDQp9DQoNCg0KTFJFU1VM VCBDQUxMQkFDSyBXbmRQcm9jKCBIV05EICAgIGhXbmQsDQogICAgICAgICAgICAgICAgICAgICAg ICAgIFVJTlQgICAgTXNnLA0KICAgICAgICAgICAgICAgICAgICAgICAgICBXUEFSQU0gIHdQYXJh bSwgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICAgIExQQVJBTSAgbFBhcmFtICkN CnsNCiAgICBpbnQgbnVtT2ZDb21tOw0KDQogICAgc3dpdGNoIChNc2cpDQogICAgew0KICAgICAg ICBjYXNlIFdNX0NSRUFURToNCiAgICAgICAgew0KICAgICAgICAgICAgaFduZENvbWJvQm94ID0g Q3JlYXRlV2luZG93KA0KICAgICAgICAgICAgIkNPTUJPQk9YIiwgDQogICAgICAgICAgICBOVUxM LCANCiAgICAgICAgICAgIFdTX1ZJU0lCTEUgfCBXU19DSElMRCB8IENCU19EUk9QRE9XTiB8IENC U19TT1JULCANCiAgICAgICAgICAgIDEwLCANCiAgICAgICAgICAgIDEwLCANCiAgICAgICAgICAg IDEwMCwgDQogICAgICAgICAgICA4MDAsIA0KICAgICAgICAgICAgaFduZCwgDQogICAgICAgICAg ICAoSE1FTlUpSURDX0NPTUJPQk9YX1RFWFQsIA0KICAgICAgICAgICAgKEhJTlNUQU5DRSlHZXRX aW5kb3dMb25nKGhXbmQsIEdXTF9ISU5TVEFOQ0UpLCANCiAgICAgICAgICAgIE5VTEwpOw0KDQog ICAgICAgICAgICBpZiAoIWhXbmRDb21ib0JveCkNCiAgICAgICAgICAgICAgICBNZXNzYWdlQm94 KE5VTEwsICJDb21ib0JveCBGYWlsZWQuIiwgIkVycm9yIiwgTUJfT0sgfCBNQl9JQ09ORVJST1Ip Ow0KICAgICAgICAgICANCiAgICAgICAgICAgIGlmIChFbnVtQ29tbU5hbWVzKCkgIT0gLTEpDQog ICAgICAgICAgICAgICBudW1PZkNvbW0gPSBFbnVtQ29tbU5hbWVzKCk7ICAgICAgICAgICANCiAg ICAgICAgICAgIA0KICAgICAgICAgICAgZm9yIChpbnQgaj0wO2o8bnVtT2ZDb21tO2orKykNCiAg ICAgICAgICAgICAgU2VuZE1lc3NhZ2UoR2V0RGxnSXRlbShoV25kLCBJRENfQ09NQk9CT1hfVEVY VCksIA0KICAgICAgICAgICAgICAgICAgICAgICAgICBDQl9BRERTVFJJTkcsIA0KICAgICAgICAg ICAgICAgICAgICAgICAgICAwLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgKExQQVJBTSlz dHJTZXJpYWxMaXN0W2pdKTsNCg0KICAgICAgICB9DQogICAgICAgIGJyZWFrOyANCg0KICAgICAg ICBjYXNlIFdNX0NPTU1BTkQ6DQogICAgICAgICAgICAgew0KICAgICAgICAgICAgIGNoYXIgKnJl c3VsdDsNCiAgICAgICAgICAgICByZXN1bHQgPSAoY2hhciopbWFsbG9jKDEwMCpzaXplb2YoY2hh cikpOyANCiAgICAgICAgICAgICANCiAgICAgICAgICAgICBpbnQgY29tbVNlbGVjdGVkOw0KICAg ICAgICAgICAgIA0KLy8gICAgICAgICAgIGlmIChISVdPUkQod1BhcmFtKSA9PSBCTl9DTElDS0VE KSB7DQovLyAgICAgICAgICAgICAgICBTZW5kTWVzc2FnZShoV25kQ29tYm9Cb3gsIENCX1NIT1dE Uk9QRE9XTiwgKFdQQVJBTSkgVFJVRSwgMCk7DQovLyAgICAgICAgICAgfQ0KICAgICAgICAgICAg IA0KICAgICAgICAgICBpZiAoIEhJV09SRCh3UGFyYW0pID09IENCTl9TRUxDSEFOR0UpIHsgICAg ICAgICAgICAgICANCiAgICAgICAgICAgICAgICBjb21tU2VsZWN0ZWQgPSBTZW5kTWVzc2FnZSho V25kQ29tYm9Cb3gsIENCX0dFVENVUlNFTCwgMCwgMCk7DQogICAgICAgICAgICAgICAgcHJpbnRm KCIlZFxuIixjb21tU2VsZWN0ZWQpOw0KICAgICAgICAgICAgICAgIFNlbmRNZXNzYWdlKGhXbmRD b21ib0JveCxDQl9HRVRMQlRFWFQsIGNvbW1TZWxlY3RlZCwoTFBBUkFNKXJlc3VsdCk7IA0KICAg ICAgICAgICAgICAgIC8vTWVzc2FnZUJveChoV25kLHJlc3VsdCwiRXJyb3IiLDApOw0KICAgICAg ICAgICAgICAgIHByaW50ZigiJXNcbiIscmVzdWx0KTsNCi8vICAgICAgICAgICAgICAgIHByaW50 ZigiXG4gRVJST1JfRkFJTCA9ICVkIiwgRVJST1JfRkFJTCk7DQogICAgICAgICAgICAgICAgZnJl ZShyZXN1bHQpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICAvL1NldEZvY3Vz KGhXbmQpOw0KICAgICAgICAgICB9DQogICAgICAgIGJyZWFrOw0KICAgICAgICBjYXNlIFdNX0NM T1NFOg0KICAgICAgICAgICAgRGVzdHJveVdpbmRvdyhoV25kKTsNCiAgICAgICAgYnJlYWs7DQoN CiAgICAgICAgY2FzZSBXTV9ERVNUUk9ZOg0KICAgICAgICAgICAgUG9zdFF1aXRNZXNzYWdlKDAp Ow0KICAgICAgICBicmVhazsNCg0KICAgICAgICBkZWZhdWx0Og0KICAgICAgICAgICAgcmV0dXJu IChEZWZXaW5kb3dQcm9jKGhXbmQsIE1zZywgd1BhcmFtLCBsUGFyYW0pKTsNCiAgICB9DQoNCiAg ICByZXR1cm4gMDsNCn0NCg0KSU5UIFdJTkFQSSBXaW5NYWluKCBISU5TVEFOQ0UgIGhJbnN0YW5j ZSwNCiAgICAgICAgICAgICAgICAgICAgSElOU1RBTkNFICBoUHJldkluc3RhbmNlLA0KICAgICAg ICAgICAgICAgICAgICBMUFNUUiAgICAgIGxwQ21kTGluZSwNCiAgICAgICAgICAgICAgICAgICAg SU5UICAgICAgICBuQ21kU2hvdyApDQp7DQogICAgV05EQ0xBU1MgICAgd2M7DQoNCiAgICB3Yy5z dHlsZSAgICAgICAgICAgID0gMDsNCiAgICB3Yy5scGZuV25kUHJvYyAgICAgID0gKFdORFBST0Mp V25kUHJvYzsNCiAgICB3Yy5jYkNsc0V4dHJhICAgICAgID0gMDsNCiAgICB3Yy5jYlduZEV4dHJh ICAgICAgID0gMDsNCiAgICB3Yy5oSW5zdGFuY2UgICAgICAgID0gaEluc3RhbmNlOw0KICAgIHdj LmhJY29uICAgICAgICAgICAgPSBMb2FkSWNvbihoSW5zdGFuY2UsIElESV9BUFBMSUNBVElPTik7 DQogICAgd2MuaEN1cnNvciAgICAgICAgICA9IExvYWRDdXJzb3IoTlVMTCwgSURDX0FSUk9XKTsN CiAgICB3Yy5oYnJCYWNrZ3JvdW5kICAgID0gKEhCUlVTSCkoQ09MT1JfV0lORE9XICsgMSk7DQog ICAgd2MubHBzek1lbnVOYW1lICAgICA9IE5VTEw7DQogICAgd2MubHBzekNsYXNzTmFtZSAgICA9 IENsYXNzTmFtZTsNCg0KICAgIGlmICghUmVnaXN0ZXJDbGFzcygmd2MpKQ0KICAgIHsNCiAgICAg ICAgTWVzc2FnZUJveChOVUxMLCAiRmFpbGVkIFRvIFJlZ2lzdGVyIFRoZSBXaW5kb3cgQ2xhc3Mu IiwgIkVycm9yIiwgTUJfT0sgfCBNQl9JQ09ORVJST1IpOw0KICAgICAgICByZXR1cm4gMDsNCiAg ICB9DQoNCiAgICBIV05EICAgIGhXbmQ7DQoNCiAgICBoV25kID0gQ3JlYXRlV2luZG93RXgoDQog ICAgV1NfRVhfQ0xJRU5URURHRSwNCiAgICBDbGFzc05hbWUsDQogICAgIkNvbWJvIEJveGVzIiwN CiAgICBXU19PVkVSTEFQUEVEV0lORE9XLA0KICAgIENXX1VTRURFRkFVTFQsDQogICAgQ1dfVVNF REVGQVVMVCwNCiAgICAyNDAsDQogICAgMTIwLA0KICAgIE5VTEwsDQogICAgTlVMTCwNCiAgICBo SW5zdGFuY2UsDQogICAgTlVMTCk7DQoNCiAgICBpZiAoIWhXbmQpDQogICAgew0KICAgICAgICBN ZXNzYWdlQm94KE5VTEwsICJXaW5kb3cgQ3JlYXRpb24gRmFpbGVkLiIsICJFcnJvciIsIE1CX09L IHwgTUJfSUNPTkVSUk9SKTsNCiAgICAgICAgcmV0dXJuIDA7DQogICAgfQ0KDQogICAgU2hvd1dp bmRvdyhoV25kLCBTV19TSE9XKTsNCiAgICBVcGRhdGVXaW5kb3coaFduZCk7DQoNCiAgICBNU0cg ICAgTXNnOw0KDQogICAgd2hpbGUgKEdldE1lc3NhZ2UoJk1zZywgTlVMTCwgMCwgMCkpDQogICAg ew0KICAgICAgICBUcmFuc2xhdGVNZXNzYWdlKCZNc2cpOw0KICAgICAgICBEaXNwYXRjaE1lc3Nh Z2UoJk1zZyk7DQogICAgfQ0KDQogICAgcmV0dXJuIE1zZy53UGFyYW07DQp9DQo= |
|
From: Szentpali J. <ia...@ea...> - 2008-01-07 22:24:31
|
Wobien írta: > &ulRandomNum is the adress of ulRandomNum (You don't give us the > definition of it, so don't know what it is) > (char *) is a cast. It makes the adress of ulRandomNum be read as a > char array. So ((char *) &ulRandomNum) [nIndex] > will give you a byte of the binary code of ulRandomNum. > Wobien > > ----- Original Message ----- From: "Szentpali Janos" <ia...@ea...> > To: <dev...@li...> > Sent: Monday, January 07, 2008 6:32 PM > Subject: [Dev-C++] Translation > > > Hi, > > I am very new to C++. I only did VB programming... mostly. I am having > some trouble with some C++ code. Could someone help me understand what > the following means: > > --- start --- > > typedef DWORD(*FUNCPTR)(BYTE); > > DWORD ulWorkRandomNum; > char *arr; > int nIndex; > > ... > > arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) [nIndex] & 0x0f); > > --- end --- > > I am having trouble with "translating" (understanding) the > > ((char *) &ulRandomNum) [nIndex] > > part. I mean [nIndex] referes to the elemnt of which array :O > Thanks very much! I knew about the cast and about the address operator, but it somehow seamed strange to cut a pointer in pieces :O. I thought that was the case, but I wasn't sure and I needed assurance :D. Anyway the variable who's address you were talking about is just a DWORD: DWORD ulRandomNum; Sorry I forgot to put it in the sample. -- Szentpáli János |
|
From: Wobien <roo...@pl...> - 2008-01-07 22:06:59
|
&ulRandomNum is the adress of ulRandomNum (You don't give us the definition
of it, so don't know what it is)
(char *) is a cast. It makes the adress of ulRandomNum be read as a char
array. So ((char *) &ulRandomNum) [nIndex]
will give you a byte of the binary code of ulRandomNum.
Wobien
----- Original Message -----
From: "Szentpali Janos" <ia...@ea...>
To: <dev...@li...>
Sent: Monday, January 07, 2008 6:32 PM
Subject: [Dev-C++] Translation
Hi,
I am very new to C++. I only did VB programming... mostly. I am having
some trouble with some C++ code. Could someone help me understand what
the following means:
--- start ---
typedef DWORD(*FUNCPTR)(BYTE);
DWORD ulWorkRandomNum;
char *arr;
int nIndex;
...
arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) [nIndex] & 0x0f);
--- end ---
I am having trouble with "translating" (understanding) the
((char *) &ulRandomNum) [nIndex]
part. I mean [nIndex] referes to the elemnt of which array :O
--
Szentpáli János
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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: Szentpali J. <ia...@ea...> - 2008-01-07 17:32:15
|
Hi,
I am very new to C++. I only did VB programming... mostly. I am having
some trouble with some C++ code. Could someone help me understand what
the following means:
--- start ---
typedef DWORD(*FUNCPTR)(BYTE);
DWORD ulWorkRandomNum;
char *arr;
int nIndex;
...
arr [2 * nIndex] = 'A' + (((char *) &ulRandomNum) [nIndex] & 0x0f);
--- end ---
I am having trouble with "translating" (understanding) the
((char *) &ulRandomNum) [nIndex]
part. I mean [nIndex] referes to the elemnt of which array :O
--
Szentpáli János
|
|
From: shan c. <sha...@ya...> - 2008-01-04 18:06:40
|
Just try this : http://www.uniqueness-template.com/devcpp/ I dont think there will be any prob. anirudh kala <ani...@ya...> wrote: hi there i am a newbie to the world of dev c++. i have thoroughly gone through turbo c and c++ and java programming ,but have absolutely no idea of dev other than the fact that the compiler probably is mingw . I am little confused abt where to start from because i have no study material at all. can any body please help me with this!!!!!!! thanks Anirudh Kala --------------------------------- 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 --------------------------------- Now you can chat without downloading messenger. Click here to know how. |
|
From: anirudh k. <ani...@ya...> - 2008-01-03 17:30:10
|
hi there i am a newbie to the world of dev c++. i have thoroughly gone through turbo c and c++ and java programming ,but have absolutely no idea of dev other than the fact that the compiler probably is mingw . I am little confused abt where to start from because i have no study material at all.
can any body please help me with this!!!!!!!
thanks
Anirudh Kala
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. |