- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 75
- Posts with Upvotes
- 53
- Upvoting Members
- 29
- Downvotes Received
- 33
- Posts with Downvotes
- 31
- Downvoting Members
- 4
enthusiast programmer.
- Interests
- java, datastructures.
- PC Specs
- win8 , 500gb hdd , 4gb 1333Mhz ddr3 , radeon 7670m
| |
| Re: 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) |
Re: 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 … | |
Re: It's funny to see ASAP coming from someone apart from one's stingy boss :D | |
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 … | |
Re: Getting a private auto-message for an sponsored post, and coming here to find homework.. just screwed my mood. | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: if you had looked at what you didnt want to see, you might have felt less of what you didnt want to feel. | |
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 … | |
Re: 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 … | |
Re: 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 ... ) | |
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> … | |
Re: 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. | |
Re: 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 … | |
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 … | |
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 … | |
viewed <M/>'s profile ... dude has 105 endorsements ! Congratulations :D | |
Re: 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 … | |
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 … | |
Re: 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. | |
Re: 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. | |
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) | |
Re: 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 .. | |
Re: > 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. | |
Re: 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 ? | |
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 … |