Posts
 
Reputation
Joined
Last Seen
Ranked #412
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
81% Quality Score
Upvotes Received
75
Posts with Upvotes
53
Upvoting Members
29
Downvotes Received
33
Posts with Downvotes
31
Downvoting Members
4
6 Commented Posts
10 Endorsements
Ranked #199
Ranked #464
~158.78K People Reached
About Me

enthusiast programmer.

Interests
java, datastructures.
PC Specs
win8 , 500gb hdd , 4gb 1333Mhz ddr3 , radeon 7670m
Favorite Tags
Member Avatar for Duki

Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :)

Member Avatar for Reverend Jim
22
17K
Member Avatar for Rahul47

Writing a function strreplace(s,chr,repl_chr) to replace the character 'chr' with character 'repl_chr' in a givne string s. I have done so far with following code. Getting awkward output. // Program to replace occurence of a character with another character in a string. #include<stdio.h> #include<conio.h> void strreplace(char *,char,char); int main() { …

Member Avatar for Reverend Jim
0
21K
Member Avatar for nithyananthanaiker

Hello guys. I am currently developing an OCR tool using Chain-code algorithm in Java. I was googling and found this code in Matlab. I have no idea on using Matlab. So, I need help from someone who's good in Matlab to convert it into Java. This will be a big …

Member Avatar for Neha_18
0
1K
Member Avatar for Adhya_1

So, my teacher gave me this assignment to write a program to enter a four digit number Andries each digit of the number in a separate line. For example, if a user inputs 1234, the output should be: 1 2 3 4 I'm stuck. Please help ASAP. We have learnt …

Member Avatar for Lucaci Andrew
0
243
Member Avatar for somjit{}

The last time a major change happened, i remember in a community chat few people (including me) were saying that the new changes looked a bit girly :P That won't work this time though. This is so totally different from vintage Daniweb. Also, i see some stuff probably not working …

Member Avatar for rproffitt
0
141
Member Avatar for Huseyin_1

Hi programmers, i need to have a code to produce a round robin algorithm. Can you help me?? The requirements are that it must have: A menu system with the options (1 input data manually-if option 1 is selected a)to read data from file, b)to enter data by hand, 2-automatic …

Member Avatar for somjit{}
0
271
Member Avatar for somjit{}

My Program is about Directed Graphs. It reads a list of edges like : `25 589` , and puts 589 into the adjacency list (a linked list) of 25. My input file has about 5 Million such `v w` edges, with about 800K nodes/vertices, for each of which there will …

Member Avatar for somjit{}
0
469
Member Avatar for somjit{}

I work in it now, its kinda hard to work on , given its wanton use of GOTO , its difference from everything i know (save for assembly perhaps , but i only remember less than 10 commands there anyways :P ) , and the fact the its entire online …

0
118
Member Avatar for somjit{}

The below post is just something i thought of contributing here for young( or old ) members starting out in C. In (effectively) 3 lines of code , i hope to give an intro about pointer arithmetic and how endian-ness in windows affects the output. #include<stdio.h> int main(void){ int a …

Member Avatar for somjit{}
0
408
Member Avatar for somjit{}

chrome , firefox.. these are great browsers , and even if i write utter crappy html code, it still makes sense out of it , and tries to display it the way a proper code would have made it display. thats great stuff unless i want to know/see the errors …

Member Avatar for almostbob
0
265
Member Avatar for debasisdas
Member Avatar for James_28
8
16K
Member Avatar for somjit{}

My assignment says : Write a program to perform following stack operations : Create a stack with item code and quantity Itemcode Quantity 111 450 112 0 113 487 114 101 115 500 116 0 117 359 and then Delete the items having quantity zero and update the stack. My …

Member Avatar for Mouche
0
284
Member Avatar for <M/>

Who here plays a musical instrument? I play piano (about 8 years), violin (i am new, technically...), and the triangle :D. How about you guys?

Member Avatar for diafol
0
234
Member Avatar for <M/>

