Posts
 
Reputation
Joined
Last Seen
Ranked #350
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
100% Quality Score
Upvotes Received
10
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
7 Commented Posts
~57.1K People Reached
About Me

Leader of the Volts. The Thunder Emporer.

Interests
Anime
Favorite Tags

165 Posted Topics

Member Avatar for k88joshi

[code=cpp]int **a; a = new int*[n]; for ( int i = 0 ; i < n ; i++ ) a[i] = new int[n] ; [/code] to make it simple

Member Avatar for cambalinho
0
744
Member Avatar for campuzcrazyness

Why should we worry about converting the number to hex or binary. Its already stored in binary format.

Member Avatar for bmsangati
-1
1K
Member Avatar for hdan

[QUOTE=hdan;663203]I know I was just saying that because I putted the MS-DOS commands... but how trainers work then? The x=&a shows the address...I wandered if it's a way to change 'a' with another program like a trainer... :-/[/QUOTE] Perhaps, [URL="http://linuxgazette.net/104/ramankutty.html"]Inter process communication[/URL] may be an answer. >>but how trainers work …

Member Avatar for chochang262
0
901
Member Avatar for Prabakar

Hi, Below is my home n/w status. I have a modem which connects to a wifi router 1 laptop, 1 mac pro, 1 i-phone and a pc all which connects to this wifi router. I have 2 external hdd & a printer which I want to connect to the n/w. …

Member Avatar for predator78
0
215
Member Avatar for Prabakar

I have been posting in dani web during my college times, after being employed, I stopped posting in dani, now I updated my email id few weeks before & I am a unverified user. How can I become a verified user? and how can I get e-mails from dani? Please …

Member Avatar for Prabakar
0
51
Member Avatar for sajay

First I don't understand the need to clone trees, having same data in two different places often cause problems than solving problems. Do you have a reason to do so? [QUOTE][code]sink = NULL;[/code][/QUOTE] Do you really expect this to free the memory you allocated? If so, you may have to …

Member Avatar for sajay
0
190
Member Avatar for hiddepolen

HTML's are supposed to follow strict xml syntax (not all web pages do so) But the html that your have posted does follow xml syntax so you can use xml parsers and extract data from this. If the page is not xml complaint then you might have to use reg-ex …

Member Avatar for Prabakar
0
201
Member Avatar for aquarian

Hey, when I googled the algorithm I found this, [URL="http://www.cs.ualberta.ca/~zaiane/courses/cmput499/slides/Lect10/sld053.htm"]http://www.cs.ualberta.ca/~zaiane/courses/cmput499/slides/Lect10/sld053.htm[/URL] Hope it helps

Member Avatar for Ezzaral
0
1K
Member Avatar for mjmythili

[QUOTE=Prabhakar]i am using an string array with 100 length..but i am inserting upto 10 values only...how to get that array existing element count as 10....[/QUOTE] I think the answer is on top of your post. strlen() should work. [QUOTE=DragonHeart]if i allocate space like this int no[20]; and i store about …

Member Avatar for Ancient Dragon
0
885
Member Avatar for Prabakar

My friend said to me that in 1935 The US police killed an innocent person & his friend suicide because of that, thus US government declared Friendship day. I searched the net but didn't see any such story. But I found it was somewhat right, that it was started in …

Member Avatar for Moizmashoor
0
137
Member Avatar for vmaxusb

I dont know sokcet programing. but I do know that word, can open txt files, so a simple way would be to open the file using .doc extention & in text format, write to the file & close it. It should work. I guess, I mis understood. If you are …

Member Avatar for victorxstc
0
249
Member Avatar for akira_shinizaki

Did not Nature give a wonderful explanation about making the pyramid. Did you try what Nature said? Modify her code just a little to suit your problem. Its as simple as [code=cpp] #include <iostream> int main() { using namespace std; int n; cin >> n ; for ( int i …

Member Avatar for kvprajapati
0
265
Member Avatar for soroush68

"&x[1]" doesn't the compiler uses sizeof to evaluate this expression? Since I am not sure of this. I think unions can be used to find the answer I wrote this program & it seems to work. [code=c]#include<stdio.h> int main () { union findsize { unsigned char c[8] ; int a …

Member Avatar for bharath404
0
257
Member Avatar for bops

>> int totalLen = strlen(formatstr) + strlen(name); "%s" will be counted. The totalLen should be 41 but obtained totalLen is 43. And, >> len = [URL="http://msdn.microsoft.com/en-us/library/ybk95axf(VS.71).aspx"]sprintf[/URL](NULL,"This is my forename: %s",fname); seems to work perfectly!!! Is there an assurance that the string will not be written if NULL is passed? I …

