Posts
 
Reputation
Joined
Last Seen
Ranked #417
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 #180
Ranked #464
~160.49K 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
Member Avatar for Rahul47

i think i have an idea of whats happening , but when you say awkward output , posting the awkwardness here would help tame it :) note : scanf() to read a character is a very bad idea. read more from [here](http://www.gidnetwork.com/b-59.html)

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

Although it has been sometime since i last programmed in matlab , if i recollect properly , matlab code , in essence is a lot like C.. ie , procedural. java is OO . also , functions built into matlab , in many cases can be quite complicated , and …

Member Avatar for Neha_18
0
1K
Member Avatar for Adhya_1

It's funny to see ASAP coming from someone apart from one's stingy boss :D

Member Avatar for Lucaci Andrew
0
252
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
142
Member Avatar for Huseyin_1

Getting a private auto-message for an sponsored post, and coming here to find homework.. just screwed my mood.

Member Avatar for somjit{}
0
278
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
421
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
276
Member Avatar for debasisdas

if you had looked at what you didnt want to see, you might have felt less of what you didnt want to feel.

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
291
Member Avatar for <M/>

i have about 18 years of expirience banging tables :P only reason i dont have a drumkit at home is because of how quiet my neighborhood is , and how much the neighbors would like to keep it that way. I played guitar , until the neck bent and now …

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

i'm currently developing a belly on a skinny body. i like to run when the weather is nice and i can get up early in the morning. btw , congratz on getting resurrected ( i think i made a typo ... )

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
155
Member Avatar for woomar

create an inner list `Node` , which will have 3 feilds : `prev` ,`next` and `data` . If your creating a singly linked list , you can do with only data and `next`. `next` and/or previous will refer/point to the next/prev node in the list.

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

its a lot of code to go through , lets see.. What if you put the elements in a sorted manner inside the BST ? does that comply with your assignment rules ? if yes , you can use buffered reader , read a line , .split() it , sort …

Member Avatar for sirlink99
0
302
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
207
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
792
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

your text file looks pretty ordered to me. The only place where you might need scanner for input parsing purposes is when there may be unexpected lines in-between two valid lines , or a valid line has garbage in between two valid key words. split() works there too , but …

Member Avatar for Hanyouslayer
0
803
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
143
Member Avatar for woomar

i never used JUint , i use eclipse debugger for most cases. You can also just have assert() statements at strategic locations in your code , and enable assertion when you want to test it.

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

why say deep ? it looks like plain simple copy. However , you might want to add checks for the size of other , instead of hardcoding it to 8.

Member Avatar for JamesCherrill
0
747
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

Okay , so for life on the heap , what i guess this means is that Your DLL is a datastructure that hold elements of type SLL ? Perhaps that makes it easier to understand whats going on and how things can be improved ..

Member Avatar for dogface13
0
287
Member Avatar for android_gl

> thanks, but I am not looking for career advice from you. 1. the statement was uncalled for. because 2. your not even sure which one you want - run or review.

Member Avatar for JamesCherrill
0
304
Member Avatar for tindoh

any language is easy with enough time and dedication. anyways , I'm not sure if this is a question , perhaps you posted in the wrong place ?

Member Avatar for somjit{}
-1
168
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
176