Who here plays sports? Or at least did? I do: Football (varsity, Wide Receiver & Corner), track & field (varsity, 100m sprinter), basketball (varsity, small forward & point guard), and (i am counting this one) a bodybuilder (bodyweight training with a bit of weights ;D). What do you guys do?

Member Avatar for Lardmeister
0
238
Member Avatar for somjit{}

If we have something in a `div` block , how come it can flow out of the `div` block as if nothing's even there ? For example , here : <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="box.css"/> <title>Result</title> </head> <body> <div> <p>one</p> <p>two</p> <p>one</p> <p>two</p> <p>one</p> <p>two</p> </div> </body> …

Member Avatar for cmps
0
154
Member Avatar for woomar

Hi. I was wondering if someone could explain to me how to make some new node point to the first element in a list.

Member Avatar for somjit{}
0
228
Member Avatar for sirlink99

I am having a problem deleting nodes from my Binary search tree. What I have so far does part of what it is supposed to do. I read in an input (paragraph of text) to create the tree (organized via ASCII character values). I make it, then print out all …

Member Avatar for sirlink99
0
291
Member Avatar for somjit{}

I saw a tutorial from a site where it showed the use of `ArrayBlockingQueue` as a thread-safe concurrent data-structure . Just for learning purposes , i tried to build something similar using synchronized and wait-notify methods in java. I'm hoping someone could guide me to some improvements and point out …

Member Avatar for ~s.o.s~
0
206
Member Avatar for somjit{}

Remember High-school maths ? there was this greek letter Sigma ( if i remember correctly ) , followed by an algebraic function like `f(n)` , where `n = a to b` would be short-formed as `a` below the `sigma` , and `b` sitting on top of it. I want to …

Member Avatar for somjit{}
0
791
Member Avatar for somjit{}
Member Avatar for somjit{}

viewed <M/>'s profile ... dude has 105 endorsements ! Congratulations :D

Member Avatar for <M/>
0
194
Member Avatar for Hanyouslayer

What I'm attempting to do is read a text document to pass in variables into an arraylist of shape objects that I will use to create shapes. I don't need any help with the actual drawing of the shapes, working with the arraylist, or the initial scanning setup. I thought …

Member Avatar for Hanyouslayer
0
798
Member Avatar for somjit{}

I think i have understood the basic locks , synchronized statements and methods etc etc . I would like to actually program something that used all this. Something that is prone to breaking if one is not careful , also would love if there is swing involved ( i read …

Member Avatar for JamesCherrill
0
141
Member Avatar for woomar

Is it possible to make some Junit tests that assertTrue (condition, throw some exeption) if condition was false or if condition would throw something, say assertEquals (codition, new Excepption) ?

Member Avatar for somjit{}
0
212
Member Avatar for woomar

If I have a chess board 8x8 And in my copy constructor I want to deep copy it. How would I go about doing it? This is what I have: public class chessBoard { private Chess[][]board; public chessBoard (){ board = new board[8][8]; for (int i = 0; i < …

Member Avatar for JamesCherrill
0
741
Member Avatar for somjit{}

So anyone here who loves sublime text ? I do , and i use it on windows as my sql editor and compiler. (i have a batch set up which complies the code on mysql , and the output is tee'd back to another open text file)

Member Avatar for somjit{}
0
263
Member Avatar for dogface13

Hi Daniweb community, I have implemented a node class, DoublyLinkedList class and a SinglyLinkedList class. For each DoublyLinkedList node created, there is supposed to be a reference to a NEW SinglyLinkedList. Meaning each DLL Node has its own SLL. I have such a reference created which is a single node …

Member Avatar for dogface13
0
274
Member Avatar for android_gl

i have a java project for my resume that i put it on github. and i want a fastest way to some one else to run my project. should i just put all my files there? likesrc, bin, .setting, etc... or should i just put 'src' files. or should i …

Member Avatar for JamesCherrill
0
302
Member Avatar for tindoh
Member Avatar for somjit{}

I'm a bit confused about the use of "for" in the above statement.( i read the line from the [oracle tutorials](http://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html) ) I suppose a thread has its run() method , inside which there is some code. That code might call a method **of** an object... and by this point …

Member Avatar for JamesCherrill
0
174