- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 52
- Posts with Upvotes
- 44
- Upvoting Members
- 35
- Downvotes Received
- 8
- Posts with Downvotes
- 7
- Downvoting Members
- 6
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…
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. |
|
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 … |
|
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] … |
|
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........................... |
|
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 … |
|
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 … |
|
how to complile and execute a c pro in editplus |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
[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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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': … |
|
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 … |
|
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!! |
|
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 … |
|
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 … |
|
Hi Guys, how to call one shell script from another script inside a loop ? any suggestion most welcome. Prakash |
|
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 |
|
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 … |
|
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!!! |
|
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] |
|
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 … |
|
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? |