Member Avatar for Raptor007
0
1K
Member Avatar for sailee

I dont like to use recursion, unless it is very much necessary. If i were to calcualte GCD between 2 numbers, I would do it somthing like this. [CODE]#define min(a, b) (a)<(b)?(a):(b) int main ( ) { int a, b, i, c, d, gcd = 1, lcm ; cin >> …

Member Avatar for hk<3ob1993
0
195
Member Avatar for Jigg1yPuff

[QUOTE]if(student[i].lastName>student[i+1].lastName) { string temp; temp=student[i].lastName; student[i].lastName=student[i+1].lastName; student[i+1].lastName=temp; }[/QUOTE] lastName is a char array. It wont help you sort this way. use strcmp() to compare or using string class for names. second, there is no use swaping just the last name, the purpose of your structure gets defeated by that. You …

Member Avatar for John_conner
0
191
Member Avatar for Prabakar

Hi All, I need a software that would optionally let me open applications without the windows border, i.e, I don't want to see that blue border and the title bar for some of my applications(cause it spoils the appearance) I am using Windows XP(32 - bit) Is there any such …

0
94
Member Avatar for William Hemsworth
Member Avatar for daino

killdude69, the only way you could hold on to your argument is to talk on situations in which portability has no value. Say, while developing vertical solutions to a non IT based company which uses windows environment, there is no point in providing portability as a feature cause it means …

Member Avatar for Prabakar
0
275
Member Avatar for DREAMER546

[QUOTE]prabakar@prabakar-desktop:~$ gcc test.c prabakar@prabakar-desktop:~$ ./a.out FOURFOURFOURFOURFOURONETWOFOURONETWOFOURONETWOFOURFOURFOURFOURONETHREEFOURONE THREEFOURONETWOONETWOONETHREEprabakar@prabakar-desktop:~$ ONETWOONETWOFOURONETWOFOURONETWOFOURONETWOONETHREEONETWOONETHREEONETWOONE TWOONETWOONETWOFOURONETHREEONETWOONETWOONETHREE [/QUOTE] I made those corrections stated by others

Member Avatar for Nick Evan
0
148
Member Avatar for pranjalkumar

Why do you want to do that? you can use structures say [code=cpp] struct myFloat{ short int sign:1; short int expo:6; short int mant:11; float toFloat(){ // conversion } // overloaded arithmetic operations // constructors and initializations } [/code] hope this helps:)

Member Avatar for ArkM
0
168
Member Avatar for Prabakar

Hi everyone, I am a little new to Java programming and am doing a simple project. The Problem is that I am able to connect but am not able to send any data. It is a little weird. The server gets the client's IP and the client to is connecting …

Member Avatar for Prabakar
0
97
Member Avatar for rohit joshi

I believe, this is a forum to help C++ programmers, not customers! Oh, are you looking for C++ compilers, then Microsoft Visual Studio Express Edition is a good option

Member Avatar for jbennet
0
159
Member Avatar for marcosjp

EDIT: On second thoughts, you are right. Just a little change [Code=c]ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf #page=4", NULL, NULL, SW_SHOWNORMAL); [/code] Just add a space, cause page=4 is an argument. ---------------- I don't know if there are any [B]real [/B]ways to do it. But how about triggering some keyboard inputs with keybd_event() …

Member Avatar for Prabakar
0
2K
Member Avatar for DLightman

you can use strncpy() [icode]strncpy(a2, strings+4, 4);[/icode] or you can just write a function that would copy 4 bytes from the starting address. The latter is better, I think

Member Avatar for DLightman
0
63
Member Avatar for daviddoria

Print MaxDistance to the console so that you can keep track of the stack. Then analyze the output. Or, better, Debug it. I mean, run the program step by step and see how the variable MaxDistance changes and how the condition "something" and the assignment "something" works

Member Avatar for vmanes
0
158
Member Avatar for Skorpion

Okay let me be brief, 1) Don't use conio.h 2) Don't use void main. int main is the standard way 3) so many if else statements? what if you need the diamond to be bigger. The following code is as good as yours [code=c] puts(" *"); puts(" ***"); puts(" *****"); …

Member Avatar for Prabakar
0
131
Member Avatar for monkey_king

I believe, your real requirement, is to set variable precision for your floating point number. If so The bad news is you can't do it that way. The good news is there is [URL="http://www.cplusplus.com/reference/clibrary/cstdio/printf.html"]another way[/URL]. [icode]printf("This is your value:%.*f", 4, 22./7);[/icode] Follow the link to know how it works Or …

Member Avatar for Prabakar
0
98
Member Avatar for ohnomis

