199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ankit_rastogi82

Hi All, I want to remove a substring from a string without any additional tabs/returns in the output string. Is there any method availaible or how can I do it. For the ease, I am giving an example: [code] mainstr =""" ${if:isLeaf} Dont include this isLeaf=True ${/if:isLeaf} ${if:isStatic} include this …

Member Avatar for vegaseat
0
185
Member Avatar for princy

i have created my application using java in netbeansIDE4.1(connecting with quick books,derby).how do i package or bundle my application using netbeanIDE4.1?other than jar file. please do help me.

Member Avatar for iamthwee
0
129
Member Avatar for wigster84

Ok, here is a program....im getting an error, "est.cpp(1) : fatal error C1083: Cannot open include file: 'stream.h': No such file or directory Error executing cl.exe." I know something is wrong with the header...and i think it cannot read the cout (in bold). Im trying to run this in (Microsoft) …

Member Avatar for wigster84
0
132
Member Avatar for wigster84

Hi, Im a beginner at C++...trying to learn it on my own. Im doing an exercise that i cant seem to tackle. I have to read a set of numbers from a word file seperated by commas and convert them to integers. For example, say my set was [B]48909, 3453, …

Member Avatar for wigster84
0
252
Member Avatar for Hawkeye249

Hello, I'm using a worksheet is used to tally survey results. It's working well and I want to make it better. Each row corresponds to a question number. In use, the code locks cursor positioning into B and the User types the number for the box checked on the card. …

Member Avatar for EricDV
0
231
Member Avatar for H2ofield

Hello, I'm attempting to create a page on my company website that lists products in my inventory. I've created a[URL=http://www.thepiezoexchange.com/mercury_inventory.htm]simple page[/URL], but need to create the scripting to make it do the following: 1. When the customer enters a quantity in the form field next to the part number(s), the …

Member Avatar for tgreer
0
387
Member Avatar for tcp_ip

Can anyone help me to create or to call "Fractal" using Java? Here a short defenition about fractal : "Many people are immediately drawn to the bizarrely beautiful images known as fractals. Extending beyond the typical perception of mathematics as a body of sterile formulas, fractal geometry mixes art with …

Member Avatar for iamthwee
0
156
Member Avatar for kisvirag21

I need to write a program that generates 10 problems, in which 2 randomly genorated numbers are chosen to multiply together, and the user has to input the correct answer for each program, and i have store the answers, and check to see if they are correct. I could just …

Member Avatar for iamthwee
0
153
Member Avatar for waldis

Hi, could someone to direct me the right way with this? Here is the problem, which I think I have nailed: before: [CODE] A if c then goto X B if d then goto Y C X: D E Y: F[/CODE] after (in pseudocode): [CODE]A if c then D E …

Member Avatar for waldis
0
263
Member Avatar for sam1

hi how would i add the following code to the end of the JFrame, as at the top I have three JMenu and in middle nothing : - [CODE]JLabel label = new JLabel("My Status"); JComboBox mycom = new JComboBox(); mycom.addItem("Online"); mycom.addItem("Busy"); mycom.addItem("Away");[/CODE] thanks

Member Avatar for jwenting
0
102
Member Avatar for sam1

hi all, How many styles/LookAndFeel can you change a JFrame to? I did some research and i can do mine into three : Metal, Windows and motif. are there anymore ? thanks

Member Avatar for jwenting
0
108
Member Avatar for beuls

Dear programmers, I have developed a graphics program in C++ to draw various shapes using virtual functions. While using the Turbo C compiler the graphics.h file is included to use the graphics functions. But now i am using the Visual C++ (MS Visual Studio 6.0) compiler. so what modifications shd …

Member Avatar for beuls
0
225
Member Avatar for complete

Visual Basic and C++ and Debug and DLLs Here is the problem I am having now. I have a C++ DLL that seems to work just fine. It has been tested with function calls from a executable written in C++. Now, using it with my Visual Basic GUI seems to …

Member Avatar for Alvein
0
239
Member Avatar for Nedals

I have limited experience with Object Oriented coding but not programming in general. Here is a stripped down version of my code. What I'm trying to do is set a variable declared in 'CProjectView::Handler' using a function in 'CtestClass'. Simple enough! but not for me. In the code as shown, …

Member Avatar for Nedals
0
257
Member Avatar for moznmar

I apologize, but I meant to make the below post in the C/C++ forum. I'm not sure how I may move it to the other forum or delete it and repost it in the correct forum. I would appreciate any guidance on how to correct my mistake. Thank you. I'm …

Member Avatar for Dani
0
205
Member Avatar for calcop

Hello everyone, I hope I can write this question clearly. Anyway, it is about global variables. I have several files in my C++ project. One of which is main.cpp. This file comtains my main() function. I have a few other files in my project. They are server.cpp, server.h, strings.h, includes.h …

Member Avatar for calcop
0
181
Member Avatar for moznmar

I'm a newie and am in the process of trying to develop a book store as part of a class project. I would greatly appreciate any assistance that may be offered my way. Please do not give me any answers, but if you have any suggestions that may nudge me …

Member Avatar for moznmar
0
264
Member Avatar for GermanD

Hi, Could you maybe help me out with some code to scan folders and subfolders for files?PLEASE... I cant find any useful information on the net.. All i wanna do is search a selected folder with its subfolders for a specific file types and then rename those found files extension …

Member Avatar for tayspen
0
115
Member Avatar for mybrainhurts

Hi guys just trying to understand Getline and implement it in a problem im trying to solve. First off i have a program that is working: [CODE] #include <iostream.h> #include <string> #include <fstream> using namespace std; void main() { ifstream fin("data.txt"); ofstream fout; char name[30]; char jersey_number[10]; char best_time[10]; char …

Member Avatar for mybrainhurts
0
131
Member Avatar for aarya

hi i ahve developed one artcicle submit site. in taht i have done list of authors and the number of article submitted by them. but in the first page taht is fine but in second page onwards the number of article shows 0. i cna show the website http://articlenetworks.com/authors.php this …

Member Avatar for aarya
0
107
Member Avatar for aarya

hi i ahve a mysql databse in which list of name is stored. i wnate to retrive the data form that databse. i have problem in retriving it. if i have name jack 3 times in my databse, but when i wnat to show the names i get jack jack …

Member Avatar for rcasinillo_s
0
121
Member Avatar for fluidDelusions

Suppose I have a class, Animal, that contains the virtual method eat(). Now suppose Dog is derived from Animal, and also implements eat(). Now somewhere else, I have a class Barn with a feed method that takes Animal& as a parameter. How can I force class Barn to call Dog's …

Member Avatar for NosKills
0
279
Member Avatar for thorne44

Hi, I'm currently writing a routine to extract one, two and three word phrases from a string but with two or three word phrases I'm not getting all the phrases. For example the string "blah blah blah" will show one ocurance of "blah blah" when really there is two. My …

Member Avatar for thorne44
0
103
Member Avatar for mogey

Can anyone help here. I want to have some color in the intro page the a database program I am creating. DOS based. ie it will be used in a 98 OS in dos.

Member Avatar for calcop
0
152
Member Avatar for ankit_rastogi82

Is it possible to limit the size of list in python. I want to make list of 5 elements. How can I achieve this thing in python. And one more thing can we declare list to store elements of same type as in c, C++ we can declare an array …

Member Avatar for ankit_rastogi82
0
187
Member Avatar for invincible_king

hey guys, i need to setup a database server, and as of now , i do not have any knowledge about MySQL, PHP, and things realted ...although i have a fair knowledge of how things work, i have used Access for my earlier databases, i want to have adress book(forms) …

Member Avatar for william_stam
0
138
Member Avatar for Brims

Hiya all ive decided to do my final year project designing an online music video library that will allow multiple access by many users to the same files that will be highly available, with facilities to access the video library by pc, pda and mobile phones. how would i integrate …

Member Avatar for william_stam
0
141
Member Avatar for michael123

I would like to know how I can backup Mysql tables from hosting server to my local pc? I don't want to use phpMyAdmin, is there some simple commands to do that(I use PHP)? and how to restore it back to hosting server? I assume it will use csv file. …

Member Avatar for william_stam
0
237
Member Avatar for mehrzadsoft

whats wrong with this code? i'm really confused! when i use INSERT code insted of UPDATE in my file, every thing is ok. but when i use UPDATE,it doesn't work!! UPDATE: [CODE]$query = "UPDATE $tblname SET title='$title', desc='$desc', body='$body', time='$time', faday='$faday', famonth='$famonth', fayear='$fayear', fu_show='$fu_show', fu_day='$fu_day', fu_month='$fu_month', fu_year='$fu_year', wshow='$wshow', dshow='$dshow' WHERE …

Member Avatar for william_stam
0
169
Member Avatar for Rajnesh

Does the comparison operator also compares data types... the following program gives the output Equals..Please advise... class Check{ public static void main(String[] args){ int numA=100; double numA=100; if(numA==numB) System.out.println("Equals"); else System.out.println("Not Equal"); } }

Member Avatar for Rajnesh
0
172
Member Avatar for Quan Chi2

Does anyone know a tutorial that teaches me how to code them in C++? I want to learn how to make my program send packets and recieve them.

Member Avatar for Nedals
0
105
Member Avatar for Texpert

Hi, I am new to ASP.NET, working on a web app using Visual Studio and VB. My App was working fine before and after I made few changes, It opens "Default.aspx" for any selection. I've even remaned the file "default.aspx" in the solution to something else and made sure there …

Member Avatar for f1 fan
0
225
Member Avatar for jiaqi

>how do u insert nth square into a complicated formulea? like p={d[I(1+I)*n-th power]}/{(1+I)*n-th power-1} izzit [static int power(doubleb,doublen){ if (n==0) return 1; else{ int p=power (b, n/2); if (n%2==0) return p*p; else returnp*p*b; }] And this statement [cal.addActionListener(this);] the same as [System.out.println("cal");]?

Member Avatar for jiaqi
0
103
Member Avatar for crestaldin

[COLOR=Navy]Hello, Ps can anyone enlighten me on how to learn PHP. I mean I am a novice and would like to know if it requires a compiler etc like C++,C ..to compile codes. In essence what are the things needed to learn PHP...and how can I really develop myself well …

Member Avatar for kush2
0
143
Member Avatar for Twins_effect

hey guys, im a new guy here in the forum and im also an IT student who gets into C++ troubles most of the time, but enough about that... i just wanna ask if anyone can help me in my linked list problem, i think its about pointers and address. …

Member Avatar for Twins_effect
0
109
Member Avatar for PH03N1X

Hey there, im not very great at php and im wondering how i could fix this error [CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/blindst/public_html/forumbeta/vtopic.php on line 328 No replys to this topic.[/CODE] This is line 328 [CODE]$sql2=("SELECT * FROM `reply` WHERE tid = '$id' …

Member Avatar for PH03N1X
0
148
Member Avatar for Frank0051

Has anyone ever seen a Java media program that ties in visualizations like a Windows Media or Winamp type of deal? Don't really care if it uses a Java API, framework, or a simply taps pakages available in the OS....just looking to see if this is possible Thanks!

Member Avatar for Frank0051
0
558
Member Avatar for fsloke

:!: The Question is like this... About: Subject registration system. The lecture want 1. Name, Matric Number, Cumulative Grade Percentage Average (CGPA) CGPA........A=4.0,A-=3.7,B+=3.3,B=3.0,B-=3.7,C+=3.33,C=2.0, F=0. Name, Matric No,CGPA key in by user. So no need to worried. 2.Condition for CGPA if CGPA<2.0, can apply up to 18credit hours if CGPA>2.0, can …

Member Avatar for fsloke
0
130
Member Avatar for fsloke

Reading Material Purchasing System ------------------------------------------ the program have a book sales User will select the type of book they want to buy such as Fiction, non-Fiction Fiction Non-Fiction ------- ------------- ////////....$ /////////////.......$ ///////......$ ///////////////....$ ///////.....$ //////////....$ at the end (print out) list down the book they buy Total of all …

Member Avatar for fsloke
0
117
Member Avatar for Tryst

Im just learning C++ this year, and its going alright, until i came to arrays that have indexes with semantic content. I am asked to write program that will convert a user inputted string into the civil aviation alphabet, for example if teh user inputted "and" the output would be …

Member Avatar for Jakester
0
237
Member Avatar for A Monkeys Uncle

I'm trying to add an RSS feed to my videogame website, but it isn't working. These are the steps I have done so far: A) I have copy and pasted the RSS reader to a blank notepad file, and named it rssfeed.php. This is that code: <?php $olderror_reporting =error_reporting(0); include …

Member Avatar for robmaag
0
456
Member Avatar for aarya

i ahve a summary for example hsssssssssssssssssssssssssssssssssssssssssssssssssssss hsssssssssssssssssssssssssssssssssssssssssssssssssss sbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb i wante to break these summary and dispaly only first line. hsssssssssssssssssssssssssssssssssssssssssssssssssssss which function i have to use? any body please help me

Member Avatar for aarya
0
111
Member Avatar for tgreer

How would I go about making this entire class Serializable? What code would I add to a second constructor that would restore state/values from the XML file (de-serialize)? [code] using System; using System.Collections.Generic; using System.Text; namespace tgreer { public class indexer { private Dictionary<string, Int32> _documents; private Dictionary<string, Int32> _pages; …

Member Avatar for tgreer
0
478
Member Avatar for Milind

Hello Everybody, Can anyone help me? I want to download the phptriad.exe 2.2 I have I want php 5 with php triad please let me know and give me the url if anyone knows this... thanks in advance... Milind

Member Avatar for PoA
0
122
Member Avatar for blahbleh

I keep getting a System.StackOverflowException error. Anyone have any idea why?? Imports System.IO Imports System.Collections Imports System.Collections.Specialized Imports System.Drawing Public Class Form1 Inherits System.Windows.Forms.Form [B][U][COLOR=Red]Dim mst As MasterForm = New MasterForm[/COLOR][/U][/B] Dim objColl As StringCollection Dim objColl2 As StringCollection Dim objRand As Random = New Random Dim word As String …

Member Avatar for plazmo
0
197
Member Avatar for Bill the Cat

OK, I am very, VERY new to VB.NET :o I am trying to develop a Windows application that is hopefully pretty straight forward. I'll try to explain best I can. I have 4 text boxes (Phones, Field, Moves, and Out) and 64 drop down combo boxes. Each combo box has …

Member Avatar for f1 fan
0
190
Member Avatar for andreabez

OK, I know Oracle, SQL, VBScript, Javascript, html, ASP, MS Access and it's VBA very well, I have a website that can handle mysql. NOW, I just bought myself this .NET thing. Anyone have any idea where I start from here? I don't even know what to ask yet, but …

Member Avatar for f1 fan
0
94
Member Avatar for scpriya

Q1- This program deals with strings and requires the use of pointers (in a fairly simple fashion). You might consider yourself writing a programmer for a book editor to place a set of index entries into alphabetical order. Some complications arise here in that punctuation in the entries is ignored …

Member Avatar for iamthwee
0
153
Member Avatar for Zefram

I have to write new "control" and I just start to hate myself and C# because I do not understand why this piece of trivial code cannot work. public partial class TrendViewerControl : Control private System.Timers.Timer myTimer; public TrendViewerControl() { Timer myTimer = new Timer(); myTimer.Interval = TimerDelay; myTimer.Tick += …

Member Avatar for f1 fan
0
120
Member Avatar for shortLived

<< moderator edit: split thread ([url=http://www.daniweb.com/techtalkforums/showthread.php?t=36591]original[/url]) >> I must have a bad version of Microsofts C++ compiler. When I try the rounding it doesn't work. For example. [code] float salesTotal =6.010002; salesTotal = (((int)((salesTotal*100)+.5))/100.0); // I realize I have plenty of parentheses. [/code] results in a value of 6.010002 stored …

Member Avatar for Ancient Dragon
0
148

The End.