|
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 > |