199,114 Archived Topics
Remove Filter ![]() | |
[COLOR=#000000]C program to create a calculator. The program will accept an arithmetic expression (assumed to be valid expression of only +, -, *, /, 1/x, and % operations) from the user. Evaluate the expression and display the results. Including the above functions, this calculate should provide the temporary buffer (memory … | |
hi i'm student in university i try to do my homework to simulate FCFS and RR i need ur help to tell me if my answer good or :sad: Qustion is: the project is to write a program to simulate FCFS and RR without having any i/o, all processes have … | |
I am trying to make a simple database delete script. Im fairly new to php and mysql. I need to access 3 tables in the database to delete all the relevany information for one user. The articles, penname and users tables. I adapted the code from a search script I … | |
I am attempting to search a list to check whether an item is already present before inserting. I am having trouble with the pointers; I understand that I need to set the pointer to the start of list but I keep getting compilation errors. Can anyone help? Here is my … | |
i've been given an assignment to writet he coding for a calculator. more the functions,higher the score in the assignment! i'll use the switch statement nd read through math.h. wat other suggestions can u guys giv me??there isnt' any limit to the no. of inputs we can take! can ny1 … | |
[B]Hi every one[/B] I have an application that gives the handle and information about the window that mouse goes over it I know the stupid way to get the handle or any information from the teXt that holds it and it's Open Notepad and write to it So What i … | |
Hello, I am university student and currently we are being thaught C++ and are studying Object Oriented Programming. Since last few weeks what ever assignment I get , My program always end up with thread stop error while runtime and I cant find the reason. I have to currently submit … ![]() | |
Hi, I am about to start learning java. I would like to ask which development tool is better. Eclipse or netbeans ? Thanks, Vishal ![]() | |
[B]Good Day to All:[/B] [B]I need to know if there is a code snippet somewher that will allow me to take a users START DATE and give them a maximum of seven(7) for a END DATE.[/B] [B]Problem is, on my AIX box, we DO NOT HAVE THE Date::Calc Perl Module.[/B] … | |
I have been wondering the definition... I mean, [B]Are both 00123 and 12345 five-digit numbers?[/B] | |
Hello all I'm a fresher to Microcontroller programming. I have defined certain global variables that I need to store at consecutive memory locations, say starting from 0x8000h . Will appreciate if anyone can give me the syntax / instructions to go about the same. thanks techie | |
| |
I need help in updating a database in MS access using VB....i need only 8 entrises (rows) in the database...all i need to do is delete all the rows in the database and then add the new data....i am delelting the whole data since the no of new entries(rows) maybe … | |
i tried writing a program whose output would display the letter p in a (3 by 12) that is 3 rows and 12 columns, didnot succeed. could you help me | |
please tell me how I can execute c++ program frm java I had tried this one but it does`t work /*import java.io.*; public class exe1 { public static void main(String[] arg) { try { Runtime rt = Runtime.getRuntime(); //int s=rt.availableProcessors(); Process prcs =rt.exec("inventry.exe"); InputStreamReader isr =new InputStreamReader(prcs.getInputStream()); BufferedReader br = … | |
Hello C/C++ experts, I write the following code [code] int a[10]; int b[10]; // initiliaze all element of array a and b to 0. a[11]=255; [/code] Neither the program crashes nor the value of b[0] becomes 255 What could be the reason? | |
Hello. I'm trying to read an input file to build a list formed by structs. The input file has this format: 1 2,15 3,0 2 1,15 3,8 ... the first number of each line will be in what I call NOMBRE, and for the rest of the numbers in the … | |
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 | |
hi all, I have a special type of gallery on my website ([URL]http://www.grafax.co.uk/newtest/gallery[/URL]) which uses a javascript file to make a div tag hover over the gallery with the image inside of it. however, the page shows before the javascript file is loaded, and so displays the image in the … | |
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 … | |
Hi, I've been using an IDE for developing in PHP. I wanted a PHP framework and SYMFONY was one of the suggested ones. I need to complete this proj withing 3 months and have no time to learn anything complicated. I need feedbacks from people who have used Symfony and … | |
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 ![]() | |
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 … | |
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] ? | |
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. | |
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] … | |
: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 … | |
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? | |
hi, this is my first post in this forum... i have an ASP.NET project in school, and i need some help with the sitemaps this is my folder, i upload it here [URL="http://www.uploading.com/files/10S683QD/buzztime.zip.html"][/URL] my problem is that the on the side menu, i get Home, Products, Services, and Shopping Cart. … | |
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. | |
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 … | |
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 … | |
[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 … | |
If you would have to write your own implementation of the function [COLOR=Blue]getchar()[/COLOR] in C; how would you do it?. | |
I have the following class and I am now supposed to add a parameter T, so that the value of Variable <T> is of type T rather than object. I am now lost with this and need some help. Not getting the generic classes. public class Variable { private Object … | |
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 … | |
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 … | |
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 … ![]() | |
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); | |
Does anyone know where this comes from or comes in! I haven't seen it and now i have seen it in my code ( i know what it means but can anyone provide somemore info....) | |
[B]Is it fair to say that a preliminary users manual is a form of prototype? Explain in detail [/B] | |
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 | |
:confused: please some1 can help me in writing a random number generator funtion......generates number from 1-10000...explain it..plz | |
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 … | |
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 … | |
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 … | |
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. … | |
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. … | |
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. |
The End.