T H A N K Y O U !!!! passed my exam and now the sky is the limit. programming was alway a black magic for me and now after I passed and a lot of it is...
Hi all I am doing c++ programming under openWNS simulator. I am trying to use gdb for debugging. ... I have mapped the test file to gdb using set args but I...
... Oh dear...we've created a cult. Programming is a continual learning experience. It doesn't stop after passing a few exams. But, you're welcome, and you...
Hello, I am working on a project related to lossless data compression using Adaptive huffman algorithm and LZW algorithm. I have written some code but its not...
... How about you provide your code and point out the problem areas? -- Brett ... "In the rhythm of music a secret is hidden; If I were to divulge it, it would...
... Did you Google? There are MANY references. Here are a few: http://en.wikipedia.org/wiki/LZW http://marknelson.us/1989/10/01/lzw-data-compression/ This...
... TurboC is an extremely old compiler and does not conform to the ANSI standards. It also does not generate correct code for Windows. It creates code...
... Visual C++ Express _2008_ is the latest and greatest version of VC++ Express. wxDev-C++ is preferred over Dev-C++. IIRC, Dev-C++ is no longer being ...
Hello Everyone, I am learning about functions and the book I am reading says that it is good practice to create function prototypes. My questions are: Do you...
... You don't HAVE to in most cases. They help to avoid compile-time issues and are required for referencing functions in multiple object files. int B() { ...
Hi Everybody , I want to convert between HANDLE to HWND . May I know hyow can I do it . My requirement is I want to use SendMessage api to send some data to...
Hello, I am working on a project related to lossless data compression using Adaptive huffman algorithm . I am trying to implement tthe algorithm.Till now i...
... Which book? ... If you write your source code such that you define the functions before they're used (resulting in main() being at the end of the source...
On Thu, Apr 3, 2008 at 6:47 AM, Gopi Krishna Komanduri ... http://www.codersource.net/mfc_ipc_wm_copydata.aspx -- PJH A man in a shellsuit goes into a posh...
Please help me. In this question a,b,c are legs of the triangle. And I want to find area of the triangle. s=(a+b+c)/2 Area=s*((s-a)(s-b)(s-c)) ^ (1/2) I wrote...
... [...] ... 1) That closing parens is in the wrong place. 2) 1/2 in this expression resolves to 0 (since you're inplicitly using integer arithmetic instead...
Hi! Could you give me an idea about how can i check if in an array is set a key, for example: #include <conio.h> #include <iostream.h> void main() { int x[10];...
... Wrong way to find a window handle (there are different types of HANDLEs - very few of which can you actually typecast). Use FindWindow(). You shouldn't be...
On Thu, Apr 3, 2008 at 2:36 PM, alex_merlin_1985 ... There is none, since if it's allocated it's set -> if uninitialized, then for some random (garbage) value....
... Not a Standard header. Time to upgrade your compiler! ... Not a Standard header. Time to upgrade your compiler! ... int main() ... Use another variable...
On Thu, Apr 3, 2008 at 1:36 PM, alex_merlin_1985 ... Use std::vector instead which has methods to check bounds. And stop using the .h forms of the C++ headers....
... Oops! Typo! I _meant_ 2008 ... I run wxDev-C++ and was the one who notified this group that Dev-C++ was outdated :-O It still identifies itself as Dev-C++....
... Furthermore the syntax for multiplication is correct in mathematical circumstances, but in C the OP has to use the multiplication operator explicitly under...
I know about this approach, but the problem is that there will be a very big number of possible keys (billions), where only a few (max 10) of them will be...
Thanks for the ideas, i already am using other compiler (Visual Studio Express)... so it's not exactly me who needs help with this issue, but a friend of mine,...
The book I'm currently going through is Sams Teach Yourself C++ in 21 Days. I also have C++ Primer Plus. I am reading these two books to really drill the...
hi dear i think u can use ^ sign its better than the pow and sqrt ... From: Nico Heinze <grollnar@...> To: c-prog@yahoogroups.com Sent: Thursday, 3 April,...
On Fri, Apr 4, 2008 at 9:15 AM, sandeep khokhar ... I don't know what language you are thinking about, but in C and C++, ^ is bitwise XOR (exclusive OR)...