132,726 Archived Topics
Remove Filter ![]() | |
I have tried and tried to figure out what it is I am have wrong. I have an assignment to create a program that calculates employee's bonus. I think I pretty much have it, but I keep getting an error that I cant figure out and what the error is … Software Development c++ | |
hey everyone, I have a quick question, and appretiate any help given, I need to check if my Javadoc is correct or not, I have this assignment due, but don't know if there would be a javadoc comment for the "boolean" I added a javadoc comment to check with you … Software Development java | |
Hi, with c++, what is the steps to make centered 2d sprite rotate oriented toward mouse cursor, i heard that i should use trigonometry.. can someone tell me these steps without coding regards iammfa Software Development c++ | |
Ive been having some trouble recently with a copy constructor (related to an assigment operator which is overloaded).... ive been getting segmentation fault, and Im pretty sure that i've narrowed it down to the copy constructor Anyway, here is my code for the copy constructor: [CODE] template <typename L> List<L>::List(const … Software Development c++ | |
Hi, how to create trigger in mysql 5 with java. i have code like this, but still error " java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER $$ CREATE TRIGGER `a1`.`xData` … | |
Hi I was wondering if you could help me with a question on image processing. I am using c++to process the image.I have a raw file, and I have read it by creating an fstream, and have saved the length of the file in variable end. [CODE] #include <iostream> #include … | |
Sorry to bother again:) but im new to Python and to OOP. I made a simple sniffer application (thanks to your help) which prints the sniffed data on the console. I want to extend it giving it a GUI using PyQt4. I also made an argument "--nogui" that the user … | |
Howdy all hope everyone is having fun with there own projects! But i have come once again to be a pain in the ^**^. I need to know an easy way of doing this -> as an example say: I would like to some how use a MultiDarray in this … Software Development | |
This procedure dispatches application defined event handlers and alternately executes default process for both standard or sub/super classed windows. Map is defined as follows. In most cases I define this table in .data, but in can be in .const also. I choose writeable memory as application can redefine characteristics. [code] … Software Development assembly | |
Hi all, UDATE: Let's not hastily rush into this. I may have found my problem. BTW, my result set is populated with all of the required data. I have a custom renderer which renders table cell values from a query. The result data is populated into a 2 dimensional array. … | |
Hi I'm trying to find a way to find the first avogadro cipher whose digital sum exceeds 100, I've come to: [code=python]#!/usr/bin/python def dig_sum(n): lst = list(str(n)) ln = len(lst) sm = 0 while(i < ln): sm += int(lst[i]) return sm def avo(i,j,k,c): k = j j = i + … Software Development mathematics python | |
Hi, When I want to get a string with getline function, it jumps from this statement without getting string . Because I get an integer number before it and the \n is pressed . To solving this problem I use cin >> ws before getting string with getline function . … Software Development c++ | |
Hello, I am having trouble in using the data member of class 1 in the member function of another class 2. Following is my code. [CODE]class a { public: a(); ~a(); std::vector<int> temp; }; class b { public: b(); ~b(); int test(); } b::b() { a *a1; a1 = new … Software Development c++ | |
[CODE]itemlist[loc] = new product(codes,size,descrip,color,olditem + 1,url)} else // new item {olditem = itemlist[item_num].quan itemlist[item_num] = new product(codes,size,descrip,color,olditem + 1,url); items_ordered = item_num item_num = item_num + 1 }[/CODE] The above code is in javascript. the value of 'itemlist' is set whenever i click on additem in different html pages. I … | |
Problem: Software Versioning Problem Type : Complex ABC corp. makes a large range of softwares. They always need to distribute new patches and updates to their existing users. The updates may have dependency on earlier versions and hence the update process may vary for different users, depending upon which version … Software Development shell-scripting | |
I have got a problem with the layouts. I am creating a Grouplayout for my JLabels / Buttons etc in a window .. Then I am adding a Jtable using the JFileChooser for which I am specifying GridBagLayout and then adding the layout to Jframe again after JFilechooser creates a … Software Development java java-swing | |
Hi gang, I have a unique challenge that I just cannot seem to get by...I have a form with a series of listboxes that allows the user to rename items in the listbox (I probably should be using a listview control instead). When the user right-clicks and selects rename from … | |
Hi Everyone... I need to convert a JFRAME to an APPLET can I do that by simply extending the JApplet Class and replacing the main method with start ? I've tried this and my program will compile but wont run Here Is the Original Code [CODE] import javax.swing.*; import java.awt.*; … Software Development java java-swing | |
[code] #include <iostream> #include <fstream> #include <string> #include "LinDicT.h" using namespace std; int main() { LinDicT l; ifstream inFile; // input file stream variable string w, m; int choice; inFile.open("meanings.dat"); // open the input file if (!inFile) { cout << "Cannot open the input file" << "The program terminates." << … Software Development c++ file-stream | |
I am attempting to write a program that evaluates a mathematical expression after parsing it. I have the parser correct, using a string to strip it into tokens and compare it to grammar rules to validate the expression. It should be able to evaluate expressions of type (3+2)*4+-1= where negative … Software Development c++ | |
Trying to write a function but don't known how to start. trying to make a function that ask the user for the current population and displays the population after 1/2 years unitil it reaches 1 million at a rate of 8% per year. for example Year 1, population 864000 Year … Software Development python | |
im new at C, actually just started programming in general, and im having a good amount of problems with this program. [code=c] #include <stdio.h> int main(void) { char vehicle; char car; char truck; int hrsn, minn; int hrso, mino; int time; int rt; int amo; printf("What time did you park(military … Software Development c | |
[code]List result = q.list(); if (result.isEmpty()){ System.out.println("No Projects"); } else{ for(Object object : result){ Project p = (Project) object; System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); } }[/code] [Quote] error : CompanyReports.java:303: cannot find symbol symbol : method getName() location: interface java.util.List<Employee> System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); ^ 1 error[/Quote] Can anyone … Software Development java | |
This snippet defines a context to execute a block of statements in a different working directory (with the help of the with statement). After the block is exited, the initial working directory is restored, even if an exception has occurred in the with block. Software Development python | |
Hi Guys, I need to hand in a project tomorrow morning and its almost 6pm here so I need help as soon as possible. I am trying to get the picture images from the Resource folder because I imported them to the Resource folder but cannot seem to retrieve them. … Software Development assembly file-stream | |
Hi ! Sorry for my english ! My script must rename file name, but don't do it. What is wrong with this script: [CODE]@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT … | |
I'm sure I missed something simple but I'm getting frustrated with this code simply because I'm so sure it should work. I have created a short program for exporting some XML data was use at the office into .tsv files. I have a thread dedicated to reading the xml data … Software Development xml | |
Im trying to set an existing registry key. [code] #include <iostream> #include <windows.h> using namespace std; int main() { HKEY hk; char* data = "VALUE"; RegOpenKeyEx( HKEY_CURRENT_USER, NULL, (DWORD)0, KEY_SET_VALUE, &hk); RegSetKeyValue( hk, (LPCTSTR)"Software\\Microsoft\\Command Processor", (LPCTSTR)"Autorun", REG_SZ, (LPCVOID)data, (DWORD)strlen(data)); } [/code] I get an 'Entry Point Not Found' error (The … Software Development c++ windows-vista | |
hej I need to Construct a loan account for a small company this is the info that is givin * You can borrow a maximum of 1,000,000 kr • There shall be no redemption. The entire loan amount + accrued interest payable in one sum at the end of the … Software Development java user-interface | |
Hi, Can someone help please, I really need to get the text on a label to change to what is inputed by the user on the previous login form The text box where the username is entered is called UserNameBox and the label is called Label1 So whatever is put … Software Development visual-basic | |
Hi experts, i have this line of string: a1,b2,c3,a2,b1,c2,a3,b2,c4, from this line,i want to load into a string array like this: array[0]=a1,b2,c3, array[1]=a2,b1,c2, array[3]=a3,b2,c4, seriously i have no idea at all.ive done sumthing but looks like rubbish.i really hope dat u experts can help me. thanks for advance [CODE] void … Software Development c | |
hi, i want to deactivate the restore button that comes in output form. i there any way 2 do it Software Development | |
[CODE] import java.util.Scanner; public class primenumbertest { public boolean isPrime(int num){ int x; Scanner input = new Scanner(System.in); System.out.print("Enter a number to find out if it's prime or not (greater than 1): "); num = input.nextInt(); if (num == 2) return true; // check for divisible by all even number … Software Development java | |
Is codeblocks an ANSI compiler compatible with gcc/g++/gpp (the GNU C/C++ Compilers)? Software Development c++ | |
[B]Bsplayer is a videoplayer. I want to start bsplayer with the parameter -stime-x, where x is the amount of seconds. This result in playing a movie from say 23 minutes 10 seconds with the parameter -stime=1390. The whole thing I can manage to do in [COLOR="Green"][U]DOS[/U][/COLOR] and looks like: @echo … Software Development mathematics os-x python video | |
I expect the following source code to output [B]value = 0, Copied value = 0 value = 0, Copied value = 200[/B] But it is actually giving [B]value = 0, Copied value = 0 value = 200, Copied value = 200[/B] I have re-assigned [I]CopyMyValWithRef.reference.value = 200;[/I] This assignment must … Software Development | |
I've been busy learning windows service these days. I have here a windows service application that monitors a folder then logs all the activities inside that folder. I want my windows service to show in the system tray, how do I integrate my windows service and the notify icon? Thanks! … Software Development | |
I have to build a media player in C# for my final project and I'm not sure where to begin. I want it to be able to play most of the video and audio formats and have basic features like a track bar, a play list, and the option to … Software Development audio visual-basic visual-studio | |
Hi there daniweb, i'm making a program that deals with a hill climber and genetic algorithm. I'm pretty much done writing the code but i'm having a headache of a problem....heres the header[CODE]#include <iostream> using namespace std; template<class T> class myVector { public: myVector(); int get_size() const; int get_capacity() const; … Software Development algorithm c++ ios user-interface | |
I have created this web service [CODE]using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod] public string user(string strusername, string strpassword) { string user … Software Development | |
Dear All, First of all, I do not know if this is the correct place or not but I am having problems about playing video by using opencv. I am trying to play an .avi video. I did exactly the same thing as tutorial but the code below does not … Software Development c++ | |
im having a problem with my converter. this is my code : [CODE] void romanNumeral::convert(){ for(int i=0; i < roman.length(); i++){ letter = roman.at(i); switch(letter){ case 'M': case 'm': decimal += 1000; break; case 'D': case 'd': decimal += 500; break; case 'C': case 'c': decimal += 100; break; case … Software Development c++ | |
hey this is my first time asking for help. But i am having trouble making this code. (i think i am over looking it) but here is what i need to do. ::: Design and implement a program to maintain a simple income and expense budget for a non-profit organization. … Software Development operating-system python | |
Hi, I am trying to implement a project where I need to detect something. I have the digitized form of a human cell and I need to detect regions separately in the image. This part is over. The next part is where I have to detect overlapping regions. Another part … Software Development | |
Hi, I am trying Serial Port Communication in Linux using Javacomm API and RxTx. I'm configured RxTx as per the documentation. But I received an error as follows, Exception in thread "main" java.lang.UnsatisfiedLinkError:com.sun.comm.SunrayInfo.isSessionActive()Z. Would you help me please.. | |
hiii, I m new to create reports in c#, so can any one tell me how to i create crystal reportsusing my queries?? & How to show it??? Is there any namespace for using crystal report actually my prg give a error at compile tym : the error is related … Software Development | |
Hey, I'm pretty new to programming and I'm writing a program for my class. I can't figure out why my <iomanip> isn't working.. I'll post a copy of the code (I'm aware it's bugged, as it's not returning the proper values, but the format of the output is the issue). … Software Development c++ | |
Hello, I need help with an assignment. I am lost and don't know where to get started. See attached. Thanks. Software Development java | |
Hi All, I am going to create a setup for Windows Application using C#.net. I have ProductKey and Its validating Exe also. I need to integrate this product key and validate it in the Application setup itself. Please help me to do in Inno setup Wizard.Anybody knows it please give … Software Development |
The End.