199,114 Archived Topics
Remove Filter ![]() | |
Hello, this is related to [URL="http://www.daniweb.com/forums/thread177461.html"]the last thread I posted[/URL], but it is also different. I found something about ImageObserver with a google search and can't find much on it, I tried doing what the site on google did, but it didn't work with the simple test I wrote. here's … | |
Hey, I am writing a program and it requires me to place a file on the desktop. I know in cmd prompt you can use %USERPROFILE% to do it. Is there java equivalent? Thanks PO | |
I'm trying to create a program that identifies the subject and verb of a sentence. I use almost the exact same method to determine words that are nouns and words that are verbs, but when I call this method back-to-back it wont work the second time around. For example if … | |
hello, I want to read lines into an array (I will later work with the array of pointer , so that is why I use it) well this is my code that doesn't work correctly, does anybody now why? I created a simple txt document for this which has only … | |
Hi, I'm new to coding (anything) and my manager has tasked me with developing a stats page for the IT dept. trouble ticket system (php helpdesk by EXOScripts.com)(MySQL database) I have laid out the table on the page but just need to populate it. the table has the following coloumns … | |
Hi, I get this error in my myPhpAdmin in WAMPserver 2f. [code]#1045 - Access denied for user 'root'@'localhost' (using password: NO)[/code] How can i solve it? | |
Hello Guys, I have a DLL created using Borland C++ 6, I need to use the same DLL with VC++ 2008, I have the .DLL and .LIB files created by Borland and the header file exporting 2 functions that I need to use in my program (Header file looks like … | |
I'm trying to create a *.csv file using the records stored in a table. Searching the Net, I came across a code snippet that I modified for my use. The relevant code is [CODE] If dlg.ShowDialog = Windows.Forms.DialogResult.OK Then conn.Open() csv = dlg.FileName tw = New StreamWriter(csv) Dim sql = … | |
ok, i'm somewhat of a noob to c++ programming and i'm completly lost in my class as of now, i mean i understand the concepts(somewhat) but actually writting my own code is really confusing me, i dont want anyone to give me the answer, but if someone could guide me … | |
Ive developed a simple p2p chat program, it works fine up until i get to the input/output streams in my void that recieves incoming text i have the following code... [code] public void listen() { while (true) { again: try { convobox.AppendText(Input.ReadLine); } catch { goto again; } } } … | |
Getting all sorts of "illegal start of expression" and "; expected" and "class expected" errors mostly pertaining to my extra methods (besides the main). Any takers? import java.util.Scanner; /** This program will calculate income tax based on a person's income. */ public class Income { public static void main(String[]args) { … | |
[CODE]//Vars to know about Square* square; vector<Shape> shapes; [/CODE] I'm trying to add things that are shapes, or in this instance square (which inherits from shape), but whenever I call shapes.push_back(square), I get this error message: [CODE]draw.cpp:55: error: request for member ‘push_back’ in ‘shapes’, which is of non-class type ‘std::vector<Shape, … | |
[B]cannot convert parameter 1 from 'char' to 'char *'[/B] calcCharges(type_of_gas, &rate_of_gas, number_of_gallons, &total_gas_of_price, car_wash, &price_of_car_wash, &total_cost); | |
I'm still generally new to C, I understand most basic concepts, and were now starting to learn much more complex tasks. Right now im stuck on a program to add polynomials, using linked lists. My book Data Structures - An Advanced Approach Using C, is a real difficult read, and … | |
Hi, I have a class linestorage which has a static member S (represents lines of words of characters). The problem is I don't know how to access this member in a function. I am getting this error message Info :Linking C:\DOCUMENTS AND SETTINGS\DELL.DFHWHLB1\MY DOCUMENTS\SPRING 09\CSCI 250\HW\HW1\HW1_P2\kwic.exe Error: Error: Unresolved external … | |
Can anyone tell how really these functions work???? 1.cin.ignore() 2.cin.clear() 3.cin.good() 4.cin.fail() 5.cin.bad() 6.cin.eof() I mean to say what values these functions return at what situation... thank you! I also need to know about some user input validation techniques.i.e. the user inputs valid data in the programs.....e.g.if there is some … | |
Hi Guys , Have been reading the forum`s posts for a while.Found it really cool . So I joined. I have a really silly problem. I am trying to insert a record to a table in an access database on a click of a button . I use web developer … | |
Starting on basic functions for python, and this is a assignment that I have to do... but I keep getting a Error.. but I tried, and still don't understand what is wrong. here is what it's suppose to output:[url]http://i39.tinypic.com/r1mv69.jpg[/url] This is what I've done: [code=syntax]def function1(french): print "Bonjour, comment allez-vous … | |
Dear friends, Kindly look into this code below for me. I intend to use it to send my form data(not validated) to an email address. After I filled the form and running the code, it is the else echo statement ("Form not properly completed") that i keep recieving. However, I … | |
Is possible play waw, wma, mp3 with wxPython without oppening any window? Program will be based on Tk, only playing sounds on wx. | |
I've written a really basic login page, yet I keep getting a Parse Error message on line 36! Which happens to be the very last line of the whole code! Any suggestions on how I can get this to would be greatly appreciated! [code] <?php $page_title = 'Login'; if (isset($_POST['library'])) … | |
Hi, I'm new to SQL Server. I just installed SQL Server 2008 Express. Then I opened Management Studio, right clicked on Database and created a new Database. Then I expanded Database, right clicked on Table and created a new Table. Now, my question is, how do I add data to … ![]() | |
Hi This whole pointer thing is getting the better of me. first i have a call to method "convertToCString" in my main: [CODE]int value = 21; char* cstr = NULL convertToCString(value, &cstr); printf("\"%s\"\n". &cstr); cstr = NULL delete cstr;[/CODE] the method looks like this [CODE]bool convertToCString(int& refConstInt, char** ptrtoCharPtr) { … | |
Hi Guys, i wrote a program that starts another thread. In one case i thought that i have introduced a memory leak and i should get a segmentation fault but i didn't !! That's kind of puzzled me so i decided to post it here. [code=c++] #include <iostream> #include <windows.h> … | |
can any one explain me what is processing error/conversion error and programming error. | |
Ok so I'm in need of some help.In the first part of this code, I need both the 'output' and 'enter' to be returned back to the calling method but one is a String and one is an int. When I compile and run the program, I get a null … | |
hi i am in my last year and have to make a project on the game called carrom but i dont know how to start , can any body help me please for eg how to make software specifications ,how tom start etc.. | |
Hi, I am working on a project that involves a simple stimulus-response agent which much navigate it's way around a 2d grid world. Does anyone have any good ideas for ways to implement the agent's visual field? The input is a string of characters, one of them representing the position … | |
ok everything works good outside if i make .java of the classes with a main app but when i put them together my Postfix one has a problem. if you are confused just look at the main method thats where the probelm arises. the thing is after i convert infix … | |
Hi, I just started my C++ class a couple weeks ago and I am stuck and having a really diffcult time understanding which commands to use in my programs. I don't even know where to look to get a list. Anyways, basically what we have to make our program do … | |
Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks. | |
Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks. | |
Ok, something very wrong is going on with my program. When i run it the numbers it is giving me are sometimes right but are also wrong. H (the first letter in the word) is both = to 0 and 1 (wtf?). Any ways below i'll show you want i … | |
Hello all, I am trying to use the #if directive to compile extra functionality acording to some class template parameter defined integer constant. What I want to do is this: [code=cpp] struct A1{ static const int _AINT = 0; }; struct A2{ static const int _AINT = 1; }; template< … | |
Hi All, I'm using XAMMP server in USB stick and have Web project in this structure: [COLOR="Red"]F:\xampplite\htdocs\projects\Elijah[/COLOR] So my current working DIR is elijah. However, I don't want to write the long path "../projects/elijah/elijah.css" when linking css file or using images. I would like to use something like a function … | |
Hi, I was seeking for an opinion concerning database design. I’ve got a Company Class having several properties. A value will be assigned to the property via GUI. These properties are quite static i.e. likely won’t change. Usually one goes for an approach whereby Property1, Property2, Property3 map into table … | |
I would like to be able to display or print a count of the number of names that were inputted and display this when the user gets out of the loop by pressing any key other than "y". For example: Number of patients processed : 4 How could I create … | |
I'm working on designing a game, the problem now is that while I have a code for randomizing a number, its the same series every time. This isn't good for random, to know what you're going to roll before you hit the button sucks. Is there anything to help with … | |
i have search alot about analytical mathmetic but didnt get satisfied answer.if anyone of you know plz let me know. | |
I am trying to get a program working, and im half way there, I think. What the program must do is take input from the keyboard and then capitalize every first letter of every word. Here is my entire program so far... [code] #include <stdio.h> #include <iostream> using namespace std; … | |
how can you input a string, clear the screen, then print Hello "string"? example: [CODE]org 100h MOV AX,03 INT 10H MOV AH,02 MOV BH,00 MOV DH,0CH MOV DL,19H INT 10H MOV DX,OFFSET MSG1 MOV AH,09 INT 21H MOV DX,OFFSET SZ MOV AH,0AH INT 21H MOV AX,03 INT 10H MOV AH,02 … | |
Good mourning or Good night ;) i am working on asp site (VBscript) of course with javascript as client side i wanna 2 count n of visitors at same page just like when u open for ex asp forum in daniweb.com displays [COLOR="Green"]Currently Active Users browsing ASP : 7 (1 … | |
Hi i have a requirement where a cpp file should load a dll viz gzip.dll.then the cpp should call few methods in the dll.well im able to call the methods with no parameters but im unable to call the methods with parameters.if im trying to call methods with parameters i … | |
hi , i am created the datagridview at run time. i need to move (drag and drop) the datagrid view (only gridview) during the run time. (task is : if i select the datagridview and placed in some where in same window form. Ex: in our desktop we select the … | |
im an intern student and my task is to make a popup message every 30 minutes to remind my boss about his task its like an alrm clock so i look on to the net and ive downloaded a file called PopupMessage Form and I want it to run it … | |
Hi, I am new to this forum and PHP. I am looking for a recommendation on a PHP IDE. I do not want to spend too much money. I am a former Java and Microsoft developer (Java, C#.NET, ASP, JavaScript, HTML, SQL Server). It has been some years since I … | |
here i have 2 files and im getting a wrong echlon form of the matrix...please help; Linear_Equation.java: package mypack; import java.io.*; public class Linear_Equation{ public static void main(String args[])throws IOException{ int i,j; matrix mat1=new matrix(); int mtx[][]=new int[3][4]; mat1.accept(); mat1.display(); mtx=mat1.echolonform(); System.out.println("\nThe answer is:"); for(i=0;i<3;i++) { System.out.println("\n"); for(j=0;j<4;j++) System.out.print(" "+ … | |
Ok guys, I need some help with this one. I've been beating my head for a day now trying to get this code to work and have gotten nowhere. Let me give you an idea how this web app works: What this does is create a ticket with a date … | |
Hai freinds, Can any one help me , how to send the image file from html to vb.net.. I know how to store the image using vb.net.. but I don't know send particular image from html to vb.net via querystring. please help me as soon as possible.. | |
Hello Friends... Now Im working on URL Rewriting... I got them worked..But i have few doubts about this concept... Any Experts will reply me here.. My leftproducts.php page have some times s_id query string and some times along with s_id , start query string also.. means sometimes: [code] www.something.com/leftproducts.php?s_id=1 [/code] … |
The End.