I don't understand why you expect the same answer. You are assigning the chat a value 'a', i.e., 97 is stored in the first byte. Now you are retrieving the value stored in 2 bytes(short), 4 bytes(int and long) so the garbage data will be taken and you are bound …

Member Avatar for Aia
0
167
Member Avatar for skprasat

[QUOTE=axyelp;799502]ummmm.... how can you giv print to a single variable var[i] with %s specifier??? your problem shouldn't be in the code but the definition of var[]![/QUOTE] We don't know how it is declared, do we? It might be a 2D array or an array of Pointers or may be even …

Member Avatar for axyelp
0
114
Member Avatar for ajhais

If you know that there is a way, why not go for it, why should one try all the ways possible? If you are lucky you would have chose the right path the first time. I would go for DFS. I believe one should use a stack and not queue.

Member Avatar for Prabakar
0
105
Member Avatar for michael1201

Two years ago, I wrote a peace of junk which managed to solve the puzzle. I lost the code. But I can say what I did. I had a 9X9 matrix. At the beginning any of the 1-9 numbers can possibly occupy any of the 81 cells. When the user …

Member Avatar for mynameisor
0
270
Member Avatar for Clockowl

Please attach the loadObj.h file. I know I can't help you, but I believe I can learn from you.

Member Avatar for veelck
0
1K
Member Avatar for r.anshul

in decimal to binary, calcuation is ok. you are priinting binary number in reverse order

Member Avatar for r.anshul
0
246
Member Avatar for The Dude

I got 117 in Easy and 126 in hardest and I am going to join the society:) EDIT: One has to pay atleast 80$ to get the Membership:(

Member Avatar for Obeledeveloper
0
155
Member Avatar for shopnobhumi

>>while (x % answer != 0) answer++; 1) The code may be short but gives more work to the computer. You have to check if x is divisible by a number lesser than its square root and thats all you have to do. So In this case the while loop …

Member Avatar for skatamatic
0
830
Member Avatar for Se7Olutionyg

>>isbn1, isbn2, ... why not use isbn[10]? And what are the contents of the infile?

Member Avatar for Ancient Dragon
0
184
Member Avatar for k88joshi
Member Avatar for ArkM
0
88
Member Avatar for IrishUpstart

or did you mean to use [icode]x = lower + width * (i*25 + 0.5) ;[/icode]

Member Avatar for devnar
0
104
Member Avatar for nuubee
Member Avatar for Freaky_Chris
0
109
Member Avatar for scl84

First I thought this should be easy. But I am finding it hard to co relate the / & \ and the spaces according to the nodes present above. The Input to my program is: 5738642 And the output is: [QUOTE]5 37 2468 [/QUOTE] EDIT: By the way I am …

Member Avatar for Prabakar
0
88
Member Avatar for chetoos

int main() { database *employee ; cin >> n ; employee = new int[n] ; for ( int i = 0 ; i < n ; i++) input_data(employee+i); for ( int i = 0 ; i < n ; i++) output_data(employee+i); } EDIT: Also Use code tags properly. Like [code=cpp] …

Member Avatar for Prabakar
0
238
Member Avatar for m_arian

I have to leave now. But at a glance I saw that you use a strange way to print your rectangle class. Have you heard of friend functions? declare the operator<< function as a friend of rectangle.

Member Avatar for Prabakar
0
112
Member Avatar for djhello

[QUOTE=djhello;725208]Why ?? please help me!! this is my homework !![/QUOTE] Thats why you have to do it. Its [B]YOUR[/B] homework.

Member Avatar for c++ prog
0
101
Member Avatar for haven_u

Yeap, Copy the pointer to the first node. And move it to the last node and print the data as you traverse. And did you really understand how your dequeue algorithm works?

Member Avatar for Prabakar
0
93
Member Avatar for JustLearning

Assuming that print forward is to print the data in ascending order all you have to do is inorder traversal which should be something like this [code=cpp]void inorder(tree_ptr) { if ( tree_ptr -> left ) inorder( tree_ptr->left); // print the value stored in this node if ( tree_ptr -> right …

Member Avatar for Sci@phy
0
180
Member Avatar for Kamal_Java
Member Avatar for freudian_slip
Member Avatar for NT-NT

AD has given the [URL="http://www.daniweb.com/forums/post646054-9.html"]answer[/URL] sometime back.

Member Avatar for Prabakar
0
73
Member Avatar for kudusan

[QUOTE=williamhemswort;606080]I made a game in Win32 but it was quite difficult. It is called the 'SameGame' or commonly known as bubblebreaker mainly for phones, It might just give you an idea of how difficult it is to make these kind of games using Win32.[/QUOTE] So I see, You will never …

Member Avatar for Salem
0
306

The End.