I'm a self learner in javascript,currently I'm still a beginner so I just need some advice from some expert about the exercise given by a javascript book,without referring to the answer because I have the urge to learn,i coded out a simple site request by the question.
The question is as follow:
Create a user interface that allows the ...
I been doing a proyect on visual studio 2010 and created a database, I run the form
it shows me the data I entered manually into the data base, but I can't enter any new data.
I followed a tutorial in you tube "How to make a Database App in 10 minutes.
...
I have to use only Boolean and if statements to determine if a number is between 141 and 185 and whether it is lower or higher than that number. I am stumped.
double maxHR= 220- Double.parseDouble(yearsOld); //maximum heart rate
double reserveHR= maxHR- Double.parseDouble(restingHR); //heart rate reserve
double upperEndZ...
Hey guys,
Consider a list of numbers L=. We can only have the series between +=2^j, while 0<=j<=32.We have to implement an algorithm which implements the largest product.
...
This is an attempt to rewrite some old homework using STL algorithms instead of hand-written loops and whatnot.
I have a class called Database which holds a Vector<Media *>, where Media * can be (among other things) a CD, or a Book. Database is the only class that handles dynamic memory, and when the program starts it reads a file form...
I'm learning about text processing in Java for a class and the example in class was to read in data from a file, do text processing, write back data (List) to the file. I understand the example in that he reads in each line into a String and adds that line to the list and uses the .split(" ") and then Collections.sort to sort the data r...
Hey there,
I need to some homework ... The Question is :
How can you print the path of the current directory (working directory) and how can you use it as a variable?
The first part of the question is easly answered:
pwd
But how can I use it as a variable ?
...
All right, you guys were very helpful with my last question, so I'll try another one. This is also homework and while the last one was quite old, this has been submitted and is waiting to be marked. So if there's anything that will bite me it'll probably be this problem. I've obfuscated the class names and such since it's still possible ...
If I have an ArrayList that has lines of data that could look like:
bob, jones, 123-333-1111
james, lee, 234-333-2222
How do I delete the extra whitespace and get the same data back? I thought you could maybe spit the string by "," and then use trim(), but I didn't know what the syntax of that would be or how to implemen...
how to sort an simple array logically (for both string & int) ?
without using Arrays.sort(arr) or any comparators.
...
i need to create a small program: user enter 1st string ex: I'm a beautiful girl
then he needs to replace for example 'beautiful' to 'clever'
can use just stdio.h and pointers as well
help me, pls!!!
...
Design a database to store details about U.S. Presidents and their terms in office. Also, record details of their date and place of birth, gender, and political party affiliation. You are required to record the sequence of presidents so that the predecessor and successor of any president can be identified. Remember Grover Cleveland se...
It's a part of my final project; I don't understand C well. I have just this, and I don't know anything more.
Please don't delete my question. I was looking for the answer a long time. I guess I'm not the only student with this problem. And why is there no option to send a private message or see a user's e-mail?
wow, guys...actually i ...
I just want some hints on following question. From how and where do i start from....
http://pl.tinypic.com/r/9h3oyf/3
...
A dairy farmer, who is also a part-time cartoonist, has several herds of cows. He has assigned each cow to a particular herd. In each herd, the farmer has one cow that is his favorite - often that cow is featured in a cartoon. A few malcontents in each herd, mainly those who feel they should have appeared in the cartoon, disagree with t...
float a;
double b;
A. scanf("%f%f", &a, &b);
B. scanf("%Lf%Lf", &a, &b);
C. scanf("%f%Lf", &a, &b);
D. scanf("%f%lf", &a, &b);
...
i have made a program to find the area of a rectangle but it always gives area 0.Dont get why.
#include<stdio.h>
#include<conio.h>
struct rectangle
{
float width;
float length;
}rect;
void rectangleget(void);
void rectangleset(void);
void area( void);
void perimeter(void);
void main(void)
{
clrscr();
rectangleset();
...
this means can we develop php mysql based desktop applications which dont require browser to run.i.e runs like java applications.
if so how ???
...
Hello All,
I trying to write an application that has a collection of students using different types of collections (List, ArrayList, Dictionary)
Requirements:
Use C# Iterators (not FOREACH)
Return IEnumerable of Students
I created a class called Students implementing IEnumerable interface
I have 3 methods for each collection and e...
the problem is that I first have to convert the two-dim to a one-dim, then find the selected index and then convert again and then save the new index. after that I have to use the right string.format to show the right output.. I'm just confused =(
In the program there are two text boxes that ask for "row" and "col" size and then you pr...