473,320 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

binary representation

d
Ok you all caught me. I am doing an assignment for my
Advanced VB.NET class. I don't want to get in trouble
but I thought I could go a place like this and get some
help since my teacher is not very patient when I ask him
a question. I uderstand if you all refuse to help me
now.
But to answer your question Tom, The assignment wans me
to show the binary, octal, and hex representation for the
numbers 1-256 and it does not want me to use any string
formats.

Sorry if I upset any of you and I REALLY appreciate all
the suggestions made so far.

Derrick
Nov 20 '05 #1
4 3179
Cor
Derrick.
I start 1 = binary 1, octal 1 and hexadecimal 1.
I think others will help you with the rest.
:-)
Cor
Nov 20 '05 #2
Hello,

"d" <de******@earthlink.net> schrieb:
Ok you all caught me. I am doing an assignment for my
Advanced VB.NET class. I don't want to get in trouble
but I thought I could go a place like this and get some
help since my teacher is not very patient when I ask him
a question. I uderstand if you all refuse to help me
now.
But to answer your question Tom, The assignment wans me
to show the binary, octal, and hex representation for the
numbers 1-256 and it does not want me to use any string
formats.

Sorry if I upset any of you and I REALLY appreciate all
the suggestions made so far.


Do you still have problems in understanding the number
formats/bases/...?

--
Herfried K. Wagner
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #3
"d" <de******@earthlink.net> schrieb
Ok you all caught me. I am doing an assignment for my
Advanced VB.NET class. I don't want to get in trouble
but I thought I could go a place like this and get some
help since my teacher is not very patient when I ask him
a question. I uderstand if you all refuse to help me
now.
But to answer your question Tom, The assignment wans me
to show the binary, octal, and hex representation for the
numbers 1-256 and it does not want me to use any string
formats.


What's the remaining question?
--
Armin

Nov 20 '05 #4
Hi Derrick,

I'm mystified as to how you think we're upset with you.!?? No worries, me
ol' china. [Australian Cockney].

However, I didn't see a reply to my previous response to you. I asked you
a couple of questions there. Pick up that thread and I'll help you [but
without giving you.the code, of course. :-)]

Regards,
Fergus
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Christian Stigen Larsen | last post by:
A signed int reserves one bit to signify whether a number is positive or negative. In light of this, a colleague asked me whether there existed an int in C++ that was -0, a zero with the negative...
10
by: J. Campbell | last post by:
OK...I'm in the process of learning C++. In my old (non-portable) programming days, I made use of binary files a lot...not worrying about endian issues. I'm starting to understand why C++ makes...
8
by: bearophileHUGS | last post by:
Hello, I have four things to ask or to suggest, sorry if they seem basic or already discussed. ------------------- I am still ignorant about Tkinter. This little program, after pressing the...
9
by: Gaijinco | last post by:
Is there any way to declare a variable as a binary so that if the variable "var" holds the value of 1001, then ++var = 1010?
3
by: Tanuki | last post by:
Hi All: I encounter a programming problem recently. I need to read a binary file. I need to translate the binary data into useful information. I have the format at hand, like 1st byte = ID,...
8
by: Yeow | last post by:
hello, i was trying to use the fread function on SunOS and ran into some trouble. i made a simple test as follows: i'm trying to read in a binary file (generated from a fortran code) that...
68
by: vim | last post by:
hello everybody Plz tell the differance between binary file and ascii file............... Thanks in advance vim
7
by: smith4894 | last post by:
Hello all, I'm working on writing my own streambuf classes (to use in my custom ostream/isteam classes that will handle reading/writing data to a mmap'd file). When reading from the mmap...
7
by: elliotng.ee | last post by:
I have a text file that contains a header 32-bit binary. For example, the text file could be: %%This is the input text %%test.txt Date: Tue Dec 26 14:03:35 2006...
5
by: Andrea | last post by:
Hi, I'm a newbie i want to know how can i convert string to its binary representation, i want to write a program where an example string "hello world" is transformed in his binary representation...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.