199,114 Archived Topics
Remove Filter ![]() | |
I am using the library of boost to create a 2D dimensions array and compare about their speed There are three kinds of array, matrix of boost, multi_array of boost and the raw array Below is my code: [code] #ifndef TESTRELMAT_H #define TESTRELMAT_H #define BOOST_NO_EXCEPTIONS #define BOOST_DISABLE_ASSERTS #include <boost/numeric/ublas/matrix.hpp> #include … | |
Hello im confused with pointers, how do i create a shallow copy of a string array in c ? [CODE]char *currMenuArray; // ??? char *MainMenuArray[] = { "MAIN MENU", "One", "Two", "Options", "Quit" }; char *OptionsMenuArray[] = { "OPTION MENU", "Option1", "Option2", "Option3", "Back" }; void main() { currMenuArray = … | |
Hey guys, new to the forum. So sorry if i am posting this in the wrong location. To my question: I am trying to create a random password generator, and I think it's done is this way. I have made four arrays, two for the alphabet (capital letters and not), … | |
Hey guys I'm working on a program that asks the user to enter a month and year and then prints that month's calendar page on the screen. However, to do this I created a daysBetween() method that accepts 2 dates and finds the number of days between them. So basically … | |
hi every one im working with some exersies which include inheretence every thing is fine except that the compiler dose not recognize the base clase it says Error [COLOR="Red"] Cannot open include file: 'pointType.h': No such file or directory[/COLOR] here is part of the code [CODE] # include "pointType.h" # … | |
Hi! Sorry for my bad english. Darkening page in ie doesn't work well. On the left side there is part of the site that isn't covered with dark! In firefox this is well, whole page is covered, but in ie not. Thanks. (There is an attachment). | |
hello everyone, i think this a rather complex question but i'll have a go. i have this output from mysql printed on a php page: user1 ------------------- week | hours worked | hours had to work | missing hours 32 | 30 | 32 | 2 user2 ------------------- week | … | |
How to move cursor position in Web Application by using javascript on image click. I want to move the cursor position on particular coordinate on image click. With javascript how to do that? Thanks in advance, Regards, ANKUR | |
Hi, can someone help me? i have 5 textbox, and 5 column in listview, how can i put the data from textbox into columns? and also using F5 key( key event) to add the data(not using butons). Thanks. | |
please help. I'm trying to run a script from a inside shared function: [CODE]Dim strScript As String strScript = "<script language=JavaScript>" strScript += "alert(""" & string1 & """);" strScript += "</script>" HttpContext.Current.Response.Write("alert(""" & string1 & """)") If (Not Page.ClientScript.IsStartupScriptRegistered("clientScript")) Then Page.ClientScript.RegisterClientScriptBlock(MyPage.GetType(), "clientScript", strScript) End If[/CODE] I'm getting an error in … | |
like the thread title said i need the best C book for never programmed person can you please tell me it thanks.... | |
I have created setup file of my program & it shows error when I install it there in another pc which doesnt have visual studio. Even I have tried to install it there in another pc which has visual studio & it worked well. I am confused. It shows following … | |
Hi! I'm creating a guessing game where I ask the user to guess a number between 1-1000. The output where the computer asks the user for a number is contained in a [I][COLOR="Green"]do loop[/COLOR][/I]. The problem I'm having is that I have a high score list and in the high … | |
EDIT: Sorry, it is of course Skype4Com. I really appreciate any help I can get, I want to develop a Skype userinterface for dissabled people, it must be a downscaled version of Skype, an easier human interface focused on video connection. I hold a Bachelor degree in electronics Engineering with … | |
HI, I have a rich text box and loaded a file in that. Used Find and replace form. whaever text found i highlighted in the rich text box by giving background color, changing font size and giving color to the found text. say now i replaced the found text to … | |
Hi, Have drawn rectangle and zoom the image. As per zoom, the rectangle are redrawn ([url]http://www.daniweb.com/forums/thread296495.html[/url]). Redrawn rectangle place slightly down. so i adjusted to fit the point. but the rectangle value varies with different resolutions. how to adjust the rectangle value with different resolution. [CODE] private void pictureBox1_MouseDown(object sender, … | |
Sir actually i want to know that when i press enter key then column value is incremented and i want that when i reach to column index 4 then a new row is created in datagridview and again this keydown event is executed and agin when i am in second … | |
The book Im using. Pg 108 - 124 Objects Abstraction, Data Structures and Design using C++ Author: Elliot Koffman and Paul Wolfgang I have a problem with this code. All of these errors are occurring in the Phone_Directory.cpp. It is in, getline, << , out. .......functions... I tried getting these … | |
i don't know if this converter is created in javascript [url]http://www.oanda.com/currency/converter/[/url] i want to make like that but first i want to start on the combobox.. how to put a image in a option value in a combobox? | |
hi, i have a problem with my tabcontainer that once user click the tab, it will not remains the tab but goes to the default tab.. This is my code [CODE] <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager> <cc1:TabContainer ID="MyTabContainer" runat="server" ActiveTabIndex="0> <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Company"> <ContentTemplate> <a href="<%= Page.ResolveUrl("~")%>MASTER/Company_a.aspx" >Company Entry</a> <a href … | |
can someone give me a code of auto calculation. i have 5 textbox,qty.text price.text gross.text discount.text and netmount.text. for example price is 35.00, then if the quantity is 2,value of 35.00 * 2 inserted into gross, then i got discount 25%, the total will be inserted into netmount.text. hope you … | |
I'm try to design a web page that displays pictures (thumbnail) with a link to the full size picture under the picture.. The code below shows the full path to the picture but I can't figure out how to make it into an link. Here is the php code:[code=php] <?php … ![]() | |
Hello, I was hoping somebody could help me. I have an estimator on a page that calculates cost. Its in a form and I Post action to pricing.php. On pricing.php I display line by line cost for the user. What I would like to do is once the user is … | |
In the J2EE tutorial from sum site, it is often mentioned this term. For example, the timersession example: "Because it's a business method, setTimer is exposed to the local, no-interface view of TimerSessionBean and can be invoked by the client." Thanks. | |
Hi friends, I'm learning to program in C++. I'm using Notepad++ to author my code and Cygwin g++ to compile it. [QUOTE]main.cpp : in function 'int main() : main.cpp : 38 : error: no match for 'operator << ' then a lot of jibberish and number of errors : 1 … | |
can you help me to answer this problem... A high building has 26 floors with the level 0 and the level 25 as the lowest and the highest level, respectively. It has a lift for transport the occupant to the level destination. The lift moves up and down in respect … | |
Can anyone share concept/program in C to add two 64-bit numbers on a 32-bit machine | |
Hello everyone, In my last company i was working with LAMP. I was using quanta as editor. I have never worked on windows platform for php web development. And now i have changed my company, Right now i have to use windows plat form, can anyone suggest me, good and … | |
Hello everyone, I'm working on a project where I wish to find out who the instructor for a particular course is. The user is has to input the course name and course id for that course id then the script will search for the instructor. If the value returned is … | |
well PHP is a powerfull text processing language designed mainly as a CGI ( common Gateway Interface ) programming language. But PHP supports rest of other features using the library extensions. For a example you can call any win32 API call in your PHP script using the win32 API library … | |
hey frnds, I know the foll one line code which is shown below-- that returns the System32 Path . ?environment.GetFolderPath (Environment.SpecialFolder.System ) "D:\WINDOWS\system32" But i want the Function that Returns the above code. Did Somebody knows that?????? | |
Hi I have created a simple search form to search a movies database on my page using jsp and mysql, how can I make a download link after results have been extracted in a result page. Thanks for your nice reply. | |
hi, i'm making an application where once enter the password user need to press enter only once and receipt will be produce. My code going well but i have a problem here whereby when user enter [COLOR="Red"]more than once[/COLOR] receipt printed as how many times they press enter. How can … | |
hi, i have problem here....if listview reach 2 records i disable the addmore button but when i delete 1 transaction from the list view it suppose enable the addmore button. Is there anyway i can do that. please guide me | |
This is used for finding the roots of a parabola. The parabola must have a number in front of x2 (x squared), a number in front of the single x, and a following number, or you can have a perfect square parabola. (in the form "number x2 - number") This … | |
Hi, I'm developing an application for my psing SQL Server 2005 as database and VB.Net 2008. Ive created the form and successfully connected all text boxes etc. Using the code, I have managed to open the database and fill the dataset. However when i BIND the Datagrid datasource to the … | |
I need help with my C++ homework and im stuck. The problem is to write a program that reads a file of all lowercase and output each letter and how many times each letter occurs.... Here is the code i have and where i am stuck.... #include <iostream> #include <string> … | |
I'm trying to create a console uninstaller for my friends, since they use addons for left 4 dead, and I am trying to make this to remove them before they update.. heres the code so far [CODE]using System; using System.IO; class Test { public static void Main() { // Specify … | |
This is my code for my program, it seems to work fine but the problem is i think roll has to be a char in order for q to quit to work when i implement the code in there. but when i use char, when i input the number i … | |
Hi There, This is my code. I'm pretty sure that theres nothing wrong so far with this code. But gives me an unexpected error. The error says, Invalid column name 'Sep'. But, even through out the whole code, nor on the database theres any column or word called, 'Sep'. So … | |
Hello, I want to put some .net web based projects in the resume as a 3yrs experienced programmer. Can anyone please suggest me the kind of good projects. I know C#, VB.Net, ASP.Net, SQL Server. I am learning AJAX, Silverlight also. I would be grateful if anyone could help me … | |
Hello:) This program is a maths calculator that should return to the menu so you can go round again when you have done one calculation. After great despair I think I have somehow got most of it to work? However if I input something Invalid, say the number 8 it … | |
I need to make a program that asks the user for their name and PIN number, then have it check the accounts file and see if that user is in there. If it finds a match it will output the users account balance. I have the text file set up … | |
Hello I have this task below & I need someone to tell me if I have done it correctly. The part where I am not sure is if I am correctly checking if the array is empty. [quote]Write a function to find the maximum value in an array of ints … | |
Hello all, I have encountered a very bizzare (at least for me) problem when writing the output from my program to a file. I've written a program to solve numerically mean-reverting SDEs. The program takes some parameters and returns several dynamic arrays corresponding to the number of SDEs I have. … | |
.how would able to show monthly balance .would like to charge a fixed a fee each month .would like to charge withdrawal fee import java.awt.*; import java.awt.event.*; import javax.swing.*; class GuiAccTest extends Frame implements ActionListener { Label lab=new Label(" "); Label lab1=new Label(" "); TextField t[]=new TextField [4]; Label l[]=new … | |
How do I call/reference a Vc++ dll from a c# windows form application? Abhishek | |
Hi I new here I have a couple of questions. I am trying to authenticate login and password and Im getting a few errors. 1. first is the db error in my dbqueries class file. I am using sqlce for testing purposes. [code] public DataSet Login(string Username, string Password) { … | |
I have some controls that are built at run time. There is a groupbox with 3 radio buttons with the CheckedChanged event used to fill a control with a various number of groupboxes with each groupbox containing 4 more radio buttons. Since there is a various number of groupboxes inside … | |
I am new to this forum (and python), but since I found excellent post here, I figured it would be the best place to post this question which is two part: I have many (+100) .txt files which are space delimited (not csv or tab, possibly referred to as ASCI?) … |
The End.