132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for unsure

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++
Member Avatar for Nick Evan
0
141
Member Avatar for d7o0om

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
Member Avatar for d7o0om
0
81
Member Avatar for iammfa

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++
Member Avatar for mrnutty
0
273
Member Avatar for MooAndStuff

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++
Member Avatar for MooAndStuff
0
1K
Member Avatar for onsir

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` …

Software Development java mysql
Member Avatar for Ezzaral
0
354
Member Avatar for davzi

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 …

Software Development c++ image ios
Member Avatar for davzi
0
2K
Member Avatar for kapcom01

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 …

Software Development app-store gui oop python
Member Avatar for kapcom01
0
2K
Member Avatar for Soundgarden

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
Member Avatar for Soundgarden
0
396
Member Avatar for Tight_Coder_Ex

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
0
771
Member Avatar for eggmatters

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. …

Software Development java oracle
Member Avatar for eggmatters
0
110
Member Avatar for Kruptein

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
Member Avatar for Kruptein
0
318
Member Avatar for Behi Jon

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++
Member Avatar for Behi Jon
0
148
Member Avatar for guest7

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++
Member Avatar for sfuo
0
157
Member Avatar for roraa

[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 …

Software Development c# html-css
Member Avatar for mikiurban
0
300
Member Avatar for nimesh g

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
Member Avatar for masijade
0
180
Member Avatar for Web_Sailor

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
Member Avatar for Ezzaral
0
114
Member Avatar for hjdoran

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 …

Software Development listview vb.net
Member Avatar for mikiurban
0
112
Member Avatar for geek_till_itMHZ

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
Member Avatar for Ezzaral
0
240
Member Avatar for nitrogen33

[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
Member Avatar for Clinton Portis
0
78
Member Avatar for maverick0612

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++
Member Avatar for maverick0612
0
120
Member Avatar for Musafir

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
Member Avatar for woooee
0
115
Member Avatar for Hanyack

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
Member Avatar for uskok
0
587
Member Avatar for oldSoftDev

[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
Member Avatar for oldSoftDev
0
129
Member Avatar for Gribouillis

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
0
592
Member Avatar for wesleychin

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
Member Avatar for ddanbe
0
116
Member Avatar for viktorijakup

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 …

Software Development os-x perl
Member Avatar for k_manimuthu
0
224
Member Avatar for erees

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
Member Avatar for erees
0
199
Member Avatar for brando|away

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
Member Avatar for donaldw
0
257
Member Avatar for carepanther

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
Member Avatar for peter_budo
0
354
Member Avatar for duelforce1

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
Member Avatar for AndreRet
0
1K
Member Avatar for ubi_ct83

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
Member Avatar for Ancient Dragon
0
88
Member Avatar for sidd.

hi, i want to deactivate the restore button that comes in output form. i there any way 2 do it

Software Development
Member Avatar for sidd.
0
85
Member Avatar for jrm5f2

I have search almost the entire internet looking for the answer to this problem but no luck. I am working on a project that requires me make a MDI, which I did. The problem that I am having is that none of the menus like the cut and paste work …

Software Development vb.net
Member Avatar for Romana101
0
274
Member Avatar for GTJava

[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
Member Avatar for GTJava
0
123
Member Avatar for Nikhar

Is codeblocks an ANSI compiler compatible with gcc/g++/gpp (the GNU C/C++ Compilers)?

Software Development c++
Member Avatar for jbennet
0
155
Member Avatar for col415

[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
Member Avatar for col415
0
142
Member Avatar for vinodxx

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
Member Avatar for kvprajapati
0
132
Member Avatar for murderotica

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
Member Avatar for navjyotnishant
0
1K
Member Avatar for teatime

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
Member Avatar for teatime
0
171
Member Avatar for bpt0004

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
Member Avatar for bpt0004
0
100
Member Avatar for foxypj

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
Member Avatar for Geekitygeek
0
111
Member Avatar for esesili

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++
Member Avatar for Nick Evan
0
140
Member Avatar for kz07

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++
Member Avatar for Nick Evan
0
100
Member Avatar for gibson8720

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
Member Avatar for snippsat
0
86
Member Avatar for sathya8819

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
Member Avatar for sathya8819
0
235
Member Avatar for cute.sridhar

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..

Software Development api java
Member Avatar for gunjannigam
0
216
Member Avatar for kool.net

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
Member Avatar for avirag
0
199
Member Avatar for Cold_Demon388

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++
Member Avatar for jonsca
0
483
Member Avatar for dabears84

Hello, I need help with an assignment. I am lost and don't know where to get started. See attached. Thanks.

Software Development java
Member Avatar for P00dle
0
77
Member Avatar for NeenuThomas

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
Member Avatar for NeenuThomas
0
148

The End.