Posts
 
Reputation
Joined
Last Seen
Ranked #348
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
~56.4K People Reached
About Me

Leader of the Volts. The Thunder Emporer.

Interests
Anime
Favorite Tags
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
739
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
993
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
892
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
213
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
49
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
187
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
199
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
882
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
134
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
246
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
259
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
255
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
194
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
187
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
92
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
270
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
145
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
164
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
94
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
155
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
60
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
157
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
127
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
96
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
164
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
113