85 Discussion / Question Topics
Remove Filter I am trying to figure out how to convert hexadecimal values into mips instructions but I am not having any luck. From my understanding you have to first break the value down to machine level (binary) and then use that result to determine the instruction by converting each section of … | |
I am trying to find ways to get the hex data from a file opened in a windows form using the open file dialog. I've done some reading and have found that .NET Framework used to have a byte viewer component built into System.Design that was a quick standard way … | |
Okay so I know how to close the application completely but when I have multiple forms it tends to mess up my main form and cause bugs when I close my secondary forms. Can anyone help me with this problem? [CODE]// The bug I get is in Program.cs and it … | |
I've been given a homework assignment in which I have to create a linked list, then store 25 random integers within it, after I've stored the values I have to find the sum of these 25 numbers, and then the floating point average of them. So for the most part … | |
I'm trying to convert a number to a string then back to a number to perform math, then back to a string to return it to the user. I don't understand the problem because this is how my friend did it (that I can remember and it worked for him). … | |
I'm out of practice on my C++ and have kind of picked up a new hobby; it turns out that I like creating electronic devices. Particularly amplifiers and sound to light kits. Stuff like that; the problem is that determining the amount of resistance a resistor on an old creation … | |
It's been a while since I've posted anything; I've been really busy. I was just sworn into the Marine Corps, and just finished making my own 5x5x5 LED cube. Now I'm wanting to get a little programatical with what I did in the real world. Basically I'm needing to find … | |
I think this is the first actual discussion thread of code on a coder's website I've actually ever seen, and I'm the one posting it. (HA!) So basically; I got bored and found a website called Project Euler. It has a bunch of "mathematical" problems to solve. Eight pages and … | |
I'm trying to upgrade my class library to my current mathematical skill set and am having trouble with multi-term polynomials, especially those I where I don't know how many terms the user will be putting in. I know that the formula for the first derivative of a polynomial is ax^n … | |
I'm trying to upgrade my class library to my current mathematical skill set and am having trouble with multi-term polynomials, especially those I where I don't know how many terms the user will be putting in. I know that the formula for the first derivative of a polynomial is ax^n … | |
I'm writing a basic application that needs to know the mathematical relationship between a jal and its address. For example: jal $000a2000 = 0x0c028800 So my question is how would I get this value mathematically? I've been pondering ways to do it all week and every route I took to … | |
I'm having trouble with my some output in hexadecimal math. The subtraction overload seems to work fine, but when I add an address to another it goes all wierd on me. :( Here is a sample output: 00000000 + 0000055c = 0000000c // Incorrect 000a0000 + 00000180 = 000a000000000080 // … | |
Nevermind, thanks for anyone that read but I fixed the problem and don't want the source code visible to the public so if someone can please remove this post. Sorry for the secretivity, but it's kind of a promotional project. | |
I'm having trouble calculating the Nth root of a given value. I don't understand what's going wrong in the algorithm, but the values are incredibly close. Only off by about 0.78891 for small values, and about 0.52 for larger ones. So any help with this is appreciated; I don't want … | |
I'm not sure if I remember how to do the Quadratic Formula because I haven't had to use it since I learned about it back in '05. So I did a little research on how the formula works and from what I understand the formula is: [code] // -b +- … | |
I'm wondering how to make my custom user type able to be added and subtracted from the same types. For example: [code]public class CustomType { public float x; public float y; public CustomType(float x, float y) { this.x = x; this.y = y; } } public class test : Form … | |
Okay basically I have a class that manages sound and it's volume is a floating point value with 1.00f being 100% and 0.00f being 0%. So the math is done in low values. Allowing more precise calculations. Anyways, I'm adding and subtracting from the value by 0.05f as per the … | |
My project for my C++ class is to develop an application that will help me out in my programming life, and since I constantly have to use a calculator to determine the values in free fall acceleration I decided to write an application to do it for me. I was … | |
I have a homework assignment due this week and am fairly new to C++. Don't have a book so I can't really go on anything other than the video material and power point slides my teacher provides. I have 98% of the assignment done, however I'm encountering logic problems. I'm … | |
If I remember correctly from C# to C++ the following should convert into the second following. I need to create a console application that will output the physical address of the main interface on a user's computer. This in my experience seems to always be the second interface in the … | |
Okay, so I've used this without even knowing 100% about what it is. I know what it does so I've always just called it the "type of object" but I want to know what this is really called. For example, I create a class and I want it to be … | |
I'm trying to make my particles fade in my application using the alpha argument of the Color.FromArgb method but my math won't work because I have a nullable DateTime variable and the error it gives me is 'System.Nullable<System.TimeSpan>' does not contain a definition for 'TotalMilliseconds' and no extension method 'TotalMilliseconds' … | |
I've recently posted a code snippet of a working 2D text menu for Windows Forms Applications. However, as I was going through and revising this snippet (trying to make it better and add functionality to it) I've created two new problems. The first problem is that my text is not … | |
I've been trying to better my lesser side of knowledge in the C# programming language by tackling graphics head on. I've learned a little bit, but I'm getting stumped right now because I can't explain 100% what's going on here. I've developed a Pong game to teach myself how to … | |
Haha, I'm trying to set up my applications to update online but can't find any FTP servers that are free. I did have one a while back that I was using for an email client I was developing but can't remember the name. If there is a way for me … | |
I'm trying to convert my C# class library over to C++ and was wondering if this is how scientific notation should look. Any pointers would be nice. [code]// Scientific Notation? private int i = 0; private string Sign = ""; public string Output = ""; public void Sci(double x) { … | |
Can anyone help me with this little problem I have? I'm trying to get the IPv4 address of the network interface is being used to access the Internet, but I'm having issues with this. Here is my source code. I am using a network interface class method Get All network … | |
I recently obtained an HP Touchpad 32 GB, and I'm wanting to develop applications for it. I'm currently downloading the webOS SDK/PDK installer, and have finished downloading Virtual Box. I have the latest version of Java installed as well. What I'm wanting to know, is that I've read that we … | |
I don't even know where to begin with this one, but I'm wanting to create a couple graphic controls that at least appear to be in 3D (not stereoscopic but as in not a 2D flat image) and can rotate and move back and forth on an illusional Z axis. … | |
I'm trying to get some developer tools for my Macintosh Mini running on Power PC. It's OS is Mac OS X Leopard. I've tried getting Xcode but I can't find any downloads for it that don't require the developer programs at Apple's website. If anyone has any ideas or any … | |
I'm trying to create a custom control that has about 20 labels on it, I want to make the fore-color of these labels read-only, and make them change with the fore color of the control instead of all individually. The same with the back color. I also need to know … | |
Does anyone here use Visual J#? If so can you provide some examples of syntax as well as examples of loops (for, foreach, do, while), declaration of variables, importing namespaces, how to build form style applications (a link would do on that one), and any further information you feel would … | |
I'm bored and can't sleep. Don't have to be at work until 9pm tonight so I want to program, however I'm out of ideas for custom controls or methods to make. I would love to make controls for people but as I said, I need ideas. I program in C#. … | |
I'm trying to replicate the visual basic power packs controls (rectangle, oval, and line) so that express users can get a spin of these wonderful graphic controls. However, I'm having some trouble getting the basic properties of them into the properties window instead of just the code editor window. [code]using … | |
I'm trying to incorporate my custom control called "windmill" into my application extension. I've created a few properties that I want to be visible in the properties window and when I built my project and tried to use it in a test project it did not work. To top it … | |
I was just washing dishes and as usual was pondering programming scenarios. One came across my mind that hit me hard. UPDATES! I would like links to information on how to make an application that checks for updates at a location on a free website (I'm using webs.com for my … | |
I've been google searching this for a while but can't seem to find information on it that is helpful to me. Is it a way to work with partners on projects over a server? If so then this would be lovely. I get tired of sending my projects to friends … | |
I just read this article, and I know the holidays are over but I still feel people should read this. It just proves how hard times are right now. [quote]Many people head to the pawn shop during the holiday season, selling their valuables for cash to afford gifts for loved … | |
I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin … | |
I'm having trouble getting intellisense to show my summaries of my methods and variables. I have a DLL that I will be releasing to my developer team soon and without the intellisense working they won't know 100% what everything is for. They will just have a simple hint from the … | |
I'm trying to develop my application extension and part of it has a variable that I want to tell if the user has an internet connection or not. I've set it up to where it's read only, but I'm trying something new and it threw a StackOverflowException. Hopefully someone can … | |
I've decided to join the United States Armed Forces, and my MOS will be 25 Bravo. For those in the military or trying to join, or just want to help support those who do, I'm developing an application to help us all out. Eventually I want to develop an information … | |
As the title states I'm building a calculator. I've got two arrays, one for holding the values input by the user, and the other for holding the operators. Addition seems to work just fine, however subtraction, multiplication, and division are still putting up a fight. I believe it's just logic … | |
I'm trying to create a struct for an 8 bit signed integer, seeing as how I'm creating a calculator it would be useful. Windows' calc.exe has this set up as precision for Qword, Dword, Word, and Bytes. I have 64, 32, and 16 because they're already programmed into Visual C#. … | |
I've been reading on these for some time now, and as a long time code maker for video games I have a completely different look on them since back then I was just going by what I was teaching myself. But I'm wanting to know how to assign the pointer … | |
I've developed a custom control that looks similar to the binary grid on calc.exe while it's in programmer's mode. I'm wondering how to make the text of the labels on it resize when the control is resized in designer mode. Any tips on this are helpful. | |
I'm trying to develop a method that resizes the font of a label on the form by 0.25f each time the size changes by 1. I'm thinking create a ratio or do some math about the font size based on the form size like i do with other controls. | |
I'm trying to save and load objects from my form. Like say I have a listbox and a checked list box, I want to save the contents of these boxes to a file, NOT TEXT but through bytes (the right way). How do I do it? I need help. Any … | |
I'm trying to develop my own custom controls and components that I can modify visually on a form. Like how you can put a panel onto a form and modify it's location, size, and other properties through the properties window. I'm trying to develop my own controls with their own … | |
I'm developing a calculator, it will give all of the functionality of calc.exe; however it will have a few of my own adjustments that I use constantly and have to do on paper or with different methods on calc. I need help with subtraction, multiplication, and division the most. I'm … |
The End.