199,114 Archived Topics
Remove Filter ![]() | |
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... … | |
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 … | |
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); … | |
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 … | |
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] = { … | |
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 … | |
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 … | |
[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 … | |
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: … | |
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 … | |
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 … | |
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 … ![]() | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
how calculate items in different discount plz help | |
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 … | |
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 … | |
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 … | |
For you guys, what is the best C++ Compiler? | |
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. … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 | |
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; … | |
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 | |
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 … | |
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 … | |
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. | |
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??? | |
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; … | |
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 | |
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{ … | |
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 … | |
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 … | |
How can you combine different c++ programs into one full software. I am using the Code::blocks IDE | |
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. | |
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 … ![]() | |
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 … |
The End.