107 Topics

Member Avatar for mrnutty

Me? Oh nothing much, just bored at work. Working on a new web-app project on my free time. Planned to be in the appstore. Going to hit #1, just watch. How about you?

Member Avatar for GrimJack
0
284
Member Avatar for mrnutty

Hey guys, haven't been on here for a while. Just thought, I'd get the ball rolling and interact with the community. Anyways, tell me and everyone else on the internet, the derivation of your username? Why? How? What? When? Who? WTF?

Member Avatar for Reverend Jim
0
687
Member Avatar for mrnutty

Gravatar is getting really popular, may sites like stackoverflow or github have incorporated the avatars. It would be nice to have a consistent avatar throughout all forums and sites.

Member Avatar for mrnutty
0
231
Member Avatar for mrnutty

## I know we haven't been doing much of these C++ Community problems so I though I'd write one up to get it started once again.## **Problem Statement:** For some integer `v,w,x,y,z` find all solution to the following equation 1 1 1 1 1 - + - + - + …

Member Avatar for mrnutty
0
119
Member Avatar for mrnutty

What's up ladies and gents. I've been lacking motivation to program lately. I've been doing a little programming here and there, but I work so I mostly program for my job. However, whenever I have free time, I use to program a lot, but that motivation and has been gone …

Member Avatar for kemcar
0
190
Member Avatar for mrnutty

I've been just working at this new enhancement for my company for these few months. I feel like my design is actually good in fact one of the best I've written. But don't be mistaken, it probably isn't the best there could be, I just tried to do my best …

Member Avatar for mrnutty
0
240
Member Avatar for mrnutty

The Step Forward The path that I have taken in life seems to be the path that many follow. Although weird at first, this path seems to lead to the same end goal for each and every one of us, which is to find happiness, whatever that may be. Let’s …

Member Avatar for _avishek
0
217
Member Avatar for mrnutty

And I have partly to thank you guys. I joined DW a while back only occasionly used it. Then stoped. Then started using it more and more. Over the years it has been great. Everything has been great. Everyone has been great. I wish it was possible that we could …

Member Avatar for ndeniche
1
233
Member Avatar for mrnutty

This question is from code chef, named Odd. I believe this is a good problem to play with for all levels. If I can solve it surely anyone else can, cough * only if pi is fake* cough*. Here is the question : [ICODE]The captain of the ship TITANIC is …

Member Avatar for nezachem
1
675
Member Avatar for mrnutty

Check out the [URL="http://en.wikipedia.org/wiki/Boggle"]wiki[/URL] for boggle. You job is to create a program that generates all possible words that can be constructed given the boggle board and a dictionary. A word has to be of length three or greater and the word has to exist in the dictionary. For example …

Member Avatar for mrnutty
0
267
Member Avatar for mrnutty

[URL="http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books/"]List of free programming books[/URL]. Enjoy and happy new year!

Member Avatar for YAMNA MIDHAT
4
135
Member Avatar for mrnutty

It is sad to say that Christopher Hitchens died yesterday, failing the battle against cancer. He was a great author and even better person. It is because of him, I learned the many arguments against religion. He will be missed. My sincere condolence goes out to him. May he rest …

Member Avatar for mrnutty
0
113
Member Avatar for mrnutty

I'm graduating this december and I got a job offer!!! Will be working for FactSet. I can't believe it. This is so crazy. Thanks everyone for helping me when in need. I'm just so happy :) regards firstPerson

Member Avatar for Netcode
1
175
Member Avatar for mrnutty

This code below add two positive numbers in any base from binary to base 36 with any length allowed by memory. The snippet comes with examples. There might be some bugs, because I haven't tested extensively, so forgive me if you find bugs. Hope people find it useful somehow. Thanks …

Member Avatar for Tumlee
0
690
Member Avatar for mrnutty

[B]Problem question:[/B] Given the sequence A and B, where A is the inorder traversal value and B is the pre-order traversal value, reconstruct the binary tree that produces such results when performing inorder and pre-order traversal on that binary tree. To reconstruct the binary tree you can simply print the …

Member Avatar for vidit_X
0
372
Member Avatar for mrnutty

Start thinking about the things you use to do before you ever knew about programming and now think about how you changed that as a result of programming? What was it? As an example, I always use to start numbering from 1, but after taking my first programming course and …

Member Avatar for chiiqui
0
449
Member Avatar for mrnutty

Just for exercise, if people want to give it a go; see how creative one can be. [b]Problem Statement:[/b] Given a list of data from a file( or user input which ever) as such: [code] char 1 char 2 char 26 char 27 char 52 char 53 [/code] output the …

