Hey guys, got a problem with a question.
Question : Write a declaration for a variable people that could be used to refer to an Array of objects of type Person
My answer:
public people[];
people = new Person [100];
But I am getting an error saying it is wrong. What am I doing wrong?
PS. I also tried public people[] = new Person [10...
Can you help me out with this question please.
Question:
Given the following array declarations
double readings[];
String urls[];
TicketMachine[] machines;
write assignments that accomplish the following tasks:
make the readings variable refer to an array that is able to hold sixty double values
make the urls variable refer to an ...
Hi there, this is my first time posting here, looks like a great site! I'm struggling with a has_many association. I have a diary application. The Model players are as follows:
User
UserFriend
UserFoodProfile
I want to be able to get at all the foods that a user's friends have eaten. So, I want to be able to get: current_user.fri...
I have a simple Tkinter app in Python. I'd like to add help document to it; what is the simplest way to integrate an help viewer to the app? Preferably cross-platform (although I primarily use Windows)?
I can imagine writing the help in plain HTML.
...
This is my index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" media="all">
<script type="tex...
I want to make sure that this code is not harmful but everytime I try to decode it it doesn't actually do anything but give me even crazier looking symbols. Any suggestions would be helpful.
Below is the actual encrypted code...
eval(gzinflate(str_rot13(base64_decode('FZnHDoRVElF/cmE7Kw5rpx3tCO+95zLCe3Uaz9diL9cCFVZSc7wQf//3r7//qM55...
Running VS2008 Pro on Windows 7, all SP and hotfixes installed.
When I click F1 on a (valid) keyword in VS2008, I only receive the "Information Not Found" page. I know I didn't install the full msdn as I just wanted to use online help. I can't recall if I clicked or unclicked anything during the install process (installed a couple of ...
I've always assumed that the VB6 help was just deficient in that few (or no) examples were included. But it does have the link for Example in the help, it's just greyed out and not accessible.
Then I thought "maybe there's just something extra in the MSDN that needs to be installed".
Any ideas?
...
I'm writing a GUI with Swing and I'm trying to integrate a microsoft chm help file. The problem is, I don't even know where to start. Can anyone recommend a library/tutorial as a starting point for a project like this? Specifically, I'd like to know about how to open/view specific pages or inidices (I don't even know exactly what the ter...
I have the following code:
int repeat = 1;
int proxyIndex = 1;
if (listBox1.Items.Count == proxyIndex) //If we're at the end of the proxy list
{
proxyIndex = 0; //Make the selected item the first item in the list
}
try
{
int i = 0;
while (i < listBox1.Items.Count)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(...
$.widget("ui.myWidget", {
_init: function() {
//start
alert('Hello World!!!');
}
}
I have the above widget/ui
when i call it like so...
<div onclick="$('#id').myWidget()">
Click Me
</div>
i get the "Hello World!!!" alert box.
if i click it again then nothing happens.
i don't know if im missing something... bu...
Hello,
In VS2010 Beta 2, from the Help Library Manager, after selecting local help, and downloading the VS Documentation, it won't launch.
Here's what I have installed:
Here's what I'm clicking in the Start Menu:
Here's the result:
Ideas?
Thanks,
Adam
...
I'm wondering if it is possible to display topics from a CHM help file in a form of my Delphy application? I know how to use the htmlhelp api but it launches the external help viewer. I would like to display the help topics within a form
...
I have just started programming with Java and noticed I might need to improve my math skills if i'm to do anything worthwhile with it. I just noticed that some of the exercises should be easy for someone with a solid understanding in math as there seems to be some math formulae running the show. I finished high school two years ago and d...
Please help me. I am quite new to kohana. How best to do so the controller was chosen based on the subdomain. For example:
www.site.com -> Controller: siteroot. Method: run
admin.site.com -> Controller: adminsite. Method: run
moderator.site.com -> Controller: moderatorsite. Method: run
director.site.com -> Controller: directorsite. Meth...
I have a an swf, called 'controls' that I created with flash cs4. I upload the controls.swf to my web server. I create an application in flex and it loads the external swf controls into itself. So far I can manipulate the controls.swf via my flex app.
I created a class in my external swf, but I need to add some onResize event/check to m...
Hi,
I have a quick question about to how setup my basic fluid layout. I have one 40px high, and 100% wide header bar at the top, this looks great.
Then i have a #left and #right div, each floated respectively. This looks cool. They both have height 100% which works great but the issue is the page then scrolls 40px down, because there is...
After quite a few hours playing with rebase, the repo still looks different from what I need:
I would like to accomplish the following tasks
[some of which were OK before I started messing with rebase :( ]
Move The top commit ("Removed extraneous...") to before the branch off (Right above "fix for #226").
Combine the two commits that...
I wrote a site using ASP.NET MVC, and although it is not completely SEO optimized at this point I figured it is a good start. What I'm finding is that when I use Google's Webmaster Tools to fetch my site (to see what a GoogleBot sees) it sees this.
HTTP/1.1 200 OK
Cache-Control: public, max-age=1148
Content-Type: application/xhtml+xml; ...
Are there any applications out there that will let me encode my Ruby on Rails code so others can't read it? I plan on selling a few small applications, but I really don't want everyone knowing my code.
Thanks.
...