132,726 Archived Topics
Remove Filter ![]() | |
public class Student { private String name; public Student(String nameIn) { name = nameIn; } public String getName() { return name; } public void setName(String nameIn) { name = nameIn; } } and i get this error Exception in thread "main" java.lang.NoSuchMethodError: main Software Development java | |
does anyone know how to convert an integer (3) to floating point single (3.0) ? it tried this but got an error bc of the $t3 cvt.w.s $f4, $f4, $t3 i have a value stored in $t3 register and need to move it from there to a fp register like … Software Development assembly | |
I am using c++ I have a string array and I need to convert it to an int array. I tried static_cast and that did not work. Any suggestions Software Development c++ ![]() | |
I'm a beginner so pls bear with me. Try to make your explanations as simple as possible. The program i'm going to make will be like this: the user enters the customer name, the items ordered by the customer, the quantity of those items, and their prices. Here are my … Software Development visual-basic | |
1.WHAT IS THEDIFFERNCE BETWEEN LOCAL INNER CLASS AND NON LOCAL INNER CLASS? [B]2.Is there any tool in java that can create reports ? 3.?What is meant by a resource leak[/B] ? Software Development java | |
For some reason, newline characters seem to be using 2 bytes in text files instead of one. Is this normal? When I open a text file and look at the size, I get one more for every character I add, except for newlines, which add 2 bytes. Software Development c | |
I have a two dimensional array that I need to make into a global variable to be able to access it from other functions. I can't quite figure out what the correct syntax is. [code] [COLOR=#008000] [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] "stdafx.h"[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <iostream>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <fstream>[/COLOR] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <string>[/COLOR] [COLOR=#0000ff] using[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#0000ff] void[/COLOR][COLOR=#000000] … Software Development c++ | |
:rolleyes: I need some one to define prime numbers for me A full definition, I am trying to write a program to determine wether a number is prime, print all prime numbers in a specific range ... e.t.c so i need a full definition of prime numbers, i know prime … Software Development c | |
hi everyone, i am newbie for python.. what i want to do is to click on the button and the python script will add up for what i ordered/choose from the webste... th can some one give me idea? Software Development python | |
in c++ how do I get the size of a string array. sterlen(arrayname) does not work or size(arrayname) either. I am getting sterlen or size as idenitfier not found at compile time. Software Development c++ | |
I would like to write a programme that can demonstrate how gravity work by showing bouncing balls on the screen- the idea is that the user can set the strength of the gravity, and then see how the balls react and bounce differently depending on how strong gravity is. I … Software Development pascal | |
hi i am a new member of daniweb and i have problem i wrote a program in c that finds the numbers which are like that abc...=pow(a,3)+pow(b,3)+pow(c,3)... there are 5 number like that these are 1,153,370,371,407 but my program doesnt show 371 please look this [code=c] #include<stdio.h> #include<math.h> int main … Software Development c | |
[I]<< split from [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=22498"]this[/URL] thread >>[/I] I am a student in Bogazici University/Turkey. We have a project and I want to change the cursor position but there is a problem. Our teachers are using Microsoft Visual C++ 2005 Express Edition. In this compiler there is no windows.h header. What can … Software Development c++ | |
If you would have to write your own implementation of the function [COLOR=Blue]getchar()[/COLOR] in C; how would you do it?. Software Development c++ | |
I have compiled a project using Visual Studio in Vista ultimate. On my computer the application works fine, but on the computer where XP is installed I get the error like "Progam configuration is wrong". Do I have to compile my WIN API project in XP to be runned on … Software Development api c++ visual-studio | |
I'm making a program that compresses text files using the LZW compression algorithm and creates a seperate compressed file. I made a file type and extension and icon for this file type (.nct), and set up 2 actions for it - one that calls the program and passes the .nct … Software Development algorithm c file-system | |
I'm working on a program where I'm reading a file and I have to count the number of entries in the file. Each entry takes up a different number of lines, but each entry is also separated by a '#'. I'm wanting to read through the file and count the … Software Development file-system java ![]() | |
i want to find the second smallest number ib array but it is displaying second highest number int max=0,second=0; if(a[0]>a[1]) { max=a[0]; second=a[1]; } else { max=a[1]; second=a[0]; } for( i=2;i<n;i++) { if(a[i]>=max) { second=max; max=a[i]; } else if(a[i]>second) second=a[i]; } System.out.println("the second smallest nubmer is"+second); Software Development java | |
Write a Fibonacci function then takes an input from the user in main program and pass to function which prints Fibonacci series up to this number. Hints: Enter the value up to which you want to print the series : 5 0 1 1 2 3 5 Software Development c | |
:confused: please some1 can help me in writing a random number generator funtion......generates number from 1-10000...explain it..plz Software Development c | |
Well im trying to find a string in a textfile but i have some problems : When im trying to create a string called temp in the Compare function using the length of the string that was typed in to main to compiler gives me an error , and even … Software Development c open-source | |
I have started to solve them but no use, im a beginner :o with easy solution please,i will be greatful.. I hope that im didn't ask to much. Q1)Write a program that read two integer and determined and prints if the first is a multiple of the second? {Hint: Use … Software Development c | |
Hi Everyone, I am new to C/C++, I would like to perform the following task: 1. Build or model a wireless nodes for about 10 computers 2. Assign two feature to each of the node e.g. FTP and TELNET, or SMTP and POP3. So that each node can be given … Software Development c++ | |
Hello!. First, I don't want you do my homework. The hw consists in take a char chaine and convert it to a number usign macros. For example the chaine 56 in the number 56. We have a program provided by our instructor which in theory does the same without macros. … Software Development assembly | |
I'm trying to switch from Turbo C++ to MSVC++, I've gotten most of the differences in coding and libraries worked out, though I keep getting this problem and I have tried to find a solution but I haven't been able to find one after 30 minutes of searching for it. … Software Development c++ | |
I would like to write a program that creates a relational database that handles queries using only C++. What would be the most appropriate method? Using arrays, linked lists or something else? Please advise. | |
hai friends my academic project is developing an editor for java. please tell me the code to compile and execute the java programme. waiting for ur reply please thanq | |
I want to learn some UI developemnt for windows using visaul basic can you guys direct me to some books, and materials? Software Development vb.net | |
OK, i am using Microsoft Visual C++ 2005 Express Edition, and am using the Window Applications part of it (compared to using Command Prompt to display programs) Now, as for the program, i am making a password machine that tells users to enter a username and password, my program will … | |
hi, every one. I want to develope an application similar to outlook express that is an e-mail client. i want to do it using Java but i don't really know how and what to use. I have been trying to find information on the internet and i came accross secure … Software Development java | |
Im trying to read some integers values from a text file. The problem is that first lines of the text files contains some text and only then theres the values that i want to read into variables , and i dont know how to get down three lines and then … Software Development c open-source | |
Guys I have to deceipher this code but I can't make heads or tails out of it cause it closes the comand window before i can see anything I tried adding a system pause at the end but that just gave me an error. [code=syntax] // Program 6.9: Validate a … Software Development c++ | |
Hey .........Would any 1 like to tel me that if the mege sort works at runtime or not.? im giving my code below....Tell me y it is not running in VC++ correctly.....the code given below doesnt have any error in code but when any1 runs it it gives error.....CHECK IT … | |
Hi guys, Im currently doing my Final Year Project on electronic engineering course..And my project relates to RFID and sadly to say it is due by next week:sad: Im using vb6 and I DESPERATELY need help on one part of my code....Can anybody help??? But first of all, I want … Software Development engineering video visual-basic | |
I need to find a way to convert char[] to TCHAR[] I did my best to find it, but all I could find was char[] to wchar_t[] using... int swprintf( wchar_t *buffer, const wchar_t *format [, argument] ... ); Help please! Software Development c | |
Hello Everyone, I have started creating an open source database architecture, with a waa, and much more. There is many features that can blow SQL, and access out of the water, including but not limited to: 1) true multi-dimensionalism, 2) array fields 3)File embedding, of 30 or more formats.. 4) … Software Development c++ encryption open-source perl python | |
Well i'm trying to implement pawn into my app (pawn the embedded scripting language) and while including the amxprocess.c i get these errors: [QUOTE]Error 1 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 524 Error 2 error C2708: 'push' : actual parameters length … Software Development c++ | |
I was trying to write some stuff in batch files, and was told it would be easier to do what I was trying to do with vb. So I looked into that, and I can understand it enough, but in my search for tutorials to get more into it, they … Software Development vbscript visual-basic | |
Hi all, I am after a instruction set with limited or no floating-point instructions. Why I want this is to get a compiler of this certain architecture and compile code (one with floating-point and the other without). With the resulting assembly I wanted to compare the two and do some … Software Development assembly | |
:sad: Hi! I am a new member on DaniWeb site. And I need your help!!! I just started C++. I have project to do. The user must insert 4 integers. My main problem is that I may not input th digits seperately, but should input the number as a whole. … Software Development c++ | |
Hi I am creating a loop, and for one of the ?possibilities (or answer things or whatever they're called when you can execute commands from the results) i have a result of None. This is the code. ready = False while not ready: input = raw_input("Are you ready?") if input … Software Development python | |
Does anybody know how to extract the tag information (Title, Artist, album etc ) from a .mp3 file ? And how to edit the information from VB ? Regards Software Development visual-basic | |
Is there any place that I can find what functions are available in what headder files? Dick Software Development c | |
:sad: for comipiling the c/c++ program my editor is taking so much time for even it is 2 or 3 lines of code also .because of this i am unable to do more progrmas in a day. please help me to do it fast.i am useing tc editor Software Development c++ | |
I am writing a class character for an assignment. The class relates to a role playing game. I am getting an error which I don't understand. This error occurs in the default constructor of the implementation file. The dynamic help says that I created an object without creating a pointer … | |
hello, I am using Visual Studio 2005. When I write come C++ code (using iostream header) I get this error when compiling c:\users\jan\documents\visual studio 2005\projects\lesso\lesso\main.cpp(1) : fatal error C1083: Cannot open include file: 'ioestream': No such file or directory What should I do? Software Development c++ visual-studio | |
Does anyone know of anyplace/anybody that teaches C# at the highschool or college level to get students used to a programming language? | |
I have been having difficulty trying to figure out how to read in data backwards. I get the idea, but have no idea how to properly code it since it is string data from a txt file. I was given the basic file to start with, but need to add … Software Development c++ file-system ios |
The End.