Search Results

Showing results 1 to 28 of 28
Search took 0.01 seconds.
Search: Posts Made By: Asif_NSU
Forum: C++ May 16th, 2006
Replies: 24
Views: 5,429
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,429
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,429
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,429
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,429
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,429
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,429
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,429
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,429
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,237
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,237
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,724
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,187
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,187
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,187
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,187
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,372
Posted By Asif_NSU
graphics.h wont work with Visual C++. You have to learn win32 APIs.
Forum: Geeks' Lounge Jul 25th, 2005
Replies: 37
Views: 5,508
Posted By Asif_NSU
The type of terrorism the world is facing today can not be eradicated by means of arms and forces. To my understanding this is a propaganda war rooted deep with in Islamic extremism. It can only be...
Forum: C++ Mar 16th, 2005
Replies: 15
Views: 3,797
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: IT Professionals' Lounge Oct 5th, 2004
Replies: 15
Views: 5,303
Posted By Asif_NSU
Well i dont like the idea of shitting in the bowl from which I take my food. Microsoft is an everyday part of my life and it's because of them old grannies, grandpas, little nickies can actually do...
Forum: Geeks' Lounge Oct 5th, 2004
Replies: 9
Views: 6,341
Posted By Asif_NSU
I am addicted to games and cant stop playing a game once I start it no matter how tedius and boring that might turn out to be(and that's without any cheat-codes). I have played both deus ex and oni...
Forum: Computer Science Jul 4th, 2004
Replies: 13
Views: 4,689
Posted By Asif_NSU
Well, I Dont about what professionals do... But, I can tell u about how much I TALK in the class. Our lecturer says one sentence and I ask two questions. It's very much everyone in the class who gets...
Forum: C Jun 21st, 2004
Replies: 12
Views: 15,697
Posted By Asif_NSU
I wrote this code that checks whether a number is prime or not. It returns 1 if the number is prime or 0 otherwise. U just look at the bottom of the code...
#include<stdio.h>
#include<conio.h>...
Forum: C++ Jun 17th, 2004
Replies: 14
Views: 5,250
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 Jun 5th, 2004
Replies: 2
Solved: Recursion
Views: 3,428
Posted By Asif_NSU
I was trying to do some simple exercises on recursive functions:

1. Write a function using Recursion to print numbers from n to 0.

My solution:

int integer(int n)
{
if(n>=0)
...
Forum: C++ May 26th, 2004
Replies: 9
Views: 2,737
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...
Forum: Posting Games May 18th, 2004
Replies: 3,185
Views: 254,860
Posted By Asif_NSU
playing with words :(
Forum: Geeks' Lounge Apr 22nd, 2004
Replies: 10
Views: 7,612
Posted By Asif_NSU
Hi hope u get attached file.

I did it only using photoshop.

guess it's not so good as urs.
But take it easy on me, cause i am just trying to learn :-|
Showing results 1 to 28 of 28

 


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

©2003 - 2009 DaniWeb® LLC