Before I start I will point out that rather than some programming problem from a course this is something I've run into at my job and any solution posted might get put into an actual product. Hopefully I'll be sufficiently vague to avoid any intelectual property issues. Here we go.
There is a...
Hi
Write embedded systems and have a lot of use for bit masks shifting etc. I wrote a java app that acts as a calculator and can take a hexadecimal number and tell me what bits are set i've added masking and shifting etc. What i what to do is get the output in decimal as well as hex but of...
I guess this isn't really the best place for this question but I couldn't find a better one. I work for a company that makes embedded systems one of our new products is going to have removeable compact flash. To facilitate portability between our product and others we wish to implement a FAT...
We're using some code that needs to take a 64 bit timestamp value and use 36 bits of it. Heres the situation.
The 64 bit value is read from hardware into two 32bit variables upper and lower we want to discard the 4 least significant bits of lower and shift the number 4 bits to the left. this...
Has anyone tried using uml to design a system that is going to be written in c.
Were working on some embedded systems and doing the coding in C and we want to have some form of design in some reasonable standard format that can be reviewed by others. In the past i've found that uml designs tend...
well after a number of technical posts heres something to start a bit of a chin wagging.
How is linux going to get back on track?
At the moment there are several versions of linux which all compile different binaries i.e. a program compiled for redhat won't work on slackware (or another...
I want to implement the usual window menu associate with applications that have internal frames. My problem is that the number of internal frames will be changed a lot and I don't know how I would implement the tile/cascade options. Is there a standard method that I'm...
A friend at uni mentioned that Linus was actually developing a chip called crusoe. has anyone actually heard about this? <br>What could this mean if a chip was designed to cater for the linux kernel <p>Chris Packham<br><a...
It'd be interesting to hear from the man himself, as opposed to us going on what we've heard. Wonder if there is any way of getting him here? (It'd probably be a bit of a coup for Tek-Tips if they could hook it up).
Chris Packham
kriz@i4free.co.nz
A thousand monkeys at a thousand machines, it...
I'm working on a traffic system. I want the user to input a conflict matrix (when one traffic stream can't move at the same time as the other). I've got an awt application working but can't figure out how to do the same with swing. in awt i just use getState and setState to set...
I posted a while ago about having a problem using swing and wat components in a gui. Several people told me that i shouldn't mix swing and awt. so i've since recoded and it works now I have a problem that i have some images drawn using the Graphics class and these are attatched to a...
the following won't work<br><FONT FACE=monospace> <br>if(fscanf(fp,"%s %d", &buf, &numObjs)!=2)<br> bail_out;<br></font><br>I've printed out the value of the fscanf return with invalid input, which was 1, but the if statement still won't run whats going on?
I've got a gui written using the AWT libraries and i'm re-coding it using the swing libraries and i've run into a problem i've got a main application window with menus i'm adding a panel to it in a child class. In doing this the menus now drop down behind the panel. I've tried re...
I've written two programs to simulate a transaction lookaside buffer in a sparc 4 (any sort of processor uses the same concepts the just don't call it a t.l.b. :) The programs get from a pipe a stack trace and simulate vairous replacement algorithms. The first program works...
this is probably a MS support thing but I'm from New Zealand and it'll cost me an arm and a leg to fix what could be a really simple problem.<br>
<br>
A while ago I installed an update for windows 95 to solve a problem with an AMD-K6 processor. After this whenever I maximise windows explorer it...
I'm a second year student at university in New Zealand. That will be a sophmore in college to most of you (i think).<br>
Any way I'm having real big problems with malloc. My assignment is to compare the effiency of various sorting algorithms. Most of this involves splitting arrays. This in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.