Search Results

Showing results 1 to 40 of 109
Search took 0.01 seconds.
Search: Posts Made By: Stinomus
Forum: Computer Science Jul 12th, 2009
Replies: 5
Views: 1,040
Posted By Stinomus
Hang on is this a Project or a Thesis? Sounds a lot more like a project to me.

In the sense that with a Project you are producing the system not just the research.
Forum: Computer Science Jul 12th, 2009
Replies: 4
Views: 661
Posted By Stinomus
It's not necessarily a queue, it's just a block of memory.
Forum: Computer Science Jul 10th, 2009
Replies: 7
Views: 687
Posted By Stinomus
So you want one class that has a whole heap of inner classes? What benefit does that give you?
Forum: Computer Science Jul 10th, 2009
Replies: 4
Views: 661
Posted By Stinomus
Look at the most basic computing definition of a buffer as temporary storage, RAM falls into this category.
Forum: Computer Science Jul 10th, 2009
Replies: 8
Views: 792
Posted By Stinomus
A semaphore with only one token, more commonly known as a 'Lock'.
Forum: Computer Science Jul 10th, 2009
Replies: 5
Views: 523
Posted By Stinomus
Perhaps you should be the one to start the discussion.



Sounds like these questions were given to you, so you may want to be aware that there is emphasis placed on the YOU. Explain what you...
Forum: Game Development Jul 5th, 2009
Replies: 8
Views: 554
Posted By Stinomus
I'd say shadwickman's assumption that you had little programming knowledge was also boosted by the fact that it appears you don't seem to understand .Net is not a programming language (I suppose more...
Forum: C++ Jun 19th, 2009
Replies: 8
Views: 304
Posted By Stinomus
DBA isn't exactly programming-based.

Getting certifications like that is unnecessary unless the specific job you are going for requires it - and if it does it likely requires a degree in computer...
Forum: C++ Jun 19th, 2009
Replies: 4
Views: 285
Posted By Stinomus
post the output of 'where' in gdb, that will give us the whole stack.
Forum: C++ Jun 17th, 2009
Replies: 6
Views: 690
Posted By Stinomus
If you want portability or the ability to easily port between managed and unmanaged code then C++/CLI will provide the least effort. .Net is language-independent as everything gets compiled to an...
Forum: C++ Jun 17th, 2009
Replies: 7
Views: 1,067
Posted By Stinomus
The short answer to that one is that you should not have public access to the variable, access should be wrapped within get/set methods.

And you shouldn't have to worry about name-mangling,...
Forum: C++ Jun 17th, 2009
Replies: 2
Views: 319
Posted By Stinomus
try

SetConsoleTextAttribute


Pass it a handle to the console and a number from 0-255.
Forum: *nix Software Jun 15th, 2009
Replies: 14
Views: 2,940
Posted By Stinomus
Is there any reason you can't use the package manager (Synaptic in this case) to install it? It will resolve all of the dependencies for you.
Forum: C++ Jun 15th, 2009
Replies: 2
Views: 207
Posted By Stinomus
What is the high-level approach you are taking to solving your problem in parallel?

As wildgoose said, it seems like you aren't actually running anything in parallel.
Forum: C++ Jun 14th, 2009
Replies: 6
Views: 834
Posted By Stinomus
I suppose it depends on what % of the budget for a very big project is dedicated to testing. Unfortunately given Windows is your platform you can't use Valgrind (unless you want to run your app in...
Forum: C++ Jun 14th, 2009
Replies: 6
Views: 834
Posted By Stinomus
Have a look at Intel's V-Tune
Forum: C++ Jun 12th, 2009
Replies: 1
Views: 1,210
Posted By Stinomus
So you want to read a string from a file and write it to another file?
You haven't really explained what you are trying to do.



If the file doesn't exist then you want it to generate an error...
Forum: C++ Jun 11th, 2009
Replies: 1
Views: 431
Posted By Stinomus
Do you know what line the main_loop code in the thread gets to?

Given it is flagged as a deadlock Im thinking this could potentially be a case where clicking 'close' caused your main thread to...
Forum: Computer Science Jun 11th, 2009
Replies: 4
Views: 509
Posted By Stinomus
Google for 'design patterns', also have a look at the Gang of Four patterns book.
Forum: C++ Jun 10th, 2009
Replies: 3
Views: 3,280
Posted By Stinomus
The cstdlib header contains the definition for the exit function as csurfer said, however up until recently this header was generally included by dependency - often unnecessarily - by other headers....
Forum: C++ Jun 10th, 2009
Replies: 5
Views: 351
Posted By Stinomus
Does it matter? If you look at the relationship you created, Class C is a Class A and a Class B. Therefore Class C has the methods get_a and get_b, which parent they come from is irrelevant.
Forum: C++ Jun 9th, 2009
Replies: 10
Views: 544
Posted By Stinomus
Alternatively the algorithmic version:


