Forum: Computer Science 5 Days Ago |
| Replies: 7 Views: 258 Thank you! That makes so much since to me now. So I take it that you do nothing with the 250? |
Forum: Computer Science 5 Days Ago |
| Replies: 7 Views: 258 Ok. I appreciate your help, but I still really don't understand. There is a problem similar to this in our book:
A computer has 32-bit instructions and 12-bit addresses. Suppose there are 250... |
Forum: Computer Science 9 Days Ago |
| Replies: 7 Views: 258 Yeah, I'm not really sure what that means. |
Forum: Computer Science 9 Days Ago |
| Replies: 7 Views: 258 |
Forum: Computer Science 9 Days Ago |
| Replies: 7 Views: 258 Can somebody please explain this problem to me?
A computer has 20 bit instructions with 8 bit addresses. Suppose that there are 12 two-address instructions. How many 1-address instructions are... |
Forum: Computer Science 19 Days Ago |
| Replies: 1 Views: 313 Can somebody explain to me or point me in good direction for some help on instruction sets and addresses? I have problems where it tells you that your computer has instruction that is 12 bits and... |
Forum: C++ 19 Days Ago |
| Replies: 8 Views: 414 Thank you so much! I never would had thought to enable GL_COLOR_MATERIAL. |
Forum: C++ 20 Days Ago |
| Replies: 8 Views: 414 Here is my code. It is supposed to be a sky background, with a green floor and a sphere in the air. Doesn't really matter what color the sphere is. I think it is blue now. I really appreciate your... |
Forum: C++ 20 Days Ago |
| Replies: 8 Views: 414 Ok, I tried that, didn't do anything. I put glEnable(GL_NORMALIZE); in my init() function. Everything is still gray. |
Forum: C++ 23 Days Ago |
| Replies: 8 Views: 414 What do you mean by my normals? It worked fine and was green until until I added my sphere. Now my ground and sphere is just gray. |
Forum: C++ 23 Days Ago |
| Replies: 8 Views: 414 I'm drawing a sphere and some ground. I used GL_POLYGON to draw a rectangle and colored it green. When I added a sphere, my ground just turned black. Is this because the sphere is a 3d object and... |
Forum: C++ Sep 25th, 2009 |
| Replies: 2 Views: 241 |
Forum: C++ Sep 25th, 2009 |
| Replies: 2 Views: 241 I'm pretty new to opengl but been using c++ for a while now. How can I display variables using this? I can display single characters by using
glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,'0');
... |
Forum: PHP Aug 26th, 2009 |
| Replies: 6 Views: 673 Well, I tried that, still no luck... |
Forum: PHP Aug 23rd, 2009 |
| Replies: 6 Views: 673 Thanks! I know nothing about java script. Do I just copy and paste that code into my php page? |
Forum: PHP Aug 21st, 2009 |
| Replies: 6 Views: 673 I have several columns in each row stored with a user's information. I have put a checkbox at the end of each row and a Delete button at the at the bottom of the table. How can I check a box and... |
Forum: PHP Aug 5th, 2009 |
| Replies: 5 Views: 301 Well, I just took out the include statement and just copied the data in its place. vars.php is just my database information. Still nothing... |
Forum: PHP Aug 3rd, 2009 |
| Replies: 5 Views: 301 Well, I tried added the extra = and turning on global variables, still nothing. It acts as though I just refreshed the page. |
Forum: PHP Aug 3rd, 2009 |
| Replies: 5 Views: 301 This is part of the code to a login form. The only file is index.php. The code continues but it what you get after you have successfully logged in. It doesn't matter what I put the the login form,... |
Forum: PHP Jul 28th, 2009 |
| Replies: 4 Views: 239 Thanks guys, works great! |
Forum: PHP Jul 28th, 2009 |
| Replies: 4 Views: 239 I have created a database. It just contains information about websites. One column has the path to an image, like a rating system(1-5 stars). I just need to display this information on a web page.... |
Forum: MySQL Jul 27th, 2009 |
| Replies: 0 Views: 352 I'm trying to delete rows from my database by using an HTML form. I can retrieve the database and display it nicely in a table using this code:
<table width="889" border="1">
<tr>
... |
Forum: ASP.NET May 28th, 2009 |
| Replies: 2 Views: 825 Dang. Is there anyway to use the source code feature in internet explorer and copy/paste that into a file in my program, then read it that way? The source code it gives me in IE has all the links in... |
Forum: ASP.NET May 28th, 2009 |
| Replies: 2 Views: 825 I am having problem getting all the links from a webpage. I have successfully created this using just C#. I used
foreach (HtmlElement link in webBrowser1.Document.Links)
{
... |
Forum: C# May 27th, 2009 |
| Replies: 6 Views: 611 Thanks. I'm just trying pull all the links from a website. It doesn't seem to get the links that are in javascript. The links show up in the original source that the browser gives me, but leaves that... |
Forum: C# May 27th, 2009 |
| Replies: 6 Views: 611 Would the local file be a txt file? Sorry, I'm pretty new to downloading fjles. |
Forum: C# May 27th, 2009 |
| Replies: 6 Views: 611 I got the same result doing these two methods.
string getPageSource(string URL)
{
System.Net.WebClient webClient = new System.Net.WebClient();
string strSource =... |
Forum: C# May 27th, 2009 |
| Replies: 6 Views: 611 I've tried a couple of ways of getting the source of a page, but it doesn't return the whole thing. I'm trying to get it to return the the whole source like it does if you view it in a web browser.... |
Forum: C++ Apr 7th, 2009 |
| Replies: 10 Views: 555 so that part would be right without the &? |
Forum: C++ Apr 7th, 2009 |
| Replies: 10 Views: 555 I just figured something out. I don't know if it going in the right direction or not but I forgot to put the "&" when I created the new lists. Here is what I put in the drive file to create and copy... |
Forum: C++ Apr 6th, 2009 |
| Replies: 10 Views: 555 Thanks. I think I see how it all works, just not sure which part is actually wrong. Now it compiles and runs. It shows the two lists that it read in then crashes when it tries to copy them. When I... |
Forum: C++ Apr 6th, 2009 |
| Replies: 10 Views: 555 Ok, I understand that I need an operator=, copy constructor, and a destructor. After I use my operator= to make a shallow copy of my list, do I then use the destructor on the original list and then... |
Forum: C++ Apr 2nd, 2009 |
| Replies: 10 Views: 555 Thanks for the help! I was able to fix 1 and 4. I changed some of my code. Now it is just not copying the original list to the new list. When I debug it, says it can't evaluate "info" and "next".... |
Forum: C++ Apr 1st, 2009 |
| Replies: 10 Views: 555 I have been working on this for a few days now. I'm just trying to make a deep copy of a template linked list. I have successfully copied the list, but when I enter a new item to the new list, it... |
Forum: C++ Mar 31st, 2009 |
| Replies: 4 Views: 418 Thank You! That helped so much. Problem solved |
Forum: C++ Mar 30th, 2009 |
| Replies: 4 Views: 418 Here is SortedType.h
#include "ItemType.h"
using std::bad_alloc;
// Header file for Sorted List ADT.
template<class ItemType>
struct NodeType;
template<class ItemType>
class SortedType |
Forum: C++ Mar 30th, 2009 |
| Replies: 4 Views: 418 I have an assignment to use templates for a linked sorted list. The SortedType.h file is in our book and that is what we have to change. I understand how to do all of that and it compiles and... |
Forum: C++ Feb 12th, 2009 |
| Replies: 4 Views: 561 That's exactly what I was thinking. The directions specifically said to put the input data into an "item", then put the item in the list. Right now I keep getting errors when I use the "cin >> item"... |
Forum: C++ Feb 12th, 2009 |
| Replies: 4 Views: 561 Hey. I'm trying to simply input items into a list, then be able to sort them and do whatever. I've done this before for my previous classes, but we have we have to use class files out of the book and... |
Forum: C++ Jan 27th, 2009 |
| Replies: 1 Views: 1,117 Hey. I have to write a Fraction class for homework and overload for the Fraction class the operators +, -, *, /, +=, -=, *=, /=, and << (the insertion operator). Can somebody please tell me what... |