199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for schoolboy2010

Holler fellow programmers I have an error that's been bugging me for almost a day now: I keep getting 14 of this error: class, interface, or enum expected Yes, 14 different exact same error message basically for every line of code in the inputGetter method below. Can someone please help... …

Member Avatar for JeffGrigg
0
4K
Member Avatar for johnny21

hi to all.. just a new member here & also a beginner in VB.NET.. we were assigned to make a payroll system and we've done most of its part.. but still there are big problems: computation of tax and print employee information.. well, the employee information is really long so …

0
107
Member Avatar for teo236

how can I sleep my program without sleeping others (or making them slower)? I am using a windows application. here is a fragment of my code: [CODE] //#includes... int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, char * cmdParam, int cmdShow) { MSG msg; int status; Window myWind(SW_SHOW,"Name",150,120,500,0); for(int i=0;i<550;i++){ myWind.setLocation(i,i); …

Member Avatar for teo236
0
203
Member Avatar for Mahkoe

So I'm trying to achieve this myself, but I decided to ask on this forum to see if anyone knew about some obscure project on sourceforge or something that did exactly this: I need to store very large numbers and perform arithmetic on them. I am storing the values in …

Member Avatar for mike_2000_17
0
257
Member Avatar for _dragonwolf_

I'm not exactly sure what is wrong with my code. It will run and then it stops without completing the maze. Any ideas? Thanks in advance. Here is my code: [CODE] #include <iostream> #include <ctime> using namespace std; void mazeTraverse(char [][12], int, int); int main() { char maze[12][12] = { …

Member Avatar for triumphost
0
189
Member Avatar for justMarshall

I have what would seem to be a simple problem, but I can't get it. To save screen space, I'm trying to create a simple autohide window using a panel control, which will slide open and closed on the MouseEnter and MouseLeave events. For example, here's what I have on …

Member Avatar for justMarshall
0
609
Member Avatar for n3xtgen

I have one file with checkbox's a user can select. Now if they select one and click submit I want my next file to show the user what they selected. I cant seem to get this working. It looks likes it grabbing the first word and because there is a …

Member Avatar for n3xtgen
0
168
Member Avatar for bmanzana

[CODE]#include <iostream> #include <iomanip> #include <string> #include <cmath> using namespace std; int main() { double accNum; string scode; string scodeab; double minu; double minam; double minpm; cout << fixed << setprecision(2); cout << "Please enter account number: " << endl; cin >> accNum; cout << "Please enter service code: P(for …

Member Avatar for doug65536
0
136
Member Avatar for cossay

Anytime I try to compile the code below I get the following error message. E:\Users\Cosman\Desktop\C++ PRACTICE\read2.cpp|52|error: no match for 'operator<<' in 'std::cout << m' How do I correct this? [CODE] #include <iostream> #include <fstream> #include <cstring> using namespace std; class A { private: char name[50]; char gender[8]; int age; public: …

Member Avatar for cossay
0
118
Member Avatar for Xcelled194

This is probably a very simple answer that I'm missing. I have index.php and qeury.php in the same directory. Users visit index.php, which prints some info. It then needs to call qeury.php and exit, without waiting for query to finish running. Query just pings a server and then exits. How …

Member Avatar for Xcelled194
0
177
Member Avatar for vaironl

Hello forum: I have to set the position of 4 labels, though in this example I'm only starting with one. for some reason even though I do setLocation(40,50) it is not working. Any ideas? The code of the small part ; If you guys want the entire program Ill post …

Member Avatar for vaironl
0
324
Member Avatar for IWDesigns

hi, i have a sms script written in php. im just wondering...is there going to be a fee for anyone from sending them? i tried looking on google and all i found was a bunch of sites selling bulk sms packages and a article from 2003 saying that the receiver …

Member Avatar for Zagga
0
105
Member Avatar for moshe12007

