Search Results

Showing results 1 to 40 of 181
Search took 0.02 seconds.
Search: Posts Made By: Paul.Esson
Forum: Computer Science 19 Days Ago
Replies: 2
Views: 403
Posted By Paul.Esson
You could either sort the students into corresponding times before you start ( a little faster )

or iterate through the array of students 24 times, checking the time each time.

You want to...
Forum: C++ 19 Days Ago
Replies: 42
Views: 1,678
Posted By Paul.Esson
sorry posted in wrong thread
Forum: Windows Vista and Windows 7 Mar 21st, 2009
Replies: 21
Views: 8,901
Posted By Paul.Esson
"Windows 7 will be the last Windows product."

Do you have a reference for this statement, Did Steve Balmer tell us in a recent keynote I missed.

Or are you just speculating and attempting to...
Forum: C++ Nov 24th, 2008
Replies: 4
Views: 378
Posted By Paul.Esson
You have to write the source code before anyone will have it.
Forum: Java Nov 23rd, 2008
Replies: 5
Views: 1,283
Posted By Paul.Esson
For the sake of debugging you can change it, Just have to change it back afterwalds.

Anyhow, It will take you 78 iterations and each time it will ask for an employee name, You don't want that I...
Forum: Java Nov 23rd, 2008
Replies: 5
Views: 1,283
Posted By Paul.Esson
Its going to ask for the employee name 78 times. so only after that will it print out your array. I would try changing COL's to 3 or something so you don't have to enter in so many numbers before...
Forum: C++ Nov 23rd, 2008
Replies: 5
Views: 1,334
Posted By Paul.Esson
I found this thread on the xml gnome mailing list that may be of help. It does appear that there is nothing similar to atoint for an xmlChar *, but I guess you can do it the way that this guy...
Forum: C Nov 22nd, 2008
Replies: 3
Views: 470
Posted By Paul.Esson
I guess if your not doing this for a class and therefor do not want to reinvent the wheel you should take a look at opencv its a neat open source computer vision library.
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 1,334
Posted By Paul.Esson
Yea, There is hence the reason I posted about it 58 minutes ago :)
Forum: C# Nov 22nd, 2008
Replies: 5
Views: 497
Posted By Paul.Esson
case 3:
// output = " \tWithdraw";
//UnderConstruction(output);
WithDraw(balance);



should read
Forum: C# Nov 22nd, 2008
Replies: 5
Views: 497
Posted By Paul.Esson
Everytime you enter the Deposit() method you are setting the deposit amount to 94.37 :. its not really ever going to change. I mean you will return a different balance from that method but as soon as...
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 1,334
Posted By Paul.Esson
You want to use

xmlStrEqual(resource_id, event_id)


it will return 1 if equal and 0 if different.

so
Forum: C++ Nov 22nd, 2008
Replies: 1
Views: 691
Posted By Paul.Esson
I don't know if this is the problem, but on the post request you have the terminating empty line after you have the post data.