int length=str.length()-1;
for( int i=0; i<=length/2; ++i )
{
if( str[i] != str[length-i] )
{
return false;
}
Forum: C++ Jun 9th, 2009
Replies: 4
Views: 367
Posted By Stinomus
Those instructions are primarily for actually building xerces from source.

Just add the base xerces include directory (something like C:\build\xerces-c-src-2_7_0\include\xercesc) as an 'additional...
Forum: C++ Jun 9th, 2009
Replies: 4
Views: 286
Posted By Stinomus
No, you wont see any error. In C++ an array is not a class, it does not have member functions or throw exceptions, it is just a block of memory. So when you access an element past the bounds you have...
Forum: C++ Jun 9th, 2009
Replies: 10
Views: 544
Posted By Stinomus
I can't say I'd agree with your example. It's just a function that calls another function, the wrapper is pointless as it does no translation.

Moreover the recursive function itself is inefficient...
Forum: C++ Jun 9th, 2009
Replies: 4
Views: 367
Posted By Stinomus
You can just include the relevant headers from wherever they are installed on your system. That gives you the function declarations then you just need to link to the xerces library (usually something...
Forum: C++ Jun 8th, 2009
Replies: 6
Views: 387
Posted By Stinomus
As Salem said, if they require a username and password then it is likely copyrighted material and you would likely be violating copyright law by obtaining them elsewhere.
Forum: Computer Science Jun 8th, 2009
Replies: 2
Views: 387
Posted By Stinomus
Application Architecture is exactly that, the architecture of an application. This includes the relationships between the components.
Of course each application is different so largely there is a...
Forum: Java Jun 4th, 2009
Replies: 10
Views: 723
Posted By Stinomus
Also you have declared a class-scope variable
int array[] = new int[n];

Then another variable with the same name at method-scope in the constructor.

int array[]= {1,2,3,4,5,6,7,8,9,10};

...
Forum: C# Jun 4th, 2009
Replies: 1
Views: 598
Posted By Stinomus
Images are not embedded into HTML files, they are referenced. HTML files are just text files, they tell the browser where to find the content.

That is the HTML document tells the browser where to...
Forum: C++ Jun 4th, 2009
Replies: 4
Views: 1,024
Posted By Stinomus
Ah excellent. Yes I should've noticed from your output that you were using an IDE and not just compiling on the command line or makefile.
Good to know it's working.
Forum: C# Jun 4th, 2009
Replies: 4
Views: 681
Posted By Stinomus
It won't cause an exception, though reading from a dataset whilst it is being written to can cause serious race-conditions.
Consider the case where 1/2 the data has been written to, then the writer...
Forum: C# Jun 4th, 2009
Replies: 8
Views: 358
Posted By Stinomus
If programming is your profession then I'd say you could quite confidently call yourself a professional programmer.

Another skill that is required - probably at the intermediate level - is the...
Forum: C++ Jun 4th, 2009
Replies: 6
Views: 411
Posted By Stinomus
Except in this case as divx is a video codec. Utilising standard c++ and divx you will not make a 3D game - or more accurately whilst you could write a raytracer in C++ with no graphics hardware...
Forum: C++ Jun 4th, 2009
Replies: 4
Views: 1,024
Posted By Stinomus
You need to link to the GL library. What you need is to add the -lGL in your linker options. Likewise if you need glut or glu library functions you want -lglut -lglu respectively.
The trick is to...
Forum: C++ Jun 4th, 2009
Replies: 4
Views: 890
Posted By Stinomus
Yes understanding matrices is necessary for any kind of positioning in 3D space, be that the position of the eye or the position of the object in world space.
Forum: C++ Jun 4th, 2009
Replies: 2
Views: 245
Posted By Stinomus
Potentially you need to read both the code correctly and the question. Both refer to a globally declared Node pointer named root.

-----------------------------------------

@OP

The problem...
Forum: C++ Jun 2nd, 2009
Replies: 2
Views: 348
Posted By Stinomus
pthread_cancel would probably be your best option for cancellation and cleanup, though weigh up whether it is actually worth the effort to terminate the threads or just let them run to completion....
Forum: C++ Jun 2nd, 2009
Replies: 4
Views: 890
Posted By Stinomus
You'll notice in the code there are matrix translation functions. These control where in the 3D space things are drawn. Have a read up on 'matrix stacks' for describing the different 'spaces' in a 3D...
Forum: Computer Science Jun 1st, 2009
Replies: 7
Views: 946
Posted By Stinomus
Well that depends on what you want to do, not what company you want to go with. Unless of course you care more about the company than the role.

For a software engineering role at Yahoo they look...
Showing results 1 to 40 of 109

 


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

©2003 - 2009 DaniWeb® LLC