hello i have Listview his name is listView1 i try to refresh my listview1 but that not work!!! i just see the sam details and that no update. i try this : listView1.Update() and also listView1.Refresh() and that not work!!! the code here: file EditSelectedItem.cs [CODE] private void button1_Click(object sender, …

Member Avatar for moshe12007
0
139
Member Avatar for valestrom

I have multiple errors in my code that I was just working on, the errors are as follows: Here is my build log: monsters.h:11: error: storage class specified for field `enemyattack' monsters.h:11: error: ISO C++ forbids initialization of member `enemyattack' monsters.h:11: error: making `enemyattack' static monsters.h:11: error: ISO C++ forbids …

Member Avatar for mike_2000_17
0
363
Member Avatar for DSTR3

I'm using C++ VS 2010 in Win7. I'm trying to delete a zip. and/or txt. file that is less than a minute old. However; heres the rub. I don't know the name or location of the file. Only that I want to delete it by extension and a timestamp of …

Member Avatar for DSTR3
0
2K
Member Avatar for Xtremefaith

Ok so with the help of the Daniweb community here I've gotten better with AJAX/jQuery, enough to make a photography with it rather than flash. I'm very excited with how most of it is working but I've hit a brick wall I really need help with. [B]Outline:[/B] I have a …

Member Avatar for Xtremefaith
0
478
Member Avatar for diamondw

Hi i created a code in vba. the requirements is that -input is 3 color bands from a resistor(in order) -and the output of the resistor in ohms -make function work for 3 colors.I am using vba. I came up with a code but it has my function highlighted in …

Member Avatar for diamondw
0
584
Member Avatar for Kevingon

Hi, I'm using JasperReports in netbeans, on Ubuntu. When I execute my java application on netbeans I have no problem saving the reports, but when I clean and build the program, and run it from the .jar, the program can't save the reports. I don't know if that's because of …

Member Avatar for Kevingon
0
195
Member Avatar for Valten1992

For this c# exercise, we have to do an object intercepting a target. The problem is that after a certain point I suffer from extreme lag, I am almost certain that I am refreshing (Refresh()) in all the wrong places. I tried putting more in and taking almost all of …

Member Avatar for Valten1992
0
114
Member Avatar for Vidgie65

Here is my code I am working and I cant for life of me get it to print if the year entered is a leap year or not. Please help me fix this.[code]#include <iostream> using namespace std; class dateType { private: int dMonth; int dDay; int dYear; public: void setDate …

Member Avatar for Taywin
0
293
Member Avatar for jammmie999

Hey Guys, I am trying to call a function in my DDL file [code] char DLL[1024]; _getcwd(DLL, 1024); strcat(DLL, "\\LoremIpsum.dll"); HMODULE Test = LoadLibrary(DLL); PluginEntry Entry = (PluginEntry)GetProcAddress(Test, "PluginEntry"); Entry(); FreeLibrary(Test); [/code] yet on Entry(); I get an access violation in 0xC0000005. What am I doing wrong? Thanks

Member Avatar for jammmie999
0
787
Member Avatar for anonimous
Member Avatar for cpu-guy

Hi I have a assignment about formatting C this is the assignment print_patterns(int i, double d) - Print 10 lines as specified below. * Lines 1 and 2 are fixed patterns with 20 characters each. * Line 3-6 are for integer i (sample value 123). * Line 7-10 are for …

Member Avatar for cpu-guy
0
169
Member Avatar for yeeitsneo

hi . im making a vb 6 written project. were required to create a game. but the problem is i dont have any idea on what game to create. i want it to be as simple and as easy as possible. enough to give me an adequate rating. can anyone …

Member Avatar for BitBlt
0
90
Member Avatar for lynn21

Which statement is NOT TRUE? 1) for all x E Z: if x^(squared) - 5x + 6 = 0, then x > 1 and x < 4. 2) there exists an integer x such that x < 0 and x^(squared) + 4 = 0. 3) there exists an integer x …

Member Avatar for TrustyTony
0
240
Member Avatar for D.M.
Member Avatar for cbwhellmouth

Hi guys, I have a feeling there's something small I'm missing from this code. I'm trying to add captcha to an existing contact form that I use. The captcha image displays fine, but regardless of what I enter, the email gets sents and I'm redirected to my thank you page. …

Member Avatar for cbwhellmouth
0
193
Member Avatar for matharoo

I want to know how to read a file in Java and then store the file contents into a String object...like String[] content= file contents?? here's the code of reading a file and i want the contents to be stored in a string variable... [CODE]public static void main(String[] args) throws …

Member Avatar for Kevingon
0
2K
Member Avatar for Labdabeta

I have this problem: [CODE]struct Position { float x; float y; float z; }; bool CheckCollision(Position *vertices, int numvertices, Position start, Position end) { //return true if there was NOT a collision with the polygon defined by the vertices and the vector defined by the two positions. }[/CODE] I dont …

Member Avatar for Labdabeta
0
215
Member Avatar for Loony064

Hi all! I'm developing software as part of my BSc. IT (Hons) course. The aim of the software is to determine the affective state (mood) of a person who is using the system based on facial expressions. In order to do this, the program pulls images from a webcam and …

Member Avatar for gusano79
0
106
Member Avatar for Srcee

I can't catch exception on windows services. I've already tried the following: [CODE]AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(handlerMethod);[/CODE] alone and in combination with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);[/CODE] It doesn't even function with: [CODE]Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);[/CODE] I've also tried: [CODE]Application.ThreadException += new ThreadExceptionEventHandler(handlerMethod);[/CODE]

Member Avatar for Mitja Bonca
0
2K
Member Avatar for lcfjoertoft

Hi all. I am trying to create a search that displays 3 columns. Analysis, Amount, Amount of Positiv results I have nailed down Analysis, Amount, but have problems displaying Pos. result. [CODE] SELECT DISTINCT SP.ANALYSIS AS Analysis,COUNT(SP.ANALYSIS) AS Amount FROM SAMPLE S INNER JOIN SAMPLE_PARTS SP ON SP.SAMPLEID = S.SAMPLEID …

Member Avatar for lcfjoertoft
0
154
Member Avatar for dospy

i have this question in mind since i first found out that you can declare and array like this [CODE] <type>* nArray [/CODE] how does the compiler how much storage to allocate? i've heard that it doesn't allocate any storage, it just points to some address and when you use …

