Hi DW. How can one read a file or change a file bits without reading the entire file. But first of all how can I read a file in such a way that I get it's bits. I want to read MP3 file and change it bits but I don't want to change the information stored on it like artist name, album year, but want to read it and change bits in such a way that MP3 players won't recognize this file as MP3, and most importantly how to change the file back to original bits. Some one also mentioned …

Member Avatar
Member Avatar
+0 forum 7

Hi guys. Well according to the research I had, and MP3 file structure is as follows: ` AAAAAAAA AAABBCCD EEEEFFGH IIJJKLMM ` which is refered to as frames, and each. Each letter is one bit. I've seen samples demonstrating how to get data from this but what I want is to get/access letter "H" in the above frames. Anyone knows how I can go about doing that? Here are the samples of getting information of the file. [VbCity](http://vbcity.com/forums/p/147802/716236.aspx), [Codeproject](http://www.codeproject.com/Articles/5590/Reading-and-writing-MP3-ID3v1-tags), [Info about MP3 structure.](http://www.multiweb.cz/twoinches/mp3inside.htm#FrameHeaderH)

Member Avatar
Member Avatar
+0 forum 47

I'm working on a bit vector class that I'm using in a current project. Basicly BitVector is a container class for storing and manipulating data a bit level. I have two member fuctions for "setting" and "getting" bits at a given index. // Returns the bit at the specified index. unsigned char BitVector::at(int index) { if (index < 0 || index >= size) throw; // ("Index outside the range of vector: " + index); int byteValue = vector[index >> 3] & 0xff; return (unsigned char)((byteValue >> (7 - (index & 0x7))) & 1); } // Replaces the bit at index …

Member Avatar
Member Avatar
+0 forum 4

so... whats up with the x86 thing for 32 bit if 64 bit is x64? sorry for being so brief, im on a cell phone.

Member Avatar
Member Avatar
+0 forum 5

hi guys , i am buliding the application using vb.net vs2010 ,mysql server workbench 5.2 . it works fine about the database connection and inserting and all sql operation with the mysql but now the problem is that unable to make the crystal report using that mysql it not supporting the connection of the database (table) to report it .plz help me solution for this problem any one have idel how to report it r connection with the report to mysql database ......

Member Avatar
Member Avatar
+0 forum 1

I previously used 32bit Python 2.7 on Windows Vista. My new PC is Windows8 and 64 bit. I would like Python to work with Microsoft Office Excel. Is the best / simplest way forward to stick with 32 bit Python and 32 bit Excel? Can you mix 32 bit Python and 64 bit Excel?

Member Avatar
Member Avatar
+0 forum 3

I am compiling some source that is linked to two packages. One is OpenCV and the other is a driver library for an infrared camera. The company only provides a 32-bit version of the library via an rpm package. I compiled OpenCV from source and it's libraries are installed in /usr/local/lib64. I am running Fedora 18 64-bit version. Here is my CMakeLists.txt: CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(xeneth_test) SET(CMAKE_MODULE_PATH ${CMAKE_MODULES_PATH} /home/sam/Documents/common/CMakeModules) SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) SET(CMAKE_CXX_FLAGS "-m32") FIND_PACKAGE(Xeneth REQUIRED) INCLUDE_DIRECTORIES(${LIBXENETH_INCLUDE_DIRS}) FIND_PACKAGE(OpenCV REQUIRED) #GENERATE EXECUTABLES ADD_EXECUTABLE(myXenethTest src/myXenethTest.cpp) TARGET_LINK_LIBRARIES(myXenethTest ${XENETH_LIBRARIES} ${OpenCV_LIBS}) When I run make I get: Scanning dependencies of target myXenethTest [100%] Building CXX …

Member Avatar
Member Avatar
+0 forum 2

Hi there, I'm currently working on a project that requires for me to print out data about a hexadecimal. It needs to print out signBit, expBit, and fracBits. I have tried to look onine but I haven't had any luck finding something useful. These are the requirements: Your code will interpret those 8 digits as an IEEE 754 32-bit floating point number and will print out information about that number. Do not worry about bad input. My test script does not do this. Use scanf to get the user input. Your code should accept input with or without "0x" in …

Member Avatar
Member Avatar
+0 forum 3

I bet all Computer Science related courses would learn low level or machine level languanges in due time and in our university we used the portable 80x86 assembler NASM for our Assembly code So here's my experimentation on how to use "functions" and recursion using a Fibonacci Solver as a test case As you may notice the code only output the final outcome of the Fibonacci sequence instead of printing every number for all steps. I might or might not update this depending on my free time and motivation but for now here's what i've done :)

Member Avatar
+0 forum 0

Hello everyone.. i am quite new to TASM.. i desperately need help with a few programs.. will rilly be grateful if u can provide me the code for them... **Using 32-bit processor and assembler develop programs:** 1) WAP to read a 32-bit interger, store that number in EAX register and display it digit by digit. 2) Repeat 1) for 64 bit number using 2 32-bit registers. 3) WAP to find factorial of a number where result does not exceed 64 bit. Use procedure to calculate factorial and pass parameters. 4) Write modular program to perform addition, subtraction, multiplication and division …

