199,114 Archived Topics
Remove Filter ![]() | |
hi please help me....can you give me a code for queue program??? the flow look like this: KEY FUNCTION E Enqueue D Dequeue H Hide implementation S Show implementation R Bubble sort *note 10 numbers to be inputed. | |
Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced … | |
This is the error i get when im trying to Run my AccountServ.exe it pop ups an error DB LOG Connect Failed. SQLSTATE:IM002 error:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified | |
i want to insert rows one by one into a database in the sql server 2005. the problem is that i have tried all possible but the rows just dont get added to the database, i get an exception on executing this code, i get this exception Unhandled Exception: System.IndexOutOfRangeException: … | |
Hi I have an Excel file with two columns. name and number and having some data in that excel file. Name Number kumar 9090090909 XYZ 900909099 ABC 1234512345 Now i want to get the data in to asp.net textbox controls. Can any one help me doing this in Asp.Net Thanks … | |
Hi, I have abstract base class with some kids deriving from it. I want its kids to be concrete classes But I don't want to implement the all methods of the class. I'm trying to find a trick to go around doing this and I'm running out of thought on … | |
Hi Experts, I need to have a shell script to compare two directories and if new file is created in Dir1 it should be copied to Dir2. can some one help me, i am not aware of scripting Thanks & Regards Suresh | |
My offline data processing tool (written in C++) is being wrapped under webservices so that it can be executed remotely. We did that already - meaning we have a webservice that can kick off the data processing. However, for some reason, the very same webservice should not grab the data … | |
i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu | |
Hello Everyone, I need some help with constructing a waveform in vb.net. Can maybe someone give me a hint of how to make one? (a bit of code would be nice) I already know that to generate a waveform, you need a timer, if there anything else? Help would be … | |
hi i wanna combine all three column values in column... i want some thing lik this PartNo Stock Obsolute Replaced order part no 12345 10 12345 12346 10 12346 12347 11001 11001 12348 11002 11002 12349 12349 Empty 12350 12350 HELP ITS URGENT!!!!!!!!!!!!!!!!! | |
i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help | |
... hello everyone... i'm a computer science student here in the Philippines and i just want to ask help on how to develop a game... honestly, i am very clueless on how can i start my program... i really don't know what to do. i need to make a program … | |
i know the concept of abstract class in java and this concept is used in interface, i.e all the methods declared in interface are abstract. i want to know how the abtract class is different from the normal class in java Thanks a million | |
Hi all, Is it possible to call constructor and destructor explicitally? | |
Hi I'm trying to create a random number generator with float values ranging from -1 to 1 i.e.. [-1,1]. The only problem is I can only find methods that do it from [0,1]. Can anyone help me with this? Here is what I have so far.... [CODE]Random r = new … | |
my goal here is to create a new array from the old array according to a Criteria that i set (all numbers above 100 and even).. however the program gives me 2 mistakes, and i dont know why? [CODE] public class Array { public static void main(String[] args){ Manipulate manipulate=new … | |
Hi! Still being an absolute beginner, I can't find a reason for why this program doesn't run properly (note that the program is not complete). It is possible to compile it but it encounters some kind of error when executing. The string saves the file properly I have checked this … | |
![]() | Sorry about asking all of these questions, but I am making an app and I have had a request for when the user types into the text box he can automatically hit Enter and it will navigate to the specified destination. However I have tried EVERYTHING and I cannot get … ![]() |
How do I configure the PasswordRecovery object so that I can pull the password from the webservice rather than allowing direct access to the sql server database? Where does PasswordRecovery even do the sql for getting the users password from the database? All the examples I've found show the PasswordRecovery … | |
I have the following code to search my database, I would like to display the # of results found and display it in the line of code below that reads "Search Results:" - so it would look something like this... Search Results: 10 matches found. And 10 would be the … | |
I have two forms. Form A and Form B. Form A has a datagrid that is populated from a SQL Database Table query. When a button is pressed Form B is launched that allows you to add a record to the database table. I need for the datagrid to be … | |
i am trying to review what C++ stuff i have learned last year before high school starts, but the code i am writing does not run properly after i compile it. the code compiles the code does not execute. the code does not execute after Recruit() runs C_Name() to get … | |
![]() | Hello there my second topic I need to write a function that writes 10 random numbers into a file. I came up to this point: [CODE]#include "stdafx.h" #include <iostream> #include <fstream> using namespace std; int main(){ ofstream outfile("C:\\Random"); //Random as in you can put any file you want for(int i … ![]() |
hi everybody, greetings.. my thanks in advance for your help.. right now i a m involved sms -chat application vb.net. in this project i send the sms to mobile form pc.and get the reply as same. so i created client / server based program by tcp/ip based... because i put … | |
Hi, I'm attempting to generate a new cipher key using a string that was negotiated earlier on. On running the code I get the error: Exception in thread "main" java.lang.IllegalArgumentException: Missing argument at javax.crypto.spec.SecretKeySpec.<init>(DashoA13*..) at shared.Cryptographer.makeCipher(Cryptographer.java:254) at client.Main.main(Main.java:60) Java Result: 1 the code is as follow: [CODE] public void makeCipher(String … | |
I want to display date and time on top of the form where normlly written form1 forms name i want to display date in formate of for example 23 August 2010 and time in this formate 12:33:20AM Please please help. | |
can anyone help me to construct the code: i dont know how to make the code of entering the operator ,the function of the operator when it was input and the output of the result . limit of the result is 500, Enter First Number:2 Enter Second Number:6 A=+ || … ![]() | |
It is Object-Oriented Programming(c++). I have already done part2a and 2b, I need some ideas for the rest,it is really grateful if you could give me some ideas about that. THANKS!! The following is the project: 1. Task b. Identify the objects and classes to be used in the program. … | |
this error keeps plaguing me with the code: [code=python] option = input('What would you like to do? ') if option == 1: newExpence = addExpence(totalBudget) totalBudget = totalBudget - newExpence elif option == 2: removedExpence = removeExpence(totalBudget) totalBudget = totalBudget + removedExpence elif option == 3: newRevenue = getNewRevenue() totalBudget … | |
Hi All Can someone pls help me on this one. Under nested 'if' conditions inside 'case', i have 2 sections. If i choose to go to section 1 or 2, when i am done, how can i return back to the primary 'if'. Any help will be highly appreciated. This … | |
i am making a webstore and it has a table that has all the items in it. like each item has its own row in the table called like "items" or something right and each column is specific to all items. but im lost what to do with orders. i … | |
Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ … | |
The following function works fine. [CODE] public int AddRecord(String MsgTo, String MsgFrom, String MsgCC, String MsgBC, DateTime DateSent) { SqlParameter[] sqlParams = new SqlParameter[] { new SqlParameter("@MsgTo", MsgTo), new SqlParameter("@MsgFrom", MsgFrom), new SqlParameter("@MsgCC", MsgCC), new SqlParameter("@MsgBC", MsgBC), new SqlParameter("@DateSent", DateSent), }; return logContactUsMessage.insertMessage(sqlParams); } [/CODE] However, when I try and … | |
Hi Guys i am working in a site say sample.com. which should have a search engine . this search engine should search videos from another site say sample2.com or youtube.com for example. it will only show thumbnail, views rating etc of the fetched video. and when user will click on … | |
Hello everyone, I am working on a C# app that uses the YouTube .NET API but have come up with an issue, and I'm not sure if its the .NET Wrapper or just something I'm Doing. Ok heres the problem, I request the list of videos the logged in user … | |
Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] … | |
I'm trying to write a Windows App that will let me write or draw in a window and still see what's below. Kinda a transparent Notepad with Borders. It's easy to create a transparent Window using: CreateWindow() with wndclass.hbrBackground = (HBRUSH) 0; But in the CALLBACK WndProc() where I'm drawing, … | |
Hi all My code for the server side : [CODE] Dim bmp As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height, Imaging.PixelFormat.Format24bppRgb) Dim gfx As Graphics = Graphics.FromImage(bmp) gfx.CopyFromScreen(0, 0, 0, 0, My.Computer.Screen.Bounds.Size, CopyPixelOperation.SourceCopy) Winsock1.SendData(bmp)[/CODE] And for the client side in the DataArrival event : [CODE] On Error Resume Next Dim img As Image Winsock1.GetData(img) … | |
When loading my web page I'm getting this error "stack overflow at line 0" What can be the reason for that? Is it related to the images I'm using in my site? Thanks S.M | |
Hi Daniweb users, I am attempting to make a database in c++ by saving the information to a class and then saveing it to a file. but i dont know if that is a good way to do it. Here is a example picture of the database i am making … | |
I am trying to make a c programe which will work like dos copy command. I am able to copy the one txt file but this programe is not working with other extension file. [CODE]Void main() { FILE *fp,*fp1; char c; fp=fopen("source","r"); fp1=fopen(" destination","w"); while((c=getc(fp))!=EOF) putc(c,fp1); fclose(fp1); fclose(fp); }[/CODE] | |
im a beginner in vb.net.im developing for myproject in windows application.my ques:how can i display data in textbox from choosen dropdown menu?user choose a item in combobox,then after click a button the meaning of data appear in textbox..i need some help..tq in advance | |
Dear All, I'm trying to sort a list of structs using STL library. [CODE] struct myStruct { int i; string s; }; bool compare(int first, int second) { if (first < second) return true; else return false; } int main() { list<myStruct> myList; /* Pretend that myList has elements with … | |
[COLOR=#000000]:sad: My teacher is killing me, he just graduated from Yale, and he hasn't been teaching long that is very apparent. I don't know, but I think this has something to do with the complexity of his assignments for this, the first class you take for Computer Science, C++.[/COLOR] [COLOR=#000000]In … | |
Hi coders,I have a small problem regarding pointers, I am a bit weak in pointers and need to understand why the following is wrong: [CODE] int main(void) { char *a; gets(a); return 0; } [/CODE] This causes an exception, please explain the error. I am using Turbo C as compiler, … | |
hey all I have these lines [CODE] create table Singers(SingerName varchar(30),picture text,id int primary key auto_increment); create table Songs(id int primary key auto_increment,sid int,foreign key(sid) references Singers(id) ON DELETE CASCADE); [/CODE] In situation I want to delete a Singer for example who has the id->1 from Singer's table automaticaly to … | |
[CODE] Integer i = 5; Integer j = 5; if (i == j) System.out.println("true"); [/CODE] ^ Prints true [CODE] Integer i = new Integer(5); Integer j = new Integer(5); if (i == j) System.out.println("true"); [/CODE] ^ Does not print true. I understand that in the second case, the == is … | |
Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find … | |
I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else … |
The End.