I have created a new website http://www.doubleblackdesign.com with which I am trying to capture and advocate software design and engineering best-practices....
I have this piece of code that rounds numbers generated from Microsoft Perfmon log files which look like the following. I want it to skip any line that starts...
... <snip> ... // Here's the place for the check for lines to skip! ... First I would recommend you cling either to pure C style or use C++; using C++ comments...
... This code likely does not cause the buffer overflow. Please show the complete code (at least including definitions of "r" and "c"), otherwise we can't help...
... I'm pretty sure this is a typical typo when re-typing code into an email (or on the Yahoo! groups web site) instead of performing a copy-and-paste...
Nico, Thank you so much for your help. I appreciate it. I inserted the line of code. I got the ignore the line part but how do I throw away this line and ...
... Hi Richard, here the trick with the trailing '\n' character becomes useful: Whenever you read a line of text using fgets(), the buffer may or may not...
I'm attempting to locate a form builder , dialog editor or similar that is an integral part of a C/C++ IDE . Preferably one that has MingW32/64 capability , ...
... this is the actual code... ... u32 r,c; astring arr[r][c]; memset(arr,0,sizeof(arr)); ... replaceing memset statement with astring arr[r][c]={0}; is...
Hi guy, I have any problem for using template class. I would like to define "int" for using in template class only but I still create instance of template...
<snip> ... It cannot. The declarations for "r" and "c" given above look as if these are local variables in some function (main()?). The ANSI C standard ...
Hi, I have encountered a problem in a C++ student project and am looking for a professional C++ programmer who can debug the code and optimize it with regard...
Hi how to find the number of days between two days using C language? Please tell me the functions and an example program if possible. thank u. Regards, ...
... "difftime()" is a function which takes two time_t values as its arguments and returns the difference in seconds. Divide this number by 86400 and discard...
please give me a code of priority preemptive scheduling...asking for the number of processes, entering bursting time, priority and processing the waiting time...
Hi folks I need to execute a function, say every one minute or 2 minutes. I have already written the function which plots points on the screen at random. My ...
... Hi Shiva, no, there's no built-in C/C++ function for a timer. But Unix offers a few things in its standard libraries. Please look up signal(), sleep(), and...
Well, I know something in windows environment, but I'm not sure if it will work under Linux. #include<dos.h> OR #include<windows.h> Sleep( n ); n is a number...
hi all Project : DoubleS (Super Server) Paradigm URL : http://www.sourceforge.net/projects/doublesvsoop License : Freeware & Open source About : New...
assalamo 3alikom wa ra7mato allah wa barakato hi all.. eny body know the c++ code for lzw compresion&decompresion? if any body know,please send it . gazakom...
Hi, Guys this is Darakshan from Jeddah I need ur help. Below r some questions for which I am not able to find answers. I need ur help very badly. C language is...
... You are brave. Or daring, I don't know. ... Not too easy. In general you have the following options: 1) insert every node of one tree into the other one,...