132,726 Archived Topics
Remove Filter ![]() | |
hi, can anyone please provide me with a cpp code solution for the attached question. its based on arrays and pointers and i have no idea how to go about doing it. can someone please help me please. i have till wednesday(26/08) to finish it. please help me please. i'm … Software Development c++ | |
Hi, I have one address (0xffbff21c) where I have stored 2 int values, depending on the way I read it. Where is the second value stored (at which address)? My code is [code=c++]#include <iostream> using namespace std; int main() { const int a1 = 40; const int* b1 = &a1; … | |
QUE1: If I have declared a really large aaray inside a function, would it be automatically deallocated on exit the scope of the function?? QUE2:While using mpz_class in GMP is the memory automatically deallocated after exiting the scope i.e. are the appropriate destructors for giving the memory back to O.S … Software Development c++ | |
Hi I am creating an installer and want the .net framework dependency to install silently any help appreciated Software Development asp.net | |
I am currently having problems with my ADO connection string. I have searched all over the internet for a solution to this problem but I have yet to find a solution. Can someone help me with the proper configuration for a SQL OLEDB connection with a windows authentication? I have … Software Development c++ | |
I have made a login form in C#.net windows application i am facing a problem during connecting it to the database SQL Server 2005 it is sending [B]error 25[/B] it will be helpful for me if somebody solve this problem if will be better if somebody send me coding also Software Development asp.net c# sql windows-server | |
Hi there, I have a simple problem. I have a namespace with a couple of classes declared in a header file. The classes have functions but no body. When I include the header file and try to call a function, i get the error unresolved external symbol referenced in function … Software Development c++ | |
Hi, i generate a pdf file from C#(VS2005) via the ReportViewer control .The pdf has a picture and text. How can i prevent a user to be able to copy text/images from that file. Here is code i use to create pdf file. [code=csharp] private void CreatePDFfromTXT(string textFile, string pdfFile, … Software Development file-system pdf | |
Hi To All, I have an equation in string like this ((BASIC+HRA)*(30/100)) Using replace function Now i replaced this into values... String formula = ((10000+3000)*(30/100)) whole thing as a string now 'Formula'... How can i calculate this formula float amt = formula; Now i have an error...type casting....i can't calculate … Software Development java | |
Hey guys, I'm programming a tool for creating PowerPoint slideshows from an images directory. I get the error "Error HRESULT E_FAIL has been returned from a call to a COM component" on the second line of this code: [code=csharp] ApplicationClass powerpoint = new ApplicationClass(); Presentation ppt = powerpoint.Presentations.Add(MsoTriState.msoFalse); [/code] I … Software Development | |
Hi Friends, I am facing a probelm. The moment I complete a program i C (version 3), it complies successfully. However, the moment I try to run the program it says a Linker error. I have tried to sort this out through Option-Linker, but in vain. I really need you … Software Development c | |
i need to add this criteria to my program: "if the user enters a last name in small letters the program should display the surname with the first character in capitals" Can some1 please help me with some examples for this?? i really need it.. thank you guys :) | |
Hello Guys.. I am working in VB.NET I have to textbox : txtStartTime and txtEndTime After filling in values i need to validate that Start time must be less then Endtime. Values are entered in 12 hour format like 08:32 AM I can go for sub string logic and split … Software Development vb.net | |
Please can anybody tell me the difference in return 0 and system ("pause"); Software Development c | |
Hi!!! i have made a window application for solving mathematical expression using bodmas rule.... In that I am getting error IndexOutOfBound exception [CODE] private void button5_Click(object sender, EventArgs e) { string[] operands = this.textBox1.Text.Split('+', '-', '*', '/'); string[] operators = this.textBox1.Text.Split('0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); … Software Development | |
Hi everyone! Is there a way to find where an exception was caught in a c# app? I've been trying putting breakpoints, but I cannot find where the exception was caught. Is there any other way? Thanks very much Software Development | |
[code=vb.NET] Hi, Pls I'm trying to move across tabpages without clicking on the tabcontrols but by using a command button to move across tab controls Software Development vb.net | |
Hi all. Majorly bamboozled by the wxwidgets file streams. does wxFileInputStream have a GetLine() function, similar to the normal c++ file stream class??? had a wander thru the wx docs, and just ended up more confused. heres what i want to do btw. (note, functions are seperate but operate on … Software Development c++ file-stream | |
The following program has two mistakes in it that cause it to print an incorrect answer. [code=python] # Computes how much interest is earned on a given amount of principal. principal = float(raw_input('Enter principal: ')) interestRate = float(raw_input('Enter interest rate as a percent: ')) years = int(raw_input('Enter number of years: … Software Development python | |
Hi! My problem is about drawing line. In my form, I have a button and if I click the button some data is taken from a database (coordinates). Based on this coordinates, I want to draw lines on a panel. Under button_click event I wrote this code: [code=csharp]Pen myPen = … Software Development | |
hi all i need ur help to solve this problem 1. write an algorithm to find the average of there number called a,b,c 2. write an algorithm to add up all odd numbers between 0 and 100 3. what data type for (i) True ] if data type for 123 … | |
I need to create a SMS final examination retrieval using C#. Can anyone help me with this? Software Development c# | |
Hi all, who can help me with this question?? Which of the following are characteristics of the System.Threading.Timer class? 1) The method provided by the TimerCallback delegate will always be invoked on the thread which created the timer. 2) The thread which creates the timer must have a message processing … Software Development | |
I have designed a copmrehensive project in VBaccess for my company that is able to monitor all records regarding processing and reception of raw material. Dispatch of the final product and handling the transporters and buyers catalogues and finally the market analysis, i feel its getting out of hand since … Software Development vb.net | |
Language : C# (Visual studio 2005) Hi , i have problem I use File.Copy to copy from Local HDD to network HDD . THe app on my side works , but on client's side , that operation hangs. So , when program should start copying , the client just gets … Software Development file-system visual-studio | |
hi guys..i need help with my assignment..hpoe u can help\ A credit card company charges its customers monthly interest for any unpaid balance. Assuming that you owe the credit card company some money, you have decided to stop using the card and to pay off the debt by making a … Software Development java | |
hey friends, im getting this error illegal state of expression plz help me wid this Connection db = DriverManager.getConnection(connectURL); Statement stmt = db.createStatement(); String c = request.getParameter("criteria"); String a = request.getParameter("value"); ResultSet rs; if(c.equals("BillNo")){ --error-- rs = stmt.executeQuery("select * from orders where billNo="+a+); }else if(c.equals("UserId")){ --error-- rs = stmt.executeQuery("select * … Software Development java | |
Good day to everyone. I am a student who is a new to .Net. I am about to have a project which would probably involve flash and c#. I just want to learn the basic passing of variable from flash to c#. This project would involve a test or assessment … | |
Ive searched and downloaded somethings..But Im not sure what I do need to download, can someone post me a link to where I can get VB6? Or how exactly is VB used..I am a python user, but wanted to try VB for a change.. I am very un certain of … Software Development visual-basic | |
hello, How to bring back the control to already opened web page from a newly opened web page after that.Help me plz Software Development | |
Hi, I haven't been able to find much info on this with C#, so I thought I'd ask here. I want to know how to create a simple app that hooks into another portable C# app and injects code into it. Basically I want it to hook onto my program … Software Development | |
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example? In … | |
on line 40 I have: public void start That is the only thing that is showing something wrong. I have addad, curly brackets with no luck and when I put a semi colon at the end everything after it shows an error. The programs opens the applet but does not … Software Development java java-swing | |
When dealing with big numbers (over 100,000 digits). I find str(myint) too slow. The code below takes my machine 8 seconds. Doing a quick test in java takes 0.186 seconds [code=python] import time #**setup part** i = 0 myint = 1 while i < 100000: i = i + 1 … Software Development python | |
I recently got into Python and I'm having trouble finding a good IDE for it. I'm on Windows. IDLE works but I'd rather use a different editor with more features. I tried Wing IDE and I can't even find a Run command. Using the command line and typing in the … | |
[B]Hi all, I'm newB in C# and kind of lost now since couldn't find the right/suitable references. Please correct me if I'm wrong...[/B] My application will store values into database once user run it. In the Form Application, it runs well(no doubt). Now with the same approach, i want it … | |
How would I get an IP address? Not the local ip, but the one people would use to connect to say a TCP IP program? :P Thanks Software Development | |
I am writing a seprate driver class for my programme, but I need to know how to add two panels to the jframe. Any one help? Software Development java | |
How would I be able to make my program a critical process? Thanks Software Development | |
i have to code a program that ask for the user to enter a positive integer and then I have to find if the value that was enter is divisible by 11 (with no remainder) and display "yes" if it is divisible and "no" if it is not. <<My program … Software Development java | |
I want to convert string to integer. My string values are something like 0x000,0x0001 and etc(i.e. values are in hexadecimal format). if i used atoi() function then it will take only 0. but i want the entire string. e.g. string abc = "0x0000"; i want... int i = 0x0000; can … Software Development c++ | |
[CODE=JAVA] String line = "Extracting from E:\\Junk\\morejunk\\file.txt"; System.out.println(line); //prints: Extracting from E:\Junk\morejunk\file.txt String[] splitPath = line.split("\\"); //exception thrown here String folder = splitPath[splitPath.length-2]; System.out.println(folder); [/CODE] [QUOTE]Exception in thread "AWT-EventQueue-0" java.util.regex.PatternSyntaxException: Unexpected internal error near index 1[/QUOTE] My objective is to always print the folder containing the file being extracted (morejunk … | |
![]() | Hiya, I've got a lickle program here which reads data about people into structures and then saves their surnames in a Binary Search Tree. There is more stuff to go to that program, that is why I need structures, but at the moment [B]I can not understand why it doesn't … Software Development c data-structure |
I have to hit <Enter> twice after inputting my dollar amount and store selection I think I am just missing something simple somewhere, but am going stupid looking for it. Went to the internet to try and find a good debugger, but have no idea how or where to even … Software Development c | |
Hi all I am attaching a Text area to my gui program. For some reason, whenever i try to write/put a string that has a length greater than the width of the text area, It changes line automatically, (seems like it's not adding new line chracter to existing string, but … | |
HI all, I am currently expanding my knowledge by dipping into SDL, the only problem is that tiff.dll file is missing, use search of my computer, couldn't find it anywhere. Looked on Google, nothing simple just stupid adverts to download some registry fixer for free (we all know scans but … Software Development c++ | |
Hi!!! I want to make a code for diving a number along with that i want that complete division steps should be shown in listbox.You can see the steps in image attached with my thread....... Can anyone tell me how can i dynamically generate such steps of division of any … Software Development | |
Hi, I have written some code which when a mouse is clicked, a red circle is drawn at that position. The x,y coordinates are stored in an ArrayList. What I now want to do is enable the circles to be selected and then dragged. When the mouse is released the … | |
I have written a program which allows the user to click on the screen which draws a circle and when the user clicks on the circle again they can drag it around. My code allows the circle to be dragged it still displays the original cirlce and draws the path … Software Development java java-swing | |
I'm currently writing a small game engine and I've downloaded the Irrlicht source code to take some tricks in the design but I have a question... why use some prefixes in the file names and what they stands for? example: CGUIEditBox.cpp CGUIFont.h CXMLWriter.h IDepthBuffer.h I also saw this practice in … Software Development c++ |
The End.