Strcat(szSendBuffer,"/r/n);//the terminating empty line
Forum: C++ Nov 22nd, 2008
Replies: 5
Views: 1,085
Posted By Paul.Esson
I had

char boolsToChar(bool* bools){
char c = 0;
for( int i = 0; i < 8; i++ )
if( bools[i] )
c += pow(2,i);
return c;
}
Forum: Java Apr 14th, 2008
Replies: 3
Views: 466
Posted By Paul.Esson
Did you first compile the first file then put it into your classpath ?

or
javac classfile.java testfiile.java
?
Forum: IT Professionals' Lounge Apr 12th, 2008
Replies: 6
Views: 1,613
Posted By Paul.Esson
Yea, That makes the problem much simper :P.

Would you really need any motors ? If you had enough solenoids to cover the entire fret board then I guess you wouldn't, But perhaps you are looking at...
Forum: IT Professionals' Lounge Apr 9th, 2008
Replies: 6
Views: 1,613
Posted By Paul.Esson
Sounds like a pritty cool, but fairly hard project. I guess you may want to look at similar robats that have existed, say robotic hands ( if you want your robot to have human hands ).

If your...
Forum: Python Apr 8th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Samething for both OS in java :D


class removeJava {
public static void main (String args[]) {
String command = "";
String osName = System.getProperty("os.name").toLowerCase();...
Forum: Python Apr 8th, 2008
Replies: 7
Views: 794
Posted By Paul.Esson
Couple of quick pointers, put your code inside code tags

code goes here

also tell us what the problem is, see we now know you are having a little problem, But we don't know what that little...
Forum: Python Apr 8th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
There is no 64bit integer type in QBASIC :~(

but double is a 64bit floating point


DIM a AS DOUBLE
a = 111111111
PRINT a * a
Forum: Python Apr 7th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
You need JRE. Thats one package. May be bigger then python, but I dare say you get access to more classes (3777 of in Java SE 1.6 ) then you do with the default python install.

So I would be...
Forum: Python Apr 6th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Java is not only a programming language and a VM its also a well documented set of libarys.

Anyhow unless I am a complete retard, I can be pritty certain that any Java program I write using the...
Forum: Python Apr 4th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
I don't like the fact that the Visual Studio forum designer produces code for the form. I much perfer libglades way of doing it where you import an XML file created in glade. It makes certain you...
Forum: Python Apr 3rd, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
I have found Mono to be ok, as long as you are not set on useing the say Forms api or somthing like that, GTK# etc. seem to work quite well.

Some pritty cool little projets have come out for linux...
Forum: Python Apr 3rd, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Forum: C Apr 3rd, 2008
Replies: 11
Views: 4,889
Posted By Paul.Esson
I have looked around the net abit more and have not found any other ways to talk to USB in windows without using the windows device foundation. There will be examples included with the foundation...
Forum: C Apr 3rd, 2008
Replies: 11
Views: 4,889
Posted By Paul.Esson
You may have to write a driver for the USB device or uterlize it as a communications port as say you do with usb serial adapters or things like that.

The windows device foundation SDK has methods...
Forum: Java Apr 3rd, 2008
Replies: 3
Views: 520
Posted By Paul.Esson
Hmm abit more reading brings up from the API Docs
Forum: Java Apr 3rd, 2008
Replies: 3
Views: 520
Posted By Paul.Esson
It appears to be still used it does not state that it is depricated in the API documentation (http://java.sun.com/javase/6/docs/api/java/util/Enumeration.html).
Forum: Python Apr 3rd, 2008
Replies: 3
Views: 540
Posted By Paul.Esson
I am guessing that you are first converting from base x to base 10 the base 10 to base y.

If that is the case I would make two functions, one to convert from base x to base 10 then another to...
Forum: Python Apr 2nd, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Java was released under the GPL, Java can be compiled into bytecode and run onto of a virtual machine, But since python is interprated, it cannot.

I have a book called 'C++ in 5 minutes'. I...
Forum: Python Apr 2nd, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Yea you can, C#, less typing } is quicker to write then End Sub.

VB.net only single line comments.

VB.net more typing
Dim name as String
compared to
String name;

and all the same...
Forum: Python Apr 1st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
but the difference is that in python print is a keyword while in C++ its a function ( overloaded operator to be percise, but a function ).

If you want to call a function in python you still have...
Forum: Python Apr 1st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Wonder if

cout<< __int64 (11111111) * __int64 (11111111);

would work.

Anyhow, This brings me, not very neatly back to my initial statment, that I like the syntax in C++, C# and C better.
...
Forum: Python Mar 31st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
Well as long as you cast you can do

cout<< long long(11111111) * long long(11111111);


same goes for java, C and C#. But I will admit that is alittle more complicated.
Forum: Python Mar 31st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
The C++ was written ontop of .NET :. you would have to use the Microsoft compiler. Since it has to be compiled to run ontop of a jitter.

The C one should compile fine with GCC and with any luck...
Forum: C# Mar 31st, 2008
Replies: 11
Views: 4,219
Posted By Paul.Esson
Advantage of that later is you cannot simply change the name of the executable and then run two instances of the application.
Forum: Python Mar 31st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
sorry and in C

#include <stdio.h>
int main(){
long long a = 111111111;
printf("%lld", a * a );
return 0;
}
Forum: Python Mar 31st, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
That scares me a little, How does one implement a rotating counter in python ?


class Program
{
public static void Main(string[] args)
{
ulong a = 111111111; // Thats 9 1's...
Forum: Python Mar 30th, 2008
Replies: 70
Views: 6,980
Posted By Paul.Esson
In that case Java.

Only reason I have never tryed Python is because of the syntax. I feel that is far removed from everything else. Switching from C++ to C to Java to C# is simple, The syntax in...
Showing results 1 to 40 of 181

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC