Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 500
Search took 0.02 seconds.
Search: Posts Made By: Weird Fishes
Forum: Other Programming Languages Jan 29th, 2011, 3:32 PM
Replies: 1
Views: 1,968
Posted By Weird Fishes
Re: Help with VHDL code

You can't expect anyone to help you with the information you've given. You haven't indicated what you need help with specifically or what you have done so far.

Also, please be aware that PFO does...
Forum: C++ Jan 22nd, 2011, 9:06 PM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Re: Type Mismatch Error

Ah ok, that makes sense. Thanks.

Anyway I figured out the error. I had ptr->next a couple lines down where next is a function. Changed to ptr->next() and everything's fine. Don't know how I missed...
Forum: C++ Jan 22nd, 2011, 8:52 PM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Re: Type Mismatch Error

I made the same edit just now on a fresh copy and didn't get an error either... I'll have to dig around and see what's actually causing this.

Thanks for the explanation as well. What exactly do you...
Forum: C++ Jan 22nd, 2011, 7:49 PM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Re: Type Mismatch Error

It's fairly close except head is a pointer to a different class (a node instead of a list).

The base code is actually available publicly (it's a school project) here if you are so inclined:...
Forum: C++ Jan 22nd, 2011, 2:07 PM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Re: Type Mismatch Error

As in const Single_node<Object> *ptr = rhs.list_head;?

That results in the same error argument of type ‘Single_node<int>* ( Single_node<int>:: )()const’ does not match ‘const Single_node<int>*’
Forum: C++ Jan 22nd, 2011, 12:09 PM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Re: Type Mismatch Error

I can't do that, but if that's the problem I'll have to find a different strategy.

Thanks
Forum: C++ Jan 22nd, 2011, 11:52 AM
Replies: 10
Views: 5,954
Posted By Weird Fishes
Type Mismatch Error

I'm getting a mismatched type error in a function overloading = for a linked list.

The method signature is:
Single_list<Object> &Single_list<Object>::operator = ( const Single_list<Object> &rhs...
Forum: Coder's Corner Lounge Jul 24th, 2010, 6:34 PM
Replies: 9
Views: 2,766
Posted By Weird Fishes
Re: Degree's

I learned C# in my first year of university.

Granted, it was only because of a big Microsoft donation to the university, but it's an okay language to learn.
Forum: C# Jul 22nd, 2010, 8:05 AM
Replies: 20
Views: 6,011
Posted By Weird Fishes
Re: Mathmatical methods

It looks like you still don't quite understand functions. Try to look around on the internet for some information and do some reading.



answer does not do anything.
You're currently doing the...
Forum: C Jul 21st, 2010, 8:57 PM
Replies: 31
Views: 13,708
Posted By Weird Fishes
Re: problem with SCANF!!!

A misleading suggestion is still misleading.
Forum: C# Jul 21st, 2010, 7:30 PM
Replies: 20
Views: 6,011
Posted By Weird Fishes
Re: Mathmatical methods

It sounds like you're making a very similar error. Can you post what you changed?
Forum: C# Jul 21st, 2010, 4:07 PM
Replies: 20
Views: 6,011
Posted By Weird Fishes
Re: Mathmatical methods

Please use code tags.
I think you may need to look over how functions work.

I'm feeling generous today so:

A function takes input and returns output (generally, you can leave out one or both of...
Forum: Software Design and Algorithms Jul 18th, 2010, 10:45 PM
Replies: 43
Views: 9,182
Posted By Weird Fishes
Re: 12mrsaturn's super official thread for his esolang contest!

I'm gonna try and write something for this after exams. I have to spend a week with my family at a cottage so I know I'll need something to do. Can we extend the approximate not-really-a-deadline...
Forum: Java Jul 16th, 2010, 12:56 PM
Replies: 3
Views: 2,125
Posted By Weird Fishes
Re: newbie in java_help

That doesn't make any sense. You'll have to be more specific if you want anybody here to help you. For example, what specifically is wrong with this method?
Forum: Coder's Corner Lounge Jun 27th, 2010, 6:07 PM
Replies: 2
Views: 2,122
Posted By Weird Fishes
Re: I have a project in mind, but I don't know which language I should learn

You mean like this: http://www.tiddlywiki.com/ ?
Forum: C++ Jun 26th, 2010, 11:02 AM
Replies: 143
Views: 36,365
Posted By Weird Fishes
Re: My Game Has Some Issues

12mrsaturns: Redundantly posting redundant replies redundantly since June 2009.
Forum: Coder's Corner Lounge Jun 25th, 2010, 12:48 PM
Replies: 31
Views: 9,690
Posted By Weird Fishes
Re: I had a huge stroke of genius!

Yeah these Infinite Monkey Theorem (http://en.wikipedia.org/wiki/Infinite_monkey_theorem) type things are really interesting to consider, but to add on to what Sane said about pirating Windows: (from...
Forum: C# Jun 23rd, 2010, 1:11 PM
Replies: 16
Views: 12,458
Posted By Weird Fishes
Re: Lego NXT robot line follower using C#

@DaWei: Ragzputin is using a configuration similar to the tribot on this page: Link (http://www.active-robots.com/products/mindstorms4schools/building-instructions.shtml). Which is made out of this:...
Forum: C# Jun 22nd, 2010, 7:13 AM
Replies: 16
Views: 12,458
Posted By Weird Fishes
Re: Lego NXT robot line follower using C#

Your method TouchsensorHandler will only get called on [B]changes of state[B] to the touch sensor. This means that if you hold down the touch sensor it will generate an event when initially polled,...
Forum: C# Jun 21st, 2010, 9:53 PM
Replies: 16
Views: 12,458
Posted By Weird Fishes
Re: Lego NXT robot line follower using C#

For the light sensor, you can use notification.Body.TouchSensorOn to tell if the button is being depressed or released, where notification is of the type TouchSensorUpdate. (That was easy. How are...
Forum: Coder's Corner Lounge Dec 18th, 2009, 7:20 PM
Replies: 6
Views: 2,664
Posted By Weird Fishes
Re: Computer Issues

I wasn't suggesting that as a solution.

Backing up is important regardless of how bad your computer is.
Forum: C# Dec 18th, 2009, 7:10 PM
Replies: 7
Views: 3,411
Posted By Weird Fishes
Re: Question About Learning C# For Very Specific Usage

That's a common mistake to make when you start programming. Programming isn't something you can just start and work on a complicated project like that. It takes lots of time and dedication.

Starting...
Forum: Coder's Corner Lounge Dec 18th, 2009, 7:07 PM
Replies: 6
Views: 2,664
Posted By Weird Fishes
Re: Computer Issues

While I don't really know what's going on with your computer problems, you shouldn't have to restart projects every time.

Back them up to the internet. There are tonnes of free services that let you...
Forum: Java Nov 18th, 2009, 8:00 AM
Replies: 3
Views: 1,408
Posted By Weird Fishes
Re: i want ur hand

Edit: Do what Locean said. You want your statements to be if/else if/else.

In the future, please use code tags.
Forum: Java Nov 17th, 2009, 7:17 AM
Replies: 8
Views: 3,453
Posted By Weird Fishes
Re: Need help with simple logic.

How the hell did I miss that? ;)

And then to go and do the exact same thing... (My code just takes the modulus in a round about way, after all).

Long day I guess. :)
Forum: Java Nov 16th, 2009, 10:09 PM
Replies: 8
Views: 3,453
Posted By Weird Fishes
Re: Need help with simple logic.

wait, never mind. This can be done with a single calculation.

x=x-(x/9)*9

where x/9 is integer division
Forum: Java Nov 16th, 2009, 10:00 PM
Replies: 8
Views: 3,453
Posted By Weird Fishes
Re: Need help with simple logic.

loop?

Like you, I first tried to think of a modulus. I couldn’t, but that doesn’t necessarily mean one doesn’t exist.

You could loop through it subtracting 9 until it’s <= 8 though.
Forum: C++ Nov 14th, 2009, 1:24 PM
Replies: 3
Views: 2,485
Posted By Weird Fishes
Forum: Existing Project Development Nov 13th, 2009, 7:49 PM
Replies: 11
Views: 7,041
Posted By Weird Fishes
Re: Open Source Web Browser

Actually, I may have made my point in my first post. I suppose I forgot that when I made my second, and then third posts. Looking back, I’m a bit ashamed of what I said.

So, I’d like to apologize to...
Forum: Existing Project Development Nov 12th, 2009, 10:46 PM
Replies: 11
Views: 7,041
Posted By Weird Fishes
Re: Open Source Web Browser

Not to mention that there is no way you’ll be able to accomplish meet, never mind surpass, Firefox with your “crew” starting from scratch. Sorry for being a pessimist, but it’s true.
Forum: Existing Project Development Nov 12th, 2009, 5:25 PM
Replies: 11
Views: 7,041
Posted By Weird Fishes
Re: Open Source Web Browser

Dude, he has his own crew.

That changes everything. It must be a good idea if he has his own crew. There are absolutely no instances in history when a crew failed at a project, therefore this...
Forum: C++ Nov 10th, 2009, 7:42 AM
Replies: 5
Views: 3,568
Posted By Weird Fishes
Re: Compiling in Eclipse Galileo

Cue DaWei. :)

(Not that I disagree with DaWei, using 5 year old software that isn’t maintained when there are so many alternatives is ludicrous)
Forum: C++ Nov 9th, 2009, 8:57 PM
Replies: 10
Views: 4,303
Posted By Weird Fishes
Re: sams teach yourself c++ in 21 days

Absorbing 900 pages of information to the point of understanding in 21 days seems like quite a feat in and of itself, regardless of the subject.
Forum: C# Nov 9th, 2009, 7:58 AM
Replies: 4
Views: 2,809
Posted By Weird Fishes
Re: C# Api?

I agree with Ancient Dragon about the books, if you haven’t done that already, but I think this is the link you wanted: http://msdn.microsoft.com/en-ca/library/default.aspx
Forum: Community Introductions Nov 5th, 2009, 9:07 PM
Replies: 6
Views: 3,252
Posted By Weird Fishes
Re: hello there

Good luck with that...

I know a few people at my university who talk like that on the internet. I don’t expect them to last very long.
Forum: C++ Nov 4th, 2009, 4:39 PM
Replies: 3
Views: 1,914
Posted By Weird Fishes
Re: My project, programming

To do it entirely from scratch you'd just have to replicate the avr stcik. Basically the way it would work is you have a microcontroller and switches and a usb connection. Then you would program the...
Forum: C++ Nov 4th, 2009, 12:25 PM
Replies: 3
Views: 1,914
Posted By Weird Fishes
Re: My project, programming

Sure it’s possible.

Personally, I’d use an AVR stick (http://www.sparkfun.com/commerce/product_info.php?products_id=9147) and a couple buttons. Pretty simple, as much of the code base is done for...
Forum: Coder's Corner Lounge Nov 3rd, 2009, 12:13 PM
Replies: 14
Views: 6,146
Posted By Weird Fishes
Re: Problems choosing a language...

Wait, so where do we disagree... I said that it isn’t good at cross-platform stuff. Especially as things get more complicated. I pretty much agree with everything you just said, except for the thing...
Forum: Coder's Corner Lounge Nov 2nd, 2009, 10:41 PM
Replies: 14
Views: 6,146
Posted By Weird Fishes
Re: Problems choosing a language...

Google.

Why can’t you download source code?
Forum: Coder's Corner Lounge Nov 2nd, 2009, 10:35 PM
Replies: 14
Views: 6,146
Posted By Weird Fishes
Re: Problems choosing a language...

Lemme chime in here. I use mono on a regular basis for my programming course (the ECE department here at UW sold out to Microsoft and all the first year CE people do C# because of it...
Showing results 1 to 40 of 500

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:03 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC