|
A nice example of working with bytes is imageprocessing. Each pixel of a bitmap is represented by a byte for red, one for green, one for blue (optional one for transparancy), as each of these can take a value between 0 and 255. A 640*480 24bit (RGB) bitmap then takes less than one kb of memory.
If you would use 32bit integers to represent all these values that can not be greater than 255, you would end up with with four times the memory usage (whereof 75% empty).
|
|
|
|
|
This answer is great and now I'm glad I asked.
I tried to give a 5 vote to Youre answer. not sure if thats what happend.
I probably clean up nice.
|
|
|
|
|
To add another point of view:
Bytes are very helpful if you want to do bitwise operations.
Think of the first 5 positions of your nickname, that is a bit structure, now combine it with another bit structur (byte) and you'll get a third bit structure.
This is extremely helpful if you are working with digital I/O hardware. There the state of lets say 8 intputs are displayed in a BYTE. 16 I/O use a WORD; 32 I/O use a DWORD
Ours is to ask why
|
|
|
|
|
The concept is simple. We have a child doing star jumps for 30 seconds. This footage is reordered on a camcorder and then played back automatically after the 30 seconds have finished. We already have access to a camcorder, laptop and projector and now I just need a simple (hopefully with NO teacher interaction at all) concept that will make this work.
What I am looking for is some solution like this.
http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=21048&av=31144[^]
but I need to have it in VB.NET because I don't understand C++.
And I need have delay future.
another example:
When student has difficulty understanding new motion patterns, instant feedback is the perfect tool.
By closing the capture-review-retry cycle, students can feel the new positions and get the vital instant feedback to confirm the position.
With "Action Replay" video delay, the student can perform the motion then look to the screen for instant feedback.
All instant feedback features work with overlaid graphics and can appear on screen with other video, even multiple cameras.
|
|
|
|
|
Member 8284226 wrote: but I need to have it in VB.NET because I don't understand C++ Hope this will help you. .NET Code Conversion[^]
|
|
|
|
|
Dear All,
This spring, I'm having my final year project (capstone) in computer science and I'm actually targetting the best capstone award
My idea consist of developing a platform-indepedent mobile website that uses QR codes to shop. You can see an example over here: http://www.youtube.com/watch?v=h7HnR02kJxY[^]
I live in Morocco which is not a really developing country but a really promising one! I'm trying to figure out how can I market well my product so the capstone committee would appreciate it. For example, if I do an eGrocery site that wouldn't be a good idea because elders in my country are not really tech-oriented :p.
Any idea how to develop the idea of linking eBusiness with QR codes?
|
|
|
|
|
hi i am trying to create an report viewer / editor
with vs.net 2005 or 2010 c#
i have witness the power of report builder and editor in many software and am trying to make one now
i recalled that there is a class which already have report viewing controls available, does anyone know what it is?
also i would appreciate any tips to teach me how i can do the report editor part like what kind of controls should i use.(i am thinking of using panels at the moment)
|
|
|
|
|
|
I am writing a touchscreen application in WPF the tablets we are targeting are multitouch. My question is are there built in gestures in .NET or another Microsoft sdk. For instance what I would like to do is capture a long press event and a swipe for and possibly something like an X or Check.
Humble Programmer
|
|
|
|
|
|
Hello,
in my app I heave three roles: "admin", "user" and "company". The user can heave only one role. I want that after checking the database redirect them to certain pages - more precisely their content panel. How to specify the page to redirect for each user when it is not contained in:
FormsAuthentication.RedirectFromLoginPage(userName,createPersistantCookie);
or
FormsAuthenticationUtil.RedirectFromLoginPage(userName, commaSeperatedRoles, createPersistantCookie);
I know it is specified in web.config as default and it works for your site, but, the problem is that when I type in the URL to directly access the "admin"'s content panel (admin\default.aspx) and then try to login as "user" it does not directs me to the "user"'s content panel (user\default.aspx) but it remembers the "admin"'s one (admin\default.aspx) and redirects me to login.aspx which is NOT correct. The user exists and it should redirecting me to the default user's page.
What you suggest about this?
|
|
|
|
|
My first suggestion is that you ask this in the ASP.NET[^] forum. That's where you will find the experts on this type of thing.
|
|
|
|
|
|
VB.NET code for what?
No comment
|
|
|
|
|
|
Here you go. Bask in the glory:
Imports System.Threading
Public Class CrazyBatShift
Public Sub HelloWorld()
Console.WriteLine("Hello World")
End Sub
End Class
|
|
|
|
|
Pete O'Hanlon wrote: Console.WriteLine("Hello World codes")
FTFY.
|
|
|
|
|
Your VB.NET knowledge surpasses mine. I award you a 5.
|
|
|
|
|
Thanks. Not sure it is that good yet, however I'm working hard to reach the next level.
|
|
|
|
|
Don't underestimate your l33tz VB skillz. They are most bodacious.
|
|
|
|
|
Use alot of gotos, and never add any error checking. That helps alot.
|
|
|
|
|
I need a component on .net platform as per the following problem statement. Please send a draft plan for this.
Basic requirements are:
1. There would be questions requiring the student to answer with multiple, yes or no etc (consider all possible options here) online.
2. These set of questions shall be aligned to the course or subject or topic and the student ids.
3. There would be result based on the comparison of the answers given by the student and the answers available or loaded by us in those files.
4. There would be a brief summary report for student on each test.
|
|
|
|
|
yatin88sunny wrote: Please send a draft plan for this.
Why; this is your work you are expected to do it. If you have a reasonable specific technical question then feel free to ask it, but do not expect solutions made to order.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
As I'm just newly register user to this web site. Thought that, this provides codes. Anyways, I'll keep this in mind. Whenever I need help with technical doubts, I'll post my doubts here, for that sure. thanks for guiding.
|
|
|
|
|
yatin88sunny wrote: As I'm just newly register user to this web site.
Then you should have taken the time to read this[^] before posting your question.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|