Posts
 
Reputation
Joined
Last Seen
Ranked #178
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
87% Quality Score
Upvotes Received
52
Posts with Upvotes
44
Upvoting Members
35
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
6
29 Commented Posts
~275.16K People Reached
About Me

I'm an addict of gaming..
Love software development.. Love C++, hate Java [mods please let me say that here at least :)]..
A fast driver (as much as Bangalore traffic will permit)..
Mmmm what else.. yeah photography.. See my blogs..

Interests
Photography Gaming: - AOE (TC usually) - Q3 Chess Last but not the least by far: Programming :)
PC Specs
Fujitsu Siemens Lifebook 7110 S -------------------------------------- Home made: Gigabyte GA-P35-DS3L…
Favorite Tags
Member Avatar for samaru

Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a …

Member Avatar for Salem
2
52K
Member Avatar for The Dude

OK -- You take the LAST word of the sentence and make a new sentence. EX: A man lived by the water. The Result: [b]Water[/b] the grass.

Member Avatar for Dani
3
11K
Member Avatar for rugae

I'm not quite sure the difference between strcmp and == operator when comparing 2 different strings, I was told to do this but == works as well with less typing. [code=C++] if ((strcmp (a, b[i]) == 0)) { someMethod(); } else someOtherMethod(); _______________________________ if (a==b)) { someMethod(); } else someOtherMethod();[/code] …

Member Avatar for Nikolay_2
0
4K
Member Avatar for pranitha_dolls

good afternoon to every body iam doing my final year btech(cse).iam thinking to do mini project in java. i have less knowledge how to start,how to get title,how to proceed .can any one please give ur advice to me...........................

Member Avatar for Sharon_5
0
154
Member Avatar for ~s.o.s~

