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: Arla
Forum: Coder's Corner Lounge May 6th, 2010, 4:00 PM
Replies: 6
Views: 2,416
Posted By Arla
Re: The hardest game online?

I think this is appropriate to read at this juncture

http://www.cracked.com/article_18461_5-creepy-ways-video-games-are-trying-to-get-you-addicted.html
Forum: Coder's Corner Lounge May 6th, 2010, 3:59 PM
Replies: 11
Views: 3,200
Posted By Arla
Re: What's New?

Wait, I don't recall giving you permission to have a life, how dare you :twisted:

Nah, totally understand... between work and a two year old, if I'm lucky I can check here once a day!
Forum: Coder's Corner Lounge May 4th, 2010, 3:48 PM
Replies: 11
Views: 3,200
Posted By Arla
Re: What's New?

Wish I could say I was close, but San Francisco is a little bit of a trek from Seattle...

Where did you come from? Just curious...

Glad you had a good move, and hope that Amazon is a good company...
Forum: C Apr 17th, 2010, 10:02 AM
Replies: 11
Views: 3,227
Posted By Arla
Re: Free Compilers

I second Code::Blocks with MINGW, or go full bore and just install Ubuntu and the whole thing becomes much easier :P
Forum: Community Introductions Apr 9th, 2010, 3:25 PM
Replies: 5
Views: 1,795
Posted By Arla
Re: New here

Welcome, welcome...

As long as you don't start asking us to do your homework you'll be fine :) I can't really give advice on links, haven't got many myself, my main link is www.google.com, I just...
Forum: Other Programming Languages Apr 6th, 2010, 12:59 PM
Replies: 2
Views: 1,618
Posted By Arla
Automated testing tools

Wondering if anyone has opinions? I'm starting to look at using Automated tools for testing (at least as much as possible) currently playing around with Fitnium simply because our vendor is using it,...
Forum: Java Mar 10th, 2010, 4:31 PM
Replies: 5
Views: 2,751
Posted By Arla
Re: basic math

Try doing

(100.0/double(sum)) * 360


Something like that (my Java is a bit rusty) in essence, it's probably doing 100/1000 as an int calculation, which is always 0.
Forum: Coder's Corner Lounge Jan 3rd, 2010, 9:59 AM
Replies: 7
Views: 3,239
Posted By Arla
Re: Setting up an IDE in Ubuntu

I've never had much problem with code::blocks, took me a little while to figure how to generate SQLite programs in it, and a little bit of digging to get GTKmm C++ programs compiling, but both of...
Forum: Coder's Corner Lounge Jan 3rd, 2010, 12:46 AM
Replies: 7
Views: 3,239
Posted By Arla
Re: Setting up an IDE in Ubuntu

Okay, what's with all the windows references? If this is hello world it shouldn't need anything from Windows drives.

Also, what GUI is giving this error currently (or is it all still, I use...
Forum: Coder's Corner Lounge Jan 2nd, 2010, 11:42 PM
Replies: 7
Views: 3,239
Posted By Arla
Re: Setting up an IDE in Ubuntu

Okie dokie,

When does it gives you that error, what is it you're trying to do? Saw that it was Ubuntu 9.10, I've installed Code::Blocks myself, and never had an issue, is it some specific program...
Forum: Coder's Corner Lounge Dec 31st, 2009, 7:42 PM
Replies: 3
Views: 1,250
Posted By Arla
Re: "Help Save MySQL"

Thanks for the heads up Sane, while I'm sure there are other solutions, having an open-source solution that's out there is a great boon to us all, and I'd like it to remain that way.
Forum: Coder's Corner Lounge Dec 21st, 2009, 11:48 AM
Replies: 6
Views: 2,565
Posted By Arla
Re: Computer Issues

Move to Linux :)

Seriously though, it's worth taking a look at Ubuntu, baring Video editing I now use Ubuntu on my laptop for pretty much everything I do, I find it much more responsive than...
Forum: Databases Dec 21st, 2009, 11:44 AM
Replies: 5
Views: 2,401
Posted By Arla
Re: primary key