Member Avatar for iamthwee
1
151
Member Avatar for mrnutty

I'm presenting to day at my internship in front of the whole company and the president, wish me luck!!!! I'm so nervous.

Member Avatar for iAssistant
0
180
Member Avatar for mrnutty

Meant mostly for windows, uses system("cls") although you can simply set USE_NON_STANDARD_CLS to false and it will use newlines to clear screen. Test it out. [code] /** * Note: Use at own risk, this is just for fun */ #include <algorithm> #include <iostream> #include <vector> #include <string> #include <windows.h> #include …

Member Avatar for mrnutty
0
156
Member Avatar for mrnutty

Hypothetically speaking, supposed Mr.X was able to get into a restricted link in daniweb where Mr.X didn't have the privilege to do so regularly. What would happen to Mr.X is he was caught? Is there any laws against it?

Member Avatar for happygeek
0
132
Member Avatar for mrnutty

Feel free to ignore this rant. I am up to my neck with programming, so much so that I'm getting sick of it. I know I can't believe I would ever say that either. I'm at work right now( internship ), and I just want to leave. I don't want …

Member Avatar for mrnutty
0
112
Member Avatar for mrnutty

Time to time I see some common mistakes or even make some my self. I figure I would post some of these, with hopes that people will learn from my and others mistakes. [B]1) Why you no work?[/B] [code] int sum = 0; for(int i = 1; i < MAX; …

Member Avatar for Moschops
0
144
Member Avatar for mrnutty
Member Avatar for sergent
0
83
Member Avatar for mrnutty

First of all, I am a confused christian, and I am creating this thread to see if I can clear out some fog in my head. So lets start. Claim: The bible is false in the sense that it was not written with the guidance of "god" Reasons for my …

Member Avatar for iamthwee
2
1K
Member Avatar for mrnutty

Anyone here working on some project? I'm just curious on what people here work on? Maybe its a job or maybe a virus to steal bank accounts, either way, don't hesitate not to say and announce it here. This could potentially give others ideas on what their next project should …

Member Avatar for sergent
0
205
Member Avatar for mrnutty

What are your guys opinion about god? Are you guys atheists, theist, or don't care? Can we discuss about god.

Member Avatar for crunchie
0
871
Member Avatar for mrnutty

I got a big summer internship interview today. Wish me luck!!! I'm gonna need it.

Member Avatar for jingda
0
236
Member Avatar for mrnutty

I want you to name one thing that you really want and is plausible( not some ridiculous wish) and fair, and tell me whats stopping you from getting it? And then I want you to go and get it!!! Fight through the walls and barriers and grab the prize!!! Yesterday, …

Member Avatar for susheelsundar
2
284
Member Avatar for mrnutty

The simplest sort, although inefficient. Below is a demonstration of bubble sort and insertion sort. The bubble sort just consists of 2 for loops and std::swap. The insertion sort uses 2 loops as well but not as much swap as bubble sort. Any questions ?

Member Avatar for 88omar
1
434
Member Avatar for mrnutty
Member Avatar for mrnutty

If I use ProcessBuilder or Runtime.exec function, in a JApplet, does that applet needs to be signed or is there a way to get around this? I need to communicate with a C++ executable using java JApplet.

Member Avatar for mrnutty
0
92
Member Avatar for mrnutty

Anyone here have an facebook? I'm ready to reveal myself. Be aware, I'm kinda young, and I have a baby face, as I've been told. Anyways, here is firstPerson's true identity. I know i'm not very important, but you guys are like my online buddies. I feel at home here. …

Member Avatar for Borzoi
0
171
Member Avatar for mrnutty

[B]Problem statement:[/B] Give two sets [TEX]A[/TEX] and [TEX]B[/TEX], devise and algorithm that checks if A and B are [URL="http://en.wikipedia.org/wiki/Disjoint_sets"]disjoint[/URL]. The following information are given about the set [TEX]A[/TEX] and [TEX]B[/TEX]: [LIST=1] [*][TEX]|A| = |B| = n[/TEX], that is number of elements in both sets are n [*]A and B are …

Member Avatar for arkoenig
0
102
Member Avatar for mrnutty

Just for Fun, and for reference to the web searchers, lets start a series of problems in computer science thats ranges in difficulty from [1,10], where 1 is easy, and 10 is harder. Maybe I and others will learn something useful from this. The following exercise is meant as an …

Member Avatar for csurfer
0
125
Member Avatar for mrnutty

You know when I was in nepal, all I worried about was school. I lived and ate for school. But it was not out of interest, it was out of the society. The society, specifically my mom, was pushing me/us to eat and sleep academia. Now thats exactly what I …

Member Avatar for alan145
0
316
Member Avatar for mrnutty

Just a beta of what I was working on lately. It evaluates mathematical expressions like [i]2*3[/i]. Anyways, its explained in the program. Report of any bugs would be great because I haven't tested it out that much. Without further ado, you can download the program [URL="http://uploading.com/files/ef3f69c5/ExpressionEvaluatorBETA.zip/"]here[/URL], [URL="http://www.easy-share.com/1912008094/ExpressionEvaluatorBETA.zip"]here[/URL] or [URL="http://www.mediafire.com/?69oo679h46sgtq2"]here[/URL]. Try …

Member Avatar for mrnutty
0
99
Member Avatar for mrnutty

Just post random stuff here, anything you want. Say whatever you like. For example, anyone here have a facebook?

Member Avatar for Nick Evan
0
282
Member Avatar for mrnutty

Its a typical implementation of mergesort algorithm. It runs in a stable time of O(n*log(n) ). Just thought, I would add it to the library. Its been tested, although not very throughly, so if any bugs are found, just post it here, so others can be aware of them. Its …

Member Avatar for Rashakil Fol
0
881
Member Avatar for mrnutty

You are given a number D, for which 0 < D < 1,000,000 [B]Your task[/B] : is to find the number of irreducible fractions for a fraction of the sequence, (D-1)/D , (D-2)/D ... 1/D. For example, let D = 12; Then listing all fraction increments of 1/D we get …

Member Avatar for mrnutty
0
295
Member Avatar for mrnutty

Is it just me, or does it seems that people posting here are getting dumber and dumber? Dang if its this hard for you then, go work at McDonalds or something.

Member Avatar for mrnutty
-1
107
Member Avatar for mrnutty

Say you have a class Foo, and it contains some member variables. And in that class you have a const-correct function. Can you code some way in C++, that changes the private member variable, inside the const-correct function. For example : [code] class Foo{ int num; public: void doIt()const{ num …

Member Avatar for Fbody
0
96
Member Avatar for mrnutty

From project euler : [code] By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. [COLOR="Red"]3[/COLOR] [COLOR="red"]7[/COLOR] 4 2 [COLOR="red"]4[/COLOR] 6 8 5 [COLOR="red"]9[/COLOR] 3 That is, 3 + 7 + 4 + …

Member Avatar for iamthwee
0
138
Member Avatar for mrnutty

Look [URL="http://www.spoj.pl/problems/ADDREV/"]here[/URL] for a complete description of the problem. Your code should follow the coding standards, good names, spacing, easy on the eyes...etc. Make sure you handle all test case and boundaries. Good Luck, and happy coding. Although this is a C++ forum, it would be nice to see some …

Member Avatar for iamthwee
0
343
Member Avatar for mrnutty

This is a simple demonstration of meta programming. It shows the idea of meta programming. It basically calculates the factorial of a number before runtime. When I first saw the concept of meta programming, it blew my mind so badly. I was so surprised that one could do this. Its …

Member Avatar for griswolf
2
410
Member Avatar for mrnutty

How do I get over a break up? I am feeling really shitty. My ex girl who was my first just gave me the "we should be friends" card. Actually we been on and off lately because of some complicated stuff. But now, I don't want to go back, and …

Member Avatar for mrnutty
2
119
Member Avatar for mrnutty

Does browser treat "id" and "class" as the same, even though they have different meaning?

Member Avatar for rajarajan2017
0
130
Member Avatar for mrnutty

Download [URL="http://www.2shared.com/file/MGH_DXrx/lol.html"]this [/URL]great app, that I created. You will like it if you like basketball, especially.

Member Avatar for mrnutty
0
71
Member Avatar for mrnutty

[URL="http://www.youtube.com/watch?v=WIlkX87FolQ"]This[/URL] my friend is what true love is. I feel the need to share you a story, a wonderful story. Yesterday night, I pondered about heaven and how I couldn't wait for the eternal happiness. I prayed and talked to god. Today I received a message. I felt such a …

Member Avatar for diafol
1
114
Member Avatar for mrnutty

Not exactly sure where I would have posted this, maybe in the help wanted section, if there is one,( sorry I didn't bother looking). But I feel like I should place this post here, because there are some smart people that lurks in these woods. So I have my first …

Member Avatar for mrnutty
0
146
Member Avatar for mrnutty

Its this side thing I was working one, when I got the chance. Its not very good right now, as its still in its developing stage. But its still ok, where I can show it of, lol. Attached is an exe, that given a set of data points, it tries …

Member Avatar for NathanOliver
2
168

The End.