Ok. I looked at it. I can tell you're not following any coding standards I know! You duplicate definitions in a switch { You have some kind of error in mov { ...
Make Your Opinions Count! Influence decision makers (For Indian Citizens Only) Looking for a source of extra income? There is a huge demand for everyday...
Make Your Opinions Count! Influence decision makers (For Indian Citizens Only) Looking for a source of extra income? There is a huge demand for everyday...
Make Your Opinions Count! Influence decision makers (For Indian Citizens Only) Looking for a source of extra income? There is a huge demand for everyday...
Dear All Members, I used MFC to make my program(related to image processing). There were some questions I would like to ask you: 1.How to display the...
I'm going though "Sams teach yourself C in 21 days." I'm using - [gravity:~]$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version...
Hello Kenton, Sunday, February 01, 2004, 6:08:14 PM, you wrote: KB> I'm going though "Sams teach yourself C in 21 days." I'm using - KB> [gravity:~]$ gcc -v ...
On Sun, Feb 01, 2004 at 09:27:21AM -0800, Steve Kaczmarczyk (stevek2@...) wrote: See below - ... OK, I added "return 0;" to the bottom of "main()" which...
Hi group, I am a newbie to c++ programming.Please help me regarding creating library file in cpp. actually I am using bloodshed devc++ version 2.0 for windows....
Hi, I am working on a program for my operating systems class. Our project was to design a shell similar to bash on UNIX, which will run on UNIX. I have every...
hi, Well, I believe if the user says: $ programname > file.txt the output will automatically go to that file. Try it on any other program you have; and see if...
That will work from the Bash($) prompt, but I want the user to be able to do this from within my program shell. Say my prompt is "<PROMPT>". Then I want the...
hi, Ok. If you are using C++, then it is very simple to write to a file without changing too much syntax. Let's say that the file name is in the variable...
Reply to: smitel2003@..., who wrote ... You could keep a record of which numbers you have already counted. First, declare an array and an index into the...
... I don't believe GCC have got around to formally listing all their warnings. [But I could be wrong.] That said, gcc's warnings are considerably better than...
... Excellent! There are any number of ways you can get ahead. One is to check forward chapters in the reference text. Another is to check course notes from...
... I prefer to avoid gotos as used in this way to re-enter a loop. I don't mind breaking out of nested loops this way though. Anyway, an alternative might...
For the question , to return true if the vector<double> are in ascending order and fall otherwise , the following statement : bool isAscending(vector<double>v)...
AhmadAshiry Harun
ahmadashiry@...
Feb 2, 2004 3:26 am
34739
... Wow, thank you for this great explanation. Kent -- "Efficiency is intelligent laziness." -David Dunham...
Thanks ! Good to know the problem was not with the question :O) Just curious as to why you find Solaris, with a lot of quirks. I have version 8.0 and its...
Why do I get two different answers? I don't understand. #include <iostream> using namespace std; int main() { double a, b, c, d; a = 9 / 4; cout << a << endl; ...
... This is because 9 / 4 are integers so the demical is cut off before it is assigned to 'a' and when b / c are declared floats before division, correct?...
Francesca ... They were declared doubles, not floats, but yes that's correct. Integer division for non-negative values always truncates the decimal places. If...
Dear listmates, I am trying to find out a way to "easily" search a given file in a directory. I searched the MSDN library but I did not find a simple function ...
Hi.. As I can see, the only thing that you want to do is to verify if a file exists on disk.. I think the easiest way to do this is to open the file for...