Hello to all programmers out there. Considering the growing request for practice problems by the beginners, we ( Me, Joey, Niek, Aaron..) have decided to start a sticky which will host some common practice problems which would help the beginners in understanding the programming concepts in a better way. (Did …

Member Avatar for gyno
22
7K
Member Avatar for toldav

Hi Guys, I'm new to awk and trying to format an stadout "temp.txt" to csv format so I can export to excel. I'm having issues here is my code so far..If any one can help to see the light!!! The ### sign is the second server on the list each …

Member Avatar for thekashyap
0
228
Member Avatar for pavani2006
Member Avatar for jessicaphillips

Hello people, I have this C programming assignment which I have no time to do as my Uni workload is too large. The assignment should take, if you are an experienced C programmer, no longer then an hour. I am willing to pay $30/£20 for anyone to help me. If …

Member Avatar for Schol-R-LEA
1
635
Member Avatar for linux

This is kinda like the word association also located in the Geek's Lounge. What you do is take the song listed before you and make another song and artist with the word it it. example: 1: Heaven - Los Lonely Boys 2: Stairway to [B]Heaven[/B] - Led Zeppelin You can't …

Member Avatar for <M/>
0
3K
Member Avatar for The Dude

1. How Do You Catch A Unique Rabbit? Unique Up On It. 2. How Do You Catch A Tame Rabbit? Tame Way, Unique Up On It. 3. How Do You Get Holy Water? You Boil The Hell Out Of It. 4. What Do Fish Say When They Hit A Concrete …

Member Avatar for Ene Uran
9
3K
Member Avatar for abd2

hi, this is the code: #include <stdio.h> main() { int m1, m2, m3, m4, m5, per; printf("Enter marks in five subjects\n"); scanf("%d%d%d%d%d",&m1,&m2,&m3,&m4,&m5); per=(m1+m2+m3+m4+m5)/5; if(per>=60) printf("first division\n"); if((per>=50) && (per<60)) printf("second division\n"); if((per>=40) && (per<50)) printf("third division\n"); if(per<40) printf("fail\n"); } this is the output for: [root@localhost lbin]# gcc -o division division.c …

Member Avatar for kimchong
2
2K
Member Avatar for aasi007onfire

[code]void strcpy(char *s, char *t) { while ( (*s++ = *t++) != `\0);}[/code] i saw this code in a particular book..... in the what does the assignment statement (*s++=*t++) return each time it gets executed........ all along i was thinking that the assignment statement return a 0 or 1 based …

Member Avatar for Ancient Dragon
0
185
Member Avatar for GrimJack
Member Avatar for shouvik.d

Hi, I have a Win32 Console Application which is throwing the Debug Assertion Failed! .. _CrtIsValidHeapPointer( pUserData ) and followed by a Debug Assertion Failed! .. _BLOCK_TYPE_IS_VALID(pHead->nBlockUse). After I did a Step by Step Debug strangely what I saw was it is throwing error once it is exittin the main …

Member Avatar for atoutsweb
1
1K
Member Avatar for C0ding

Hello everyone, Is been a while since i've been trying to rename a file using the ren batch command, but for some reasons is not working for me. could some one please give me an idea on how to reanme a file with a batch file? Thanks in advance. This …

Member Avatar for C0ding
0
252
Member Avatar for vuquanghoang

I'm going to have a lecture about Tree, in the slide have a piece of code like that [CODE] public int iPathLength(int level) { return level + this.getLeft().iPathLength(level + 1) + this.getRight().iPathLength(level + 1);[/CODE] I think this function is wrong since as I concern, recursive function have to have a …

Member Avatar for Momerath
0
138
Member Avatar for java_programmer

I was trying to run a shell script and run it through Cygwin terminal in XP environment. The script I have written is as follows - [CODE]#!/bin/bash read -p "Enter Your name - " fname if test "$fname" == "abcd" then echo "Thank you abcd" fi[/CODE] When I am trying …

Member Avatar for java_programmer
0
685
Member Avatar for sudhanshu12788

Hi, I want to read a file from the command line and remove all the spaces, tabs in it, replacing it with comma(,), and write it to a new file. can you help me out with this scenario.

Member Avatar for deepkw
0
195
Member Avatar for rushikesh jadha

why this code not produce any reaction on any command [CODE]#include<stdio.h> #include<unistd.h> #include<fcntl.h> #include<stdlib.h> void count(char c,char *fn) { int lc=0,wc=0,cc=0,handle; char ch; if(handle=open(fn,O_RDONLY)==-1) { printf("File %s fail to open",fn); return; } while(read(handle,&ch,1)!=0) { if(ch==' '||ch=='\n') { wc++; }else cc++; } if(ch=='\n') { lc++; } close(handle); switch(c) { case 'c': …

Member Avatar for thekashyap
0
154
Member Avatar for Aamit

Hi, [code] check_time() { fileName=$myFileName newTime=$line newtimeaccess="date --date \"$newTime 6 hour\" '+%Y-%m-%d %H:%M:%S'" newtimeaccess=`echo $newtimeaccess | sh` strnewtime=$(date -d "$newtimeaccess" +%s) systime=$(date +%s) if [ $systime -le $strnewtime ] then return "$fileName__0"; else return "$fileName__1"; fi } value=`check_time "$myFileName $line"` ##$myFileName -- file name and $line -- time of file …

Member Avatar for thekashyap
0
841
Member Avatar for ayanbizz

I am trying to implement huffman coding scheme in java.But I am facing problems in building the huffman tree.How to proceed ?Is there any datastructure in java that will help me to do it?Please help!!

Member Avatar for Ezzaral
0
413
Member Avatar for jaango123

Hi All, When I am trying to add a device, ibm the Datapower Managementperspective in Eclipse tool getting the below error. Updating version information - Error cause:java.security.NoSuchAlgorithmException:IbmX509 KeyManagerfactory not available Any idea, about this error. We are not getting any clue on this error. We added the certificate to the …

Member Avatar for rajparekh08
0
287
Member Avatar for natnit

My research group is trying to implement a hash table to reduce the effects of a very costly step in our calculations. Basically, it can take more than an hour to go from A to B, and B is something ridiculously simple, like a number between 1 and 100. A …

Member Avatar for Adak
-1
3K
Member Avatar for Prakash_8111

Hi Guys, how to call one shell script from another script inside a loop ? any suggestion most welcome. Prakash

Member Avatar for nikita.
0
3K
Member Avatar for coding101

Is there some sort of script I can write that logs usernames every time someone (other than owner) "cd's into my pub directory"? any ideas? thanks

Member Avatar for thekashyap
0
147
Member Avatar for mcconnell_34

Hey, I need to know what identifier i can use instead of string that will output all of the words that you type in the program. For example: if i was to use string ans1; cout <<"How are you?: "; cin >>ans1; and for my answer i typed "very good"...it …

Member Avatar for Narue
0
180
Member Avatar for Narayanan87

HI I am new to regex, could anyone help me in finding the java code using regex: My input string is : MyData 68309486 Bob I want to fetch only the digits in sequence like 68309486. PLz help me!!!

Member Avatar for thekashyap
0
155
Member Avatar for neptali

I've use to create this in Turboc++ 3.0 and there are four linker error how could i fix this? [CODE]#include<stdio.h> #include<graphics.h> #include<conio.h> main() { int gd=DETECT,gm,col=0; initgraph(&gd,&gm,"c:\tc\bgi"); while(!kbhit()) { setcolor(15); circle(col,100,50); col++; if(col>=600) col=0; cleardevice(); } }[/CODE]

Member Avatar for thekashyap
0
163
Member Avatar for valestrom

I have a function, kinda like a main menu. But no matter what it always picks the first statement, even if it doesn't match the parameters of it's if statement, so it nevers get to the exit game function. So I can't use my close game function, and I would …

Member Avatar for valestrom
0
2K
Member Avatar for _neo_

Is there a way to get current date and time from remote windows machine on linux? On remote windows machine ssh not enabled, there are no powershell. Can we achieve result via telnet or smbclient?

Member Avatar for _neo_
0
1K