Forum: Java Oct 18th, 2009 |
| Replies: 3 Views: 210 |
Forum: Java Oct 18th, 2009 |
| Replies: 3 Views: 210 I have this code i java
I have class
class Author
{
String name,surname;
public Author(String name,String surname)
{
this.name=name;
this.surname=surname; |
Forum: C# Jul 25th, 2009 |
| Replies: 1 Views: 250 I'm working in a web application aspx and C#. I have two procedures in code behind.
protected void Button1_Click(object sender, EventArgs e)
{
...
int totalCost=1000;
Label7.Text =... |
Forum: ASP.NET Jun 2nd, 2009 |
| Replies: 3 Views: 639 |
Forum: ASP.NET May 30th, 2009 |
| Replies: 3 Views: 639 I have created Table in SQL server with visual studio 2005 Table name Student
and table data ID,name, surname, indeks, years,
I have this code in C#
protected void Button1_Click(object sender,... |
Forum: C++ May 28th, 2009 |
| Replies: 6 Views: 229 |
Forum: C++ May 28th, 2009 |
| Replies: 6 Views: 229 i do not know why I can not attache fie. the process fail |
Forum: C++ May 28th, 2009 |
| Replies: 6 Views: 229 but is not working. i tried |
Forum: C++ May 28th, 2009 |
| Replies: 6 Views: 229 i am doing a project with visual c++ .In my project I have 2 forms . I want to do some calculation of some data of the form Form1, and i want the result of this calculation to write to a label of... |
Forum: C++ Apr 22nd, 2009 |
| Replies: 1 Views: 197 stepen=pow(2,bBita-1-i); in this function the compiler announces error
'pow':ambiguous call to overloaded function |
Forum: MS SQL Apr 19th, 2009 |
| Replies: 3 Views: 668 Hi I'm new at this I have created a database Person with (ID,Name,address) in MS SQL
an d I have the following code
protected void Button1_Click(object sender, EventArgs e)
{
... |
Forum: Java Nov 16th, 2008 |
| Replies: 6 Views: 579 You can try like this
Buffered reader tast=new BufferedReader( new InputStreamreader(System.in));
String age="";
age=tast.readLine();
intage=Integer.parseInt(age); |
Forum: Java Nov 12th, 2008 |
| Replies: 12 Views: 1,756 I think that this if kph means speed than distance/kph means time in hours you don't need variable hours. you can simlply write System.out.println("Time in Hours: "+subtot); |
Forum: Java Nov 8th, 2008 |
| Replies: 10 Views: 826 thnx a lot Destin this Was my problem |
Forum: Java Nov 7th, 2008 |
| Replies: 10 Views: 826 in th first example means
lass CounterDemo extends Counte |
Forum: Java Nov 7th, 2008 |
| Replies: 10 Views: 826 this works OK
class Base
{
int i;
public Base(int i)
{
this.i=i;
}
public void print()
{ |
Forum: Java Nov 7th, 2008 |
| Replies: 10 Views: 826 I have 2 examples for inheritance in Java The first works but the second not. I wonder why.
Does the extended class must implement constructor with super()
class Counter {
int i = 0;... |
Forum: C++ Nov 4th, 2008 |
| Replies: 8 Views: 860 Another solution
int Prime(int k)
{
int x;
for(int i=1;i<k;i++)
if(k%i==0) x++;
return x;
}
in main method u have to write |
Forum: C++ Oct 26th, 2008 |
| Replies: 10 Views: 962 3 years before I used Borland C++ compiler and their editor to and I didn't have to make new project to compile. I just opened I single Cpp file and click Compile and than Run and everything was OK... |