Search Results

Showing results 1 to 20 of 20
Search took 0.02 seconds.
Search: Posts Made By: Asif_NSU ; Forum: C++ and child forums
Forum: C++ May 16th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
Yeah! But you did not give any explanation that time and it worked well on all the other compilers. All my common sense told me it's something to do with gcc - the compiler itself. Besides the...
Forum: C++ May 16th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
This is what happens when I use your code. The effect is same as mine. This time it's in GIF format. Hope that's okay with you.
Forum: C++ May 16th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
If you run the loop for say 50 times that's enough most of the time to get the desired result. So instead of using x1 != x0, I would use the following code

for(i = 0; i < 50; ++i)
x = .5 * (x...
Forum: C++ May 15th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
First you explain to me how come uncommenting a printf() statement makes the loop end. This simply doesn't make any sense.

Within a few iterations the new value of x1 differs so small from the...
Forum: C++ May 15th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
%lf is valid for scanf(), so it is natural for anyone to think it is also valid for printf(). Things like this is easy to miss unless someone explicitly mentions it.

Now I want to know how much...
Forum: C++ May 15th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
Thanks everyone for being so patient with me, especially Salem who actually downloaded MinGW gcc. I really appreciate that!

Here's the screen capture of what I am getting. First I compile the...
Forum: C++ May 14th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
I never claimed to have found a bug in gcc. I merely suggested that it could be a possibility. If you look at my first post I was here to clarify if it was due to a bug with the gcc or due to...
Forum: C++ May 13th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
I read the first article back in my "Computer organisation and design" class regarding how to represent real numbers inside computers. And I have already told you I am completely aware that the...
Forum: C++ May 13th, 2006
Replies: 24
Views: 5,467
Posted By Asif_NSU
The following code finds the square root of a number, it runs fine unless you compile with MinGW gcc:

#include<stdio.h>
#include<stdlib.h>

int main(void)
{
double x0,x1,a;
int i;
x1 =...
Forum: C++ Apr 22nd, 2006
Replies: 3
Views: 6,299
Posted By Asif_NSU
I need to do certain things when user tries to close the window. Say may be to ask him whether he actually wants to quit or not etc. That's why I cant let DefWindowProc() to handle it. But that was...
Forum: C++ Apr 21st, 2006
Replies: 3
Views: 6,299
Posted By Asif_NSU
I am kind of confused about how DestroyWindow() works. According to the help files this function sends a WM_DESTROY message to the window it has just removed from the screen. In my WindowProc I have...
Forum: C++ Apr 5th, 2006
Replies: 1
Views: 7,773
Posted By Asif_NSU
I am trying to access files in a folder. The folder name and location will be given - the program will search inside the files in that folder for a specific pattern(yup like grep). However, I am not...
Forum: C++ Mar 15th, 2006
Replies: 8
Views: 4,216
Posted By Asif_NSU
True.

In the long term it is not, except for the students who don't know much about programming except for making good GUIs in Java.
Forum: C++ Mar 15th, 2006
Replies: 8
Views: 4,216
Posted By Asif_NSU
My database is not for commercial use. I needed an SDK which was free for 'non-commercial' purpose. I preferred to use 'educational' in this context.


Ha ha. The funny thing is that it will be...
Forum: C++ Mar 14th, 2006
Replies: 8
Views: 4,216
Posted By Asif_NSU
I guess I found this:
GrFinger Biometric SDK (http://www.griaule.com/page/en-us/downloads)
Forum: C++ Mar 14th, 2006
Replies: 8
Views: 4,216
Posted By Asif_NSU
I was looking for an SDK to learn a bit about fingerprint identification system. I have googled a lot and found many different SDKs. However none of them were free. I dont want to implement any...
Forum: C++ Jan 11th, 2006
Replies: 4
Views: 3,404
Posted By Asif_NSU
graphics.h wont work with Visual C++. You have to learn win32 APIs.
Forum: C++ Mar 16th, 2005
Replies: 15
Views: 3,812
Posted By Asif_NSU
I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown...
Forum: C++ Jun 17th, 2004
Replies: 14
Views: 5,264
Posted By Asif_NSU
by the way I am also interested in computing this series, but i want to do it using a recursive function. Can anyone help me out?
Forum: C++ May 26th, 2004
Replies: 9
Views: 2,744
Posted By Asif_NSU
If u are SERIOUS about programming...

STEP 1. The very first thing u need to do is to develop the concept of algorithmic problem solving method. U need to have crystal clear concept of loops and...
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC