132,726 Archived Topics
Remove Filter ![]() | |
Hi Guys, I have a problem.... I'm developing a tool in VB6, which gets value of a cell from a DOC File....I'm assigning the cell value to a string.but, in the string i found this junk character "".....can anybody please tell me how to remove "" this character.... I tried … Software Development visual-basic | |
can anyone help me do this i am utterly confused and have no clue what to do Page 1 of 2 Overview: Write a C++ program to select, for purchase, for a particular month, offers to supply coal to an electric generating station. This program should read a user-specified input … | |
hi guys im trying to make the words that have capital letters in small caps, then count the numbers of times a certain words appears in the text. i managed to count the number of times a word appears but now im having trouble converting upperletters to caps on all … Software Development python | |
I was going through walkthoroughs as a practice for my final and i came across this question. Although i was able to do it correctly, I was not able to get the presence of a colon in one of the lines(line 35): [CODE] #include <iostream> using namespace std; class base{ … | |
I have designed a form to open a .txt file, read the values and display them into the forms label controls. My problem is that I cant figure out how to advance to read the next record when I click on the next record btn. I am able to read … Software Development vb.net | |
Okay, so my program is very close to completion. The only problem is that the program leaks memory. The deleteNode, deleteManager, and destroyList are the ones to blame, or so I think. When I delete a node other than the first one it works while leaking memory. However, when I … Software Development c linked-list | |
i'm trying to open an existing excel worksheet. my code is: [CODE=c#]Microsoft.Office.Interop.Excel.Application excelApp; Microsoft.Office.Interop.Excel.Workbook excelWorkbook; Microsoft.Office.Interop.Excel.Worksheet ExlWrkSheet; private object Opt = Type.Missing excelApp = new ApplicationClass(); excelWorkbook = excelApp.Workbooks.Open("..//..//Data.xls", Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt, Opt);[/CODE] on the last line i get an … Software Development c# microsoft-office | |
Hi, ive got to make a program to find the perimeter and area of a triangle made using vectors, and i have not a clue, ill post the code i have done so far and if any1 could give me the code for the area and perimeter you would be … Software Development java | |
Hi everyone, I need to pass a vector to an external function and then have that function read the items within the vector. I'm assuming I have to pass the vector by pointer. Other than that, there's no real reason I'm using a pointer here. Below is a bit of … Software Development c++ | |
I have a few questions about c strings, string literals, c++ string objects and how pointers and constantness all come together. I am wondering why a c string can be set like this but can't be changed dynamically with an assignment operator like this. [CODE] char str [] = "string1"; … | |
Can someone please help with this project of mine? I am not really good at GUI... create a new account, check account status. and make purchase with a credit card. Create a New Account You must ask the user to input some information: applicant's name (e.g. "John Smith"), application date … | |
is there a way to access a mysql server or a php script using java to verify a username and password? Software Development java | |
[code=C++] #ifndef DARK_OBJECT_H #define DARK_OBJECT_H #include "DarkGDK.h" namespace DarkObject { class Object // abstract { public: Object(); virtual void x() = 0; protected: int imageID, spriteID; }; class Rect2D { public: Rect2D(int x, int y, int width, int height): x(x), y(y), width(width), height(height) {}; int GetX() const {return x;} int … Software Development c++ | |
I'm trying to create a simple program that will check for any given number (an ID) provided by the user and check this ID with an array of numbers inside my program. If the correct ID is given, it will display "Valid ID" if the ID provided by the user … Software Development java | |
I am trying to create multiple trees after calling tree_holder. The number of tree is unknown until compile time. Since there are many trees, and i want to access them right away just like an array. I do not use linked list since it is too slow. I have written … Software Development c linked-list | |
hi how to show the data in data grid. is the following one correct [CODE]set db.recordsource=recset[/CODE] thank u Software Development visual-basic | |
Does anyone know why this script would give me an error (only sometimes) with it saying "too many arguments"? [CODE]#!/bin/bash HOME='/home/eric' arrFiles=("$HOME/.kde/share/apps/kaffeine/playlists/NEW.kaffeine"\ "$HOME/.kde/share/apps/kcookiejar/cookies"\ "$HOME/.kde4/share/apps/kcookiejar/cookies") arrDirs=("$HOME/.kde4/share/apps/RecentDocuments/*"\ "$HOME/.kde/share/apps/RecentDocuments/*"\ "$HOME/.macromedia/Flash_Player/#SharedObjects/*") case "$1" in trash) rm -r $HOME/.local/share/Trash/* echo Trash emptied ;; history) #Clears Files for x in "${arrFiles[@]}"; do if [ $x = … Software Development shell-scripting | |
Binary tree I have this problem to submit it tomorrow I have to do it pleeze help me Add the implementation of the following functions to the class binaryTreeType: 1. nodeCount that takes as a parameter a pointer to the root node of a binary tree and returns the number … Software Development c++ | |
How do you assign a random int to a variable more then once say i use this code [code] import random x = 1 while x == 1: random = random.randint(1,100) print random raw_input ("Push <enter> to print another random number") [/code] It will print out the first random number … Software Development python | |
Hey, I have to do a script for class in which a user inputs a phone number like the ones you see on TV. 555-buy-this I need to make a script that will change the alphabetic characters to numbers. I asked my teacher and he said we had to do … Software Development python | |
Hi everyone, I am trying to make a program that times how long it runs for in seconds or milliseconds or whatever. The unit of time doesn't matter, I just need to know if C has any function I could use to do this. So, just as an example, I'm … Software Development c | |
I made a Calculator with 3 Textboxes (the First 2 for the Variables the Third for the Result) and 4 buttons (+, -, *, /) and the code i used for the subtraction button was: [CODE] TextBox3.Text = Val(TextBox1.Text) - Val(TextBox2.Text) [/CODE] But Heres all my Code: [QUOTE] Private Sub … Software Development vb.net | |
I am taking a intro programming course currently. I am stumped by my current assignment. The program is suppose to do the following using functions only (no other code allowed in main): 1. Get data from an input file and put into a parallel array. 2. Find and display the … Software Development c++ | |
Hello, I have a program that I'm writing and it seems to just stop. I've looked at the code and I can't seem to figure it out. This is for a class, so please don't just fix it, but please tell me how to go about fixing it, I want … Software Development c++ file-stream | |
Hey all, What does it mean when you get an error that says ImportError: no module named main. I wasn't aware I was trying to import a module named main. I don't even have a module named main. I'm using Jython and I'm reflecting on an instance of a python … Software Development python | |
Hi guys, I was making a program yesterday that would send an email using the email modules of python as well as the smtp module. My problem is when i put it into an exe using py2exe and vega's code snippet setup i get some problems. This is the error … Software Development python | |
im having a bit of trouble with this for loop. can somone show me what im doing wrong? [code]runcount = runcount + 1; cout << "Type a number: \n"; cin >> s; guesssheet[runcount] = s; for(int y = 0; y < runcount; ++y) { if(guesssheet[y] = s) { system("cls"); cout … Software Development c++ | |
Hello. My first thread here @ daniweb. Im stuck on some source code. I am trying to create a small program that allows user to input '1' or '2' for class selection on an airplane. 1 for first 2 for economy. the plane capacity is 10, which is also the … Software Development c++ | |
I need simple DLL to play audio file (at lest MP3). As simple as possible for me to use it in practicing playing with DLLs | |
I did some C++ a few years ago, and now am starting again. One of the first things I am going to try is getting SOs to work. Can somebody recommend some good tutorials for me to get started? (I know C++ pretty well, just a bit rusty) Software Development c++ | |
Please help me with a simple watch program. In the program,I have to display on the same line. i have written the following code which is not working. pls look into it [code] class watch { private int h,m,s,a=0,b=0; public void calc() { for(;a==b;s++) { if(s%60==1) { m++; } if(m%60==1) … Software Development java | |
hi i'm receiving anerror message while executing this statement. dr.Execute ("alter table results12 add (Total number,Percentage number,Status char(5))") error message run-time error:3292 syntax error in field definition Software Development visual-basic | |
Hi, im a newbie in programming with only couple of months experience. This game is a connect 4 game but works basically like a tic tac toe because insted of a piece dropping at the bottom of the board, it would stay in the selected area like tic tac toe … Software Development c++ | |
Hello, i'm working on netbeans and want to access my database using this code: [CODE=java] import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class connect { /** * @param args */ public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver").newInstance(); } catch (Exception ex) { System.out.println("error \n"); … Software Development java java-netbeans mysql | |
After using MFC, I felt like throwing it away. I thought to move on to Win32 API programming (I work on Windows platform.) But then, it is all C. I dont say i dont like C, but is there any better OO alternative to MFC for Win32 platform? Or should … Software Development api c++ oop windows-api | |
Hi, I was making a program like an array which reads the list and tells what position is it in the list. For example: For letters its: list[2]{'A','B'};Its like a search program and it works because it reads the list. So now I was figuring out on how it will … Software Development c++ | |
Hi, I' studying various sorting techniques...And one thing I'm not clear about the complexity of the techniques... For e.g the complexity of bubble sort is Average Case=>O(n*n) Worst Case=>O(n*n) Best Case=>O(n*n) Obviously n is the no. of elements in the array... But even in the worst case i.e the array … Software Development c | |
hello I want to create a page,where there will be a gridview,with 2 columns. 1st column will have Numbers..1,2,3,4,5........as much as user want. next column is where people will insert data,say a,b,c,d,e,f,g..... After pressing the button, 1,a 2,b 3,c ....all these wil be inserted in database rows. can somebody please … Software Development visual-studio xml | |
hi i have an error here could somebody know or expirence this before plss help.. this error enclude dll and i have the site now. this is the link [url]http://support.microsoft.com/kb/248055[/url] i already put the dll in the said folder and already installed mdac. plss any has expirence this .plss help Software Development visual-basic | |
Hi, I am on Windows xp professional edition and looking for a free develeopment tool/ide for some self c++ learning. The one I can across is Dev-C++ 5 (currently beta) from [URL]http://www.bloodshed.net/devcpp.html[/URL] It is supported on XP but it is still beta version and I want something stable. Can any … Software Development c++ ide windows-xp | |
the program i have to write involves a dynamically linked stack to evaluate if the grouping symbols '[B]([/B]' , '[B])[/B]' , '[B]{[/B]' , '[B]}[/B]' , '[B][[/B]' , '[B]][/B]' in expressions are balanced. The expression is input through keyboard. For example: expression: {A+(B-C)*D} is balanced expression: T+{(R+M)/G-V*L is not balanced expression: … Software Development c++ | |
So basically, my assignment was to write quick sort and merge sort using both vectors and arrays, and time how long it takes to sort the the arrays and vectors of various sizes. However, the code is producing inconsistent results. Sometimes it seg faults, other times it produces unfriendly messages … | |
Hi all! Im making a mario clone, and i was wondering how to write the jump function in the Mario class, any help would be good, im using PyGame by the way. heres my code so far: [code=python] #usr/bin/env python import sys import os import pygame from pygame.locals import * … Software Development python | |
hello again i have three questions again: how can i use malloc or calloc for a two demontional arrays? is it true that A. calloc allocates memory in contiguous bytes, malloc does not ensure contiguous memory allocation? the third question which is a bit irrelevent to programming how memorey locations … Software Development c | |
Hi, any body guide me a program how to convert octal to hexa decimal number using c lnaguage without using %x %o regrards, samba | |
[CODE][/CODE] average=a[counter]+b[counter]+c[counter]+d[counter]/12; can someone can help me? modify to modify this code using an for loop? thanks Software Development c++ | |
I have developed a program in an XP enviroment using Borland Builder 6. It has since been installed on a computer with Vista. The program opens text files which are stored in the root directory of the program. The pathname is set in global constants like "name.txt". This works fine … Software Development c++ |
The End.