Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
72% Quality Score
Upvotes Received
81
Posts with Upvotes
73
Upvoting Members
23
Downvotes Received
41
Posts with Downvotes
33
Downvoting Members
9
14 Commented Posts
~248.31K People Reached
About Me

Just another simply guy, with not so simple ambition.

Interests
Programming,Playing games,solving mathematical problems and reading good books.
PC Specs
Using Windows 7 32 bit Ultimate, Ubuntu 12.04. 2 gigs RAM, 2326 GB Disk space, 6670 Radeon HD 2GB
Favorite Tags

315 Posted Topics

Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for samaru
Member Avatar for Duki
Member Avatar for LastMitch
Member Avatar for thinkerman
Member Avatar for Aiman_1
0
1K
Member Avatar for Louie_Rave

If your OS is windows, then you need to learn windows API programming, ( preferred in Visual C++ ). Here is a [tutorial](http://www.winprog.org/tutorial/) to it. Simple dialog box can be used by the `MessageBox()` function. A simple implementation : # include <windows.h> int main() { MessageBox(NULL," Hello World ( MsgBox …

Member Avatar for markanderson4
1
4K
Member Avatar for Phoeboo

You can implement your code like this do { cout <<"\n Enter number ( 0 to exit ) "; cin >> num ; if (num % div1==rem || num % div2== rem) { count1+=1; sum1+=num; } else { count2+=1; sum2+=num; } } while ( num != 0 ) ;

Member Avatar for tobyITguy
0
320
Member Avatar for jcontreras

There are softwares available which can create this problem. I would suggest you to download this [software](http://www.bleepingcomputer.com/forums/topic247405.html). @ firdousahmad, there can be hundreds of reason for bsod. Its not so simple.

Member Avatar for MatthewWri
0
323
Member Avatar for jeffcogswell
Member Avatar for np complete

I'm trying to emulate bash/cmd type program. I have written programs like cat, ls, grep (simple one) and kept it under \bin\ directory. This program will take user input and run programs present in \bin\ accordingly. I'm using `_spawnv ()` as the argument list is going to be variable. When …

Member Avatar for Ancient Dragon
0
198
Member Avatar for tux4life

Here we used getch() which is not standard. How should I code without using getch() ?

Member Avatar for Remy1990
0
8K
Member Avatar for nitin1

You can use recursion to find GCD. Then divide the product of given numbers by GCD to get LCM. Recursive GCD : int gcd(int x, int y) { if (y == 0) return x; else return gcd(y, x % y); } And gcd( a , b) * lcm( a , …

Member Avatar for ShapesInClouds
0
3K
Member Avatar for np complete

I want to extract this data from a website `You need to add the numbers present in this string. Your string is: 3754537dd2f082ad578e0ff1806d86a6` This is what I was doing url = opener.open('http://www.website.com') data = url.read() extract = re.search('your string is: <strong>(.*)', data) ans = extract.group(1) ans = string.split(ans, '</strong>')[0] print …

Member Avatar for snippsat
0
257
Member Avatar for np complete

I want this program to wait untill I copy some text into my clipboard. This is what I have done so far char text[500] ; HANDLE clip ; if ( OpenClipboard (NULL) ) cout << "\nClipboard opened" ; EmptyClipboard () ; cout << "\nStart" ; while ( true ) { …

Member Avatar for Ancient Dragon
0
313
Member Avatar for np complete

I want to use javascript and extract page content and then submit a string. For example I have been given "Encode this string in base64 : Hello world". I need to take hello world, convert it and submit the answer. I think I need to use innerHTML but I'm not …

Member Avatar for iamthwee
0
96
Member Avatar for np complete

I need to extract a certain string from a webpage and workon it. In the website it is given like this : `Decrypt the following random string: O2tsOGJeLj0saj07ODM1IQ==` I need only the base64 encoded part, but I can't think of any way. I tried using `substr()` and `strstr()` but I …

Member Avatar for diafol
0
142
Member Avatar for nyfan68

Your << and >> overloaded functions are friend functions and also in private. Make them public and see if its working or not.

Member Avatar for angel.ey.7503
0
495
Member Avatar for np complete

So I was writing a program that would take a string from clipboard, do some stuff and put the new string back to clipboard. My code so far is posted below. The problem is I want my program to wait for me until I 'ctrl+C' something. I know that `GetClipboardData()` …

Member Avatar for BobS0327
0
249
Member Avatar for np complete

Hi, I'm new to python so I'm asking a noob question. I'm given a large string from which I have to take all the digits and check if its prime or not. Then I have to take the first 25 chars of the string and append the prime digits to …

Member Avatar for Gribouillis
0
236
Member Avatar for paramesh23

[This](http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844) is particularly a good book for algorithms.

Member Avatar for ankur.pandey.52687
0
317
Member Avatar for np complete

I created a simple password program which takes a string when its invoked, and prints thank you if its correct. Now I want to write a brute forcer. The password is a 4 blocks 4 digit password ( example 1234 5678 9012 3456, so its called like this C:\>pass 1234 …

Member Avatar for np complete
0
223
Member Avatar for np complete

I want to start a program and pass arguments used by that program. How to do this using os.spawnl ?

Member Avatar for Gribouillis
0
226
Member Avatar for nattu

You can use [file_stream.getline ()](http://www.cplusplus.com/reference/istream/istream/getline/), to take the score in a string variable and use Gwin.writeString ().

Member Avatar for np complete
0
533
Member Avatar for diptipan

Dynamic Array can be allocated with the help of `malloc()`. Example : `int *p;` `p = (int *) malloc ( sizeof(int) * 10 ) ; // array of int of size 10`

Member Avatar for somjit{}
0
217
Member Avatar for happygeek

Not only this. There is a constant hacking going on between India and Pakistan. Not more than 4 months ago, some pakistani Hacker group defaced a Government website in India.

Member Avatar for np complete
1
930
Member Avatar for adipra90

Can you post your code? [This](http://systhread.net/texts/200909netconn4.php) may help in making a port scanning program.

Member Avatar for np complete
0
271
Member Avatar for np complete

In our college we practice python on ssh. This command prints all the computers ( processes ) logged in. ps -A | grep bash I was wondering how to obtain my process ID for that session.

Member Avatar for L7Sqr
0
287
Member Avatar for abelLazm

"¡Andale! ¡Andale! ¡Arriba! ¡Arriba! ¡Yii-hah!" Speedy Gonzales ( Cartoon )

Member Avatar for CCHIndiaStore
0
351
Member Avatar for justin.chestnutt

Check line 42. In line 55, why are you calling `lengthHail()` method ? You are yourself counting the number of numbers printed in line 53. Print that instead of `lengthHail()`. It will print 1 less than the required number , thats because it doesn't counts the initial number. So add …

Member Avatar for Fatma30
0
1K
Member Avatar for blackcathacker
Member Avatar for abhigna.pebbati

I had this virus too. 1. Go to file/folder option. ( If you are using win 7 then : organize -> folder and search option ) 2. Click on view tab. 3. Then unhide all files, and unmark "Hide protected operating system file (Recommended) ". 4. You will see you …

Member Avatar for razib8bd
0
177
Member Avatar for linux
Member Avatar for pars99

I think what rubberman meant by steam is a digital distribution, digital rights management, multiplayer and communications platform developed by Valve Corporation. The most popular game on steam is Counter Strike 1.6.

Member Avatar for Tumlee
0
838
Member Avatar for tanmay.majumdar2

Yes you are right. Simply put, recursion is when a function calls itself. That is, in the course of the function definition there is a call to that very same function. Now in the factorial program, `b` is a local variable of the `re` method. So each time the `re` …

Member Avatar for Gonbe
0
396
Member Avatar for i3-540

What you need is LCM of the numbers. You can simply write the code for finding lcm of 2 numbers and use it recursively. Or you may use [boost](http://live.boost.org/doc/libs/1_34_1/doc/html/boost_math/gcd_lcm.html#boost_math.gcd_lcm.lcm_function_object) library.

Member Avatar for np complete
0
191
Member Avatar for capton

What is QList ? What is QMutableListIterator ? Can't understand your question correctly.

Member Avatar for capton
0
137
Member Avatar for on93

182. `system("pause");` Avoid using system calls in your program. `system("PAUSE")` is certainly less than ideal. Using a call to system creates a subprocess, which on windows is fairly expensive and in any case not terribly cheap on any operating system. You may check out the reasons, in details [here](http://www.gidnetwork.com/b-61.html).

Member Avatar for deceptikon
0
151
Member Avatar for SteveA
Member Avatar for Ene Uran
0
308
Member Avatar for np complete

Hello Daniweb, after such a long time. I had my semester exams ( I'm math major ). Was busy studying. Recently I participated in a coding competiton, with 2 of my friends as team. The problems were good. One had DFS implementation. But there was a problem that required me …

Member Avatar for JorgeM
2
165
Member Avatar for nitin1

Check [this](http://windows.microsoft.com/is-IS/windows7/products/system-requirements). And of course the more RAM you add more faster it performs.

Member Avatar for webjack
0
197
Member Avatar for archana.patil.1800
Member Avatar for christinetom

Integrated Softwares : Tightly interconnected suite of several application programs that share a common database and user interface. In integrated software (such as Adobe In Design, Microsoft Office, or Star Office) the output of one program (such as a spreadsheet or graphics program) can be readily imported into or embedded …

Member Avatar for christinetom
0
91
Member Avatar for Serunson
Member Avatar for RonKevin

Try using loop for inputing and displaying array, and for replacing, you can access array by its index. Also keep an condition statement for checking whether input is authentic or not.

Member Avatar for Lucaci Andrew
0
146
Member Avatar for abelLazm

Because his underpants worth more than his pants, and doesn't want to wet it while fighting criminals ( probably facing General Zod ). Which came first, chicken or egg ?

Member Avatar for <M/>
2
1K
Member Avatar for LastMitch
Member Avatar for heenah
Member Avatar for np complete

As C++ has nice read me's like, `C / C++ FAQ's and Practice problems`, `C++ Books`, `"Flushing" the input stream` , how about some read mes's in PHP forum. Its a widely used language like C++, so it would be nice to have some read me's. What do others think …

Member Avatar for LastMitch
0
791
Member Avatar for الوليد

You need to learn file handling in C/C++. There are many books for this purpose. You may try [this](http://www.cplusplus.com/doc/tutorial/files/). For password protection ask user for password then compare it for authorization. If true go on to file handling part. Else try again.

Member Avatar for Ancient Dragon
0
132
Member Avatar for anoushka
Member Avatar for BobS0327
-1
197

The End.