Member Avatar
+0 forum 0

Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian byte order - is the php documentation of the function. But im told java stores as big endian? So any help on how to convert the integer to an unsigned little endian long would be helpful, i assume a simple type cast would convert to a big endian based number …

Member Avatar
Member Avatar
+0 forum 6

type msinfo32 at the run option & press enter then watch carefully system type if it is written "X86-based PC" your processor is 32 bit & if "X64- then 64 bit processor

Member Avatar
Member Avatar
+0 forum 3

Hi I am Luka Mukhavele, a music researcher and performer from Mozambique. I enjoyed working with the xenyx 1204, as it gave me excellent results. However, after I upgraded my system to a windows 7, 64bit everything was over, as the the drivers were incompatible. Since then I have been trying to get the right drivers to use my xenyx, but I bave not been successful. Did anyone ever have any experience? If yes, how did you solve it? Looking forward Luka Mukhavele

Member Avatar
Member Avatar
+0 forum 1

Hi! I have a decimal number (e.g 6433) and would like to see the process of converting this to IEEE short real floating point format! Any help is appreciated ;)

Member Avatar
Member Avatar
+0 forum 1

These two functions compute the orders of the lowest bit and the highest bit set in the binary representation of an integer. I expect them to handle securely very large integer values.

Member Avatar
Member Avatar
+1 forum 3

hey guys my new laptop support both 32 or 64 bit operating system, i am a little confuse which is better for a visual programming. have any idea

Member Avatar
Member Avatar
+0 forum 12

Hi there, My question is how could I output byte value (meaning zeros and ones) to screen. I just want to try some shifts and see how it works.

Member Avatar
Member Avatar
+0 forum 14

Hi All, I am trying to understand shift operator which is used in my project. What I came to know from google is that Bit shifting allows for compact storage of similar data as a single integral value. But how does that work. and what is the advantage. Can you explain me the part below program whats exactly happening in below lines. The code is taken from [url]http://www.codeproject.com/KB/graphics/dicomImageViewer.aspx[/url] (Tnx to Amarnath S) int vr = (b0 << 8) + b1; and case UT: ?? This programe reads a binary file, in medical terms a dicom file, which is basically a …

Member Avatar
Member Avatar
+0 forum 1

Hey guys, I'm working on a project to use Huffman trees to compress a text file into binary. For instance, based on the frequency of the characters in a string like "aardvark", a - 3 r - 2 d - 1 v - 1 k - 1, compression using a Huffman tree could look something like 001011011100101111, assuming that the most frequent character (a) would be stored using the least number of bits (0), and one of the least frequently occurring characters (k) would be stored with the most number of bits (1111), and so forth. I am able to …

Member Avatar
Member Avatar
+0 forum 2

hi all , can i access the parallel port using c`s assembly language syntax and using windows 98 se as the os or xp if i could (dont think xp is possible though, i dunno?) AOAP Thanks for reading , gruffy bw , if is possible can i get direction to interrupt handling in C and how to catch port 378 and the keyboard for a keypress (hopefully an interrupt out there that can listen for keypress and not make the program wait until there is one )

Member Avatar
Member Avatar
+0 forum 3

I am making a diplomacy tool, for the board game diplomacy. I need to make a map of each territory. I have a 75 #define MAP_"NAME" lines but I don't know how to set them to a mask value that can be checked since I don't know any 75-bit or larger datastructures that can be declared as datatype=0x<lots of digits>. How do I make a new datatype of X-bytes to store this that can be defined as such? Any help would be appreciated!!!

Member Avatar
Member Avatar
+0 forum 2

Hi im in a bit of a pickle :S this is probably a lot easier than i imagine. i am a undergrad working on robotics and the robot im working on takes pictures in RGB565 which is 16 bit. but i dont know how that works :/ i understrand 24 bit where red green and blue have a byte each but you cant divide 16 into 3 equal part... so i read more and found that the color is in format RRRRRGGGGGGBBBBB (which is 16 bits) but its odd that green has a bigger range than the other two. can …

Member Avatar
Member Avatar
+0 forum 7

I have a byte array which looks something like 01 00 02 00 73 45 69 A5 So i have to read first 2 bytes and convert it into integer to get its value. Same for next 2 bytes and then next 4 bytes. Here the value for first 2 bytes (01 00) is 1, next 2 bytes (02 00) is 2. So could some one help me on this.

Member Avatar
Member Avatar
+0 forum 4

I am trying to understand one C++ program, which has a loop written as follows: [CODE] for(int i = 0; i < (1<<m); ++i) { for(int k = 0; k < m; ++k) { if(i&(1<<k)) { //in subset } } } [/CODE] I do not understand how the loop control condition [CODE]i < (1<<m);[/CODE] works? Besides, I do not understand how the if condition [CODE]if(i&(1<<k))[/CODE] works?

Member Avatar
Member Avatar
+0 forum 1

Several methods of reversing the bits of a byte are presented here. [i]Note that not all of the methods are portable.[/i]

Member Avatar
Member Avatar
+3 forum 8

The End.