Member Avatar for dospy
0
105
Member Avatar for lena1990

hi i am work on my graduation project in java using borland jbulider 7 and windows 7 but now when i run the program it doesnot work correctly the component need so many time to apper i will be thankful for any help thanks

Member Avatar for JamesCherrill
0
80
Member Avatar for asif49

I've put on my website a box which gets longer in height when it is clicked, I did this using the following code: [CODE] <script type="text/javascript"> var x=100; /*original height*/ function expand() { document.getElementById("move").style.height=x+'px'; /*Height from css.css in the div called "move"*/ if(x>300) { /*Desired height after expansion*/ clearTimeout(t); return; …

Member Avatar for asif49
0
99
Member Avatar for aadi_capri

hello folks, can any one please tell me what software can me downloaded to make my own .swf files. i.e flash files........ thank you

Member Avatar for NetJunkie
0
165
Member Avatar for akshayphp

I want to know that "how to show hidden fields when a user selects a particular option in the html form" I want the fields to be hidden first,then when the users selects: Option A- Particulars fields which have I will create for this option must be displayed. If Option …

Member Avatar for svilla
0
176
Member Avatar for munitjsr2

consider a list of files in a particular directory(LIST A) 58623208 Sep 14 20:08 blbn_blfbe_drv 57904920 Sep 14 19:54 blbn_cycmn 55814208 Sep 14 06:02 clsa_Upd 38912000 Sep 14 19:12 cs_chgpp and in another directory (LIST B) 58623208 Sep 14 20:08 blbn_blfbe_drv 57904920 Sep 14 19:54 blbn_cycmn 55814208 Sep 14 06:02 …

Member Avatar for L7Sqr
0
214
Member Avatar for nice_candy

hi, Can you tell me plz how can i disable all the MaskEditExtender validator Control from the aspx page at once. Thanks and Regards, nice candy.

Member Avatar for nakor77
0
84
Member Avatar for Max Hydes

hi people I have a project that requires me to use time.h in animation. can anyone show me a simple code of animation using time.h???

Member Avatar for Max Hydes
0
896
Member Avatar for lastbencher
Member Avatar for shivarocks

hello friends i am new to ejb and i tried to create a session bean for obtaining JDBC Connection,and i called it from a servlet the session bean was a remote session bean but connection is not getting established.. EJB CODE : ConnectionBean.java [CODE] package com.ejb; import java.sql.Connection; import java.sql.DriverManager; …

0
120
Member Avatar for king_saqib

Hi to every one I'm creating a software but I have to expire it After 3days I'm am writing this code but it is not working if date(now) >=date(29/9/2011) then Msgbox "the software has been expired and unload Me End if Is this true

Member Avatar for debasisdas
0
170
Member Avatar for newprimitive

I have problem with a simple login script, keep getting message "Call to a member function on a non-object". The same code worked locally, but when i tried to run it online i got this message. have two php files:login.php and connect.php here is simplified code from connect.php [CODE]class Connect{ …

Member Avatar for mschroeder
0
425
Member Avatar for BaldingEar

Hi guys. I am getting the error: LoanProgram.java:17: variable payment might not have been initialized payment = getPayment (amount, rate, years, months, payment); I am stumped, and the lab is due tomorrow. If anyone could help me out I would greatly appreciate it. :) I'll put an asterisk on the …

Member Avatar for BaldingEar
0
337
Member Avatar for mitchiexlolz

i want to make a menubar similar to that of MS OFfice. I have downloaded some Executable JAR files that tells me they can help me, but as I run the codes, nothing happens. Can you please teach me how make a ribbon menu bar.? or give me a link …

Member Avatar for mitchiexlolz
0
257
Member Avatar for kwamba

How can you combine different c++ programs into one full software. I am using the Code::blocks IDE

Member Avatar for Ketsuekiame
0
105
Member Avatar for caut_baia

Hello.I've been looking for a free C++ compiler for windows which supports the new standard features but i had little luck so far.Does someone have any knowledge of one? Thank you in advance.

Member Avatar for caut_baia
0
443
Member Avatar for davy_yg

banner_manager.php [CODE] //Cek apakah ada file yang diupload if((!empty($_FILES["uploaded_file"])) && ($_FILES["uploaded_file"]['error'] == 0)){ $gambar = uploadPicture("uploaded_file"); } if (empty($id)) $sqlstr = "INSERT INTO banner(link, gambar) VALUES('".$link."','".$gambar."')"; else $sqlstr = "UPDATE banner SET link = '".$link."',gambar = '".$gambar."' WHERE id =".$id; $result = mysql_query($sqlstr) or die(mysql_error()); $confirmation = ($result)? "Data telah …

Member Avatar for Zagga
0
221
Member Avatar for The Mind

I'll go right to the point. I'm writing this on my friend's behalf. He's a computer science major (senior) and currently an intern at the IT support somewhere. He was asked to come up with a project idea that benefits his department and bring it into reality. It definitely has …

Member Avatar for Ketsuekiame
0
118

The End.