DB2 also I don't believe allows queries to be run without having a primary key setup for a table.

Overall it is good practice to have a primary key setup for every table.
Forum: Java Dec 19th, 2009, 9:51 AM
Replies: 13
Views: 5,952
Posted By Arla
Re: remeber index after sorting an array

Depending on the relative sizes of things (searches and such) maybe make the array have an int portion as well (array of string and int's) and then loop through the entire array numbering the ints...
Forum: Java Dec 14th, 2009, 9:41 AM
Replies: 13
Views: 5,952
Posted By Arla
Re: remeber index after sorting an array

Make a copy of the array (full copy that is) before you sort it.
Forum: Java Nov 14th, 2009, 11:31 PM
Replies: 1
Views: 13,551
Posted By Arla
Re: list all permutations with repeated elements

Try reading up about the C++ STD library permutation functions, that hopefully might give you a clue.
Forum: C++ Nov 10th, 2009, 7:44 PM
Replies: 15
Views: 6,470
Posted By Arla
Re: When would you use an INT

So what you're saying is, don't bother trying to write hardware independent code, because you can't do it.

a. Worst case for a short, is that a short = char
b. Worst case for an int, is that int =...
Forum: C++ Nov 10th, 2009, 12:56 PM
Replies: 15
Views: 6,470
Posted By Arla
Re: When would you use an INT

It's not because it could be as big as a short, it's more (to my mind) because it has no guarantee to be any bigger than a short, it must be at least as big as a short, but doesn't have to be any...
Forum: Coder's Corner Lounge Nov 10th, 2009, 10:16 AM
Replies: 3
Views: 1,653
Posted By Arla
Re: Discrete Math Book?

What age and background do you have? The answer could depend a lot on those answers.
Forum: C++ Nov 10th, 2009, 9:18 AM
Replies: 15
Views: 6,470
Posted By Arla
Re: When would you use an INT

Assuming I'll store them all as strings :)

Sorry, I mis-typed, should have been guaranteed to be AT LEAST 2 bytes and 4 bytes respectively.

It just seems like INT is highly variable (in size), and...
Forum: C++ Nov 10th, 2009, 12:10 AM
Replies: 5
Views: 3,445
Posted By Arla
Re: Compiling in Eclipse Galileo

Not sure about Eclipse (didn't like it much for Java, hated it for C++) have you tried code::blocks? that seemed to have the quickest and easiest way (if DEV C++ doesn't work)
Forum: C++ Nov 9th, 2009, 11:46 PM
Replies: 15
Views: 6,470
Posted By Arla
When would you use an INT

Stupid question, number 2

So, reading about the integer types, and I'm wondering why one would ever use an INT,

I guess the practical side of me says, that I'd never use it

Short is 2 bytes,...
Forum: Software Design and Algorithms Nov 9th, 2009, 5:14 PM
Replies: 8
Views: 11,597
Posted By Arla
Re: General question about arrays..

Okay, upto "Chart the sales Data" I think you're okay.

From there on it all goes a bit pear shaped.

My notations are in /* comments


//Chart the sales data
For index = 0 to SIZE – 1
/* For loop is...
Forum: Software Design and Algorithms Nov 9th, 2009, 3:58 PM
Replies: 8
Views: 11,597
Posted By Arla
Re: General question about arrays..

Answer to 9 is, I don't honestly give a damn! It doesn't matter what it's "called" if you can convey which element you're talking about correctly.

Answer to 19, Score[5] says to create an array with...
Forum: C# Nov 9th, 2009, 11:20 AM
Replies: 1
Views: 1,236
Posted By Arla
Re: Working with SQL DBs

Please ask a question that is slightly more defined.

Perhaps tell us what database you are looking to use (SQLite, MS SQL, DB2 what? there are lots of SQL databases) and then what have you tried?
Forum: C++ Nov 7th, 2009, 6:27 PM
Replies: 4
Views: 2,291
Posted By Arla
Re: Probably a stupid question

So, to make sure I understand this correctly, the reason NOT to use the "using namespace std" is that you may end up with conflicts between functions that are in the std namespace, and functions that...
Forum: C++ Nov 7th, 2009, 5:18 PM
Replies: 4
Views: 2,291
Posted By Arla
Probably a stupid question

But I'm going to ask it anyway...

The C++ book I'm starting to work through (C++ Primer Plus, fifth edition) seems to espouse writing code like this


#include <iostream>

using namespace...
Forum: Coder's Corner Lounge Nov 5th, 2009, 9:35 AM
Replies: 1
Views: 940
Posted By Arla
Forum: Coder's Corner Lounge Nov 3rd, 2009, 11:34 AM
Replies: 14
Views: 5,863
Posted By Arla
Re: Problems choosing a language...

Sorry, I'm obviously failing reading 101, I read your post as saying that it WAS good at cross-platform stuff.
Forum: Coder's Corner Lounge Nov 3rd, 2009, 10:50 AM
Replies: 14
Views: 5,863
Posted By Arla
Re: Problems choosing a language...

Weird,

I'll disagree about the cross-platform stuff, quite simply, if C# only works on a single platform (Windows) then it's NOT cross-platform, while I like the IDEA of C# (and have used it some...
Forum: Coder's Corner Lounge Nov 2nd, 2009, 9:15 PM
Replies: 14
Views: 5,863
Posted By Arla
Re: Problems choosing a language...

Well, you may be needing many languages.

Is windows your primary audience? Because then, honestly, I think you will need a windows machine to certainly run on, and .NET has it's advantages for...
Forum: Coder's Corner Lounge Nov 2nd, 2009, 10:33 AM
Replies: 14
Views: 5,863
Posted By Arla
Re: Problems choosing a language...

Yeah, going with Big K, what programs are you trying to develop?

It's difficult to recommend a language without knowing what you are trying to do.
Forum: Coder's Corner Lounge Oct 29th, 2009, 8:33 PM
Replies: 9
Views: 3,000
Posted By Arla
Re: Hiatus

Will miss ya Sane, hope you get all the help you need.
Forum: C Oct 29th, 2009, 8:30 PM
Replies: 3
Views: 1,940
Posted By Arla
Re: Advice on books, or places to look

Yes, but apparently no-one got it.

Good books on C++/GTK/SQLite (preferably all of the above in single book, but I'm asking a lot there).
Forum: Java Oct 27th, 2009, 7:56 PM
Replies: 4
Views: 2,377
Posted By Arla
Re: OOP Theory: Structuring Methods

In my view, the code should encapsulate everything that is required for an operation to succeed.

If there is a reason that a sort HAS to be done after every add, no matter what, then I would...
Forum: Other Programming Languages Oct 26th, 2009, 3:04 PM
Replies: 6
Views: 2,809
Posted By Arla
Re: Computer system

Feh! Don't be ridiculous... it's the great unknown sausage monster!
Forum: PHP Oct 25th, 2009, 9:31 AM
Replies: 1
Views: 1,504
Posted By Arla
Re: Help with payment process ReadMe info

Well there is that dummy if/else statement at the end where you need to do stuff if the payment is valid (or not). Probably expected that you code your website needs in there.
Forum: Coder's Corner Lounge Oct 24th, 2009, 10:45 AM
Replies: 32
Views: 10,804
Posted By Arla
Re: PFO is starting to look like my gmail spam foder

I know Sane was really on it for a while, but you're right, it does seem to have gotten a BIT worse again recently, it's nothing like as bad as it was (and while I dislike shopping spam, it's far...
Forum: C Oct 22nd, 2009, 8:10 PM
Replies: 3
Views: 1,940
Posted By Arla
Advice on books, or places to look

I'd like to code up a, relatively, simple database application in C.

I'm planning to implement the database side in SQLite, since I like that database for simple DB apps, for a front-end I was...
Forum: Coder's Corner Lounge Oct 20th, 2009, 7:49 PM
Replies: 1
Views: 1,667
Posted By Arla
Re: Survey about 'The view of the IT staff on open source software'

I posted, not sure it's going to get what you wanted, I'm involved in highly specialized applications, that just would never be suitable for open source development.
Showing results 1 to 40 of 500

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:39 PM.

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