132,726 Archived Topics
Remove Filter ![]() | |
hi guys how are you ?! hope every thing is alright. well i want to make something like this [URL="http://www.coderun.com/"]one[/URL] can anyone help me how could i start in steps ? what books should i read ?! Thanks your help will be greatly appreciated. Software Development c++ | |
I'm looking for people to test a program, I've just finished the rewrite of a program and I need people to test for bugs etc... It's a program for developers written in python and wxpython-gui-toolkit It's made with the aim on linux, although windows-testers are welcome as well link: [url]http://launchpad.net/d-cm[/url] … | |
I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates … Software Development xml | |
[CODE]class A extends B { C ob1=new C(); D ob2=new D(); protected void finalize() { System.out.println("Finalizing A"); super.finalize(); } public static void main(String ss[]) { new A(); System.gc(); } }[/CODE] Though System,gc() doesn't guarantee the running of finalization, my question is if the JVM is able to run the finalizations … | |
hi i just wanted to parse a file to find certain associated data for ex if my text file is : <!#first>This is string1 <!second>THis is string2 So if user types in first...he will get This is string 1 iv written a simple C++ code to parse the text file … Software Development java | |
[CODE] private void btThem_Click(object sender, EventArgs e) { for(int i=0;i<dataGridView1.Rows.Count-1;i++) { if(dataGridView1.Rows[i].Cells["Checked"].Value ==true) { cmTheoHocLop.Parameters["@X"].Value = tbMSSV.Text; cmTheoHocLop.Parameters["@Y"].Value = dataGridView1.Rows[i].Cells["MaLop"].Value; sqlConnection1.Open(); cmTheoHocLop.ExecuteNonQuery(); sqlConnection1.Close(); } } } [/CODE] it has a error :Error 3 Operator '==' cannot be applied to operands of type 'object' and 'bool' D:\lvthao\QLHP\QLHP\FrmDKHP.cs 48 20 QLHP Thanks … Software Development | |
I needed a way to have words with different sized fonts in my JTextArea, but apparently only plane text is supported for it. I turned to JEditorPanes which apparently support html which allows different sized fonts, which is great. Now, I need a way to traverse back into the lines … Software Development java | |
hi im having trouble with lstout i have attached ss of result, i dont want System.Windows.Forms.Button,Text appear and also when i click one of seats which are A1~D10 let's say if i clicked D3 it pops "Enter your Name" msgbox so after i enter it it doesn't show output on … Software Development vb.net | |
Ok, so I am not sure how to do this but I am sure it can be done. Here is a scenario: I am reading in a text file that has a persons name and then the salary that they make per year for their job. The text file may … Software Development java | |
Hi Everyone I am new in C# and developing a desktop application using it. There I have developed a form. In that form a DataGridView control is used. In that control a lot number of column is added with header text manually. This result a Horizontal Scrollbar appeared when run … Software Development | |
I'm using Delphi 2009, and I can't figure out how to preserve transparency when converting a TBitmap to a TIcon and assigned it as the cursor, its always square and has the white background. Can anyone tell me how I could draw to the bitmaps canvas, and convert the entire … | |
Hello, I have a code that adds proxies to a richtext box, and I would like to make it add each proxy to the list box, Ive tried many things. Can anyone help? [code]private void Button1_Click(object sender, EventArgs e) { string innerHtml; IEnumerator enumerator; try { if (this.WebBrowser1.Url != new … Software Development regex | |
I import data into MySQL over and over again. Always from .sql scripts. I have tried over and over to come up with a script that will [LIST=1] [*]Ask for a database name [*]Sign into MySQL [*]Drop the Database named in step 1 [*]Create a new database as named in … Software Development mysql shell-scripting | |
Hi everybody, I am experiencing a very weird situation here: I have a program that uses tkinter and python 3, but its search function isn't working under Windows. [CODE=python] from tkinter import * import tkinter.ttk def sort(): pass def find(): start = 1.0 while 1: find = text_to_be_found.get() pos = … | |
I commented on the code what is my doubt. I don´t know I can´t I simply use arq_linha_part >> parm; If I use that it returns me the error: 1>------ Build started: Project: Interface GaussSolve, Configuration: Debug Win32 ------ 1>Compiling... 1>Interface GaussSolve.cpp 1>c:\users\fernando\documents\visual studio 2008\projects\interface gausssolve\interface gausssolve\interface gausssolve.cpp(38) : error … Software Development c++ file-stream visual-studio | |
I have tried installing and uninstalling everything i had about java, different JRE's and JDK's. These are my current settings : [code]alexandru@alex-desktop:~/Programs/eclipse_Java$ java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing) alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $JAVA_HOME /usr/lib/jvm/java-6-sun-1.6.0.20 alexandru@alex-desktop:~/Programs/eclipse_Java$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.20/bin … Software Development java java-jsp java-netbeans | |
Hi, do you know how we can convert java script to html code, or put all the java script in some " " cuz I have java programs and want to put them on my web, so ... I heard that there is a special program which converts html, javascript, … Software Development html-css java javascript | |
Hi, every one know that scanf statement should use "&" ambers ion symbol, but why it is not used while getting a string. eg: main() { int a; char str[10]; scanf("%d",[COLOR="Red"]&[/COLOR]a); scanf("%s",str); -->why "&" sybbol is not used in getting string? } Software Development c | |
Hy. I have to make a program to crypt a text entered from the keyboard whith aes 256 , but i have problems when i try to split the text in two.I get a bad_ptr when i declare unsigned char** intext=new unsigned char* [16]; [CODE] #include<iostream> #include <fstream> #include<conio.h> #include … Software Development c++ motherboards-cpu-ram | |
plz send me some imp in c & c++ urgently my exam is after 2 days Software Development c++ | |
My entrada.txt jas the following contents: [code] #Commented text #This should be used like: #Bar:Bar_number:Type_of_the_bar; # # Bar:1:PV:1.05 [/code] So the lines that starts with # are commented so the program will not process them. Everything is working fine, but when I used getline() to delimit the string on ":" … Software Development c++ visual-studio | |
What is the correct way to declare a multidimensional array. I tried like this [CODE]unsigned char** intext=new unsigned char*[16];[/CODE] but i get a bad_ptr. Software Development c++ | |
I have seen a lot of ***unit: JUnit, PHPUnit et al. Bu what on earth are they for in practical? Why do we need it? Thanks! Software Development java | |
Hi, I´m having problem while converting char to string. [code=c] #include "stdafx.h" #include <fstream> #include <cstdio> #include <iostream> int main() { std::ifstream arquivo("entrada.txt"); if (!arquivo) { std::cout << "Arquivo não encontrado" << std::endl<< std::endl; system("PAUSE"); exit(0); } std::string token; char arquivo_linha[255]; while(arquivo) { arquivo.getline(arquivo_linha,255); if (arquivo_linha[0] != 35) { token … Software Development c++ visual-studio | |
I´m using Visual C++ Studio and when I include another .cpp file it doesn´t takes all the what have been included before. Here is an example: main.cpp [code=c] #include <iostream> #include <string> #include <sstream> #include "readtext.cpp" int main() { teste(); return 0; } //readtext.cpp void text() { printf("teste"); } [/code] … Software Development c++ visual-studio | |
Well, I wonder HOW to make an explode() function from PHP in C++ For those who don't know. explode($separator, $string) breaks given $string through given $separator for example: [code] $string = "Hello world!"; $result = explode(" ", $string); echo $result[0]; //IT will give us HELLO word echo $result[1]; //IT will … | |
Hello everyone, as some of you might know NetBeans 6.9 has been release, now I already have 6.8 installed on my computer. The problem is that whenever I try to uninstall NetBeans 6.8 I get some weird error and I don't know how to fix it. Here is what I … Software Development java | |
Hi, I need to write a c# app that will iterate through multiple directories, sub-directories and return info on all files found. When I tried this the other week I had problems when FileInfo and GetDirectories returned exceptions when a file/folder name length exceeded 248 characters. Has anyone written a … Software Development | |
Im working on a program to get single characters from a string and i guess im doing it wrong but i was using strok() to tokenize the string in the hopes that it would do so but anyway this is what ive got so far and before you ask its … Software Development c++ | |
Hi, I have to calculate the exponetial of a large (on the order of 10^5) negative number. I tried using exp(), the exponential function from the cmath library, but I get an answer of 0. So, I tried to use the power series for the exponential function. For numbers from … Software Development c++ | |
Hi everybody . i have a problem that i have been trying to solve for weeks can u help. this is bonus problem given to me by my professor in college. hers is the description: menu driven library: 1. list books 2. add books 3. find books a. by id … | |
I've created a Java application and converted it into JAR format to redistribute. It works fine on Windows 7, Windows XP, SunOS and Mac OS X 10.5 ... but whenever I try to run it on Ubuntu 10.04 I run into a few problems: [LIST] [*]When running the application it … Software Development java operating-system os-x ubuntu | |
I have numerous amounts of .ini files that I have to extract specific lines from. Say Lines 1,5,9,23,63,31 (each in a new line) from all files. So as you can see, no sort of pattern and I jump around in lines. I'd like to write a perl script (which I … Software Development perl | |
i need some help: i have something like: word1:word2:word3:word4 ...read from a file,how can i do,when i read this line,each word delimit by ":" to put into a string.... string str1,str2,str3,str4; str1 = word1; ........... str4 = word4; sorry for my english i hope eu understand Software Development c++ | |
I am not sure how i can pass the whole array through the methods calculateAverage, calculateHighScore and calculateLowScore. I tried doing a 2-d array but it was unsuccessful. [CODE]Exception in thread "main" java.lang.Error: Unresolved compilation problems: Cannot make a static reference to the non-static field highestGrade1 Cannot make a static … Software Development java | |
Ok, I am about 20+ hours into this utterly confusing idea of link lists. The classes I have are listed below. I cannot for the life of me understand how I would write a reverse function. My office floor is cluttered with printouts and scribbles from trying to make this … Software Development c++ | |
hello guys, i need help, on how to output odd and even numbers at the end of the loop... not the way my program does, which prints the number every time i input numbers, and it needs indicated whether it's an odd or an even number. guys give me an … | |
hello all. I have a problem in c#. I want to change one column's type in my datagridview to link type. I dont want to use code for this work,but I dont know how can I do it? please help me.... Software Development | |
hi all , i wrote a class that send and receives data from serial port . the class uses serialport class. now I have a event handler that is being called when the incoming buffer has data. I also have a parsing method in my class. my problem is that … Software Development | |
Is there a way to check if the browser's 'Back' button has been clicked? Software Development vb.net | |
hi all, i'm new to this forum and java i'm working on my thesis with "market basket analysis" topic and my lecturer told me to use java (while i'm new to it) i have a set of item like this (example) id|transaction| item 1 1 a 2 1 b 3 … Software Development java | |
No programs are running.Both is Visual Studio and Codeblocks... both are showing the following error, [B]LINK : fatal error LNK1104: cannot open file 'kernel32.lib'[/B] I have google it, some say setting environment to "C:\Program Files\Microsoft SDKs\Windows\v5.0" or reinstalling visual studio, or editing registry key "HKEY_CURRENT_USER\SOFTWARE\Microsoft\MicrosoftSDKs\Windows\CurrentInstallFolder"(i didn't find any MicrosoftSDKs under … Software Development c++ visual-studio | |
hii i have a server client prog in which server is my 'agent' and client is 'manager' following is the code for both agent and manager. i want my agent to send what manager is requesting. but it is not working the way i want. the paramters which manager is … Software Development c client-server window-manager | |
[CODE] private Node<T> addAt(Node<T> node, T value) { if (node == null) { // special case return new Node<T>(value, null); } else if (node.getNext() == null) { // other special case node.setNext(new Node<T>(value, null)); } else if (node.getstuff().getName().compareTo(value.getName()) > 0) { node.setNext(new Node<T>(value, node.getNext())); } else addAtEnd(node.getNext(), value); } return … Software Development java linked-list | |
Dear freinds i want to get specific data in gridview specifc cell with the help of sql query from sql table i put the following query but it doesn't work [code] Sql = "select e.item_no from nitmtbl e,purchaseitem g where e.item_name=g.item_name and g.item_name='grovita sp'" Da = New SqlDataAdapter(Sql, Class1.Connection) Da.SelectCommand.ExecuteNonQuery() … |
The End.