199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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. ![]() | |
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) … | |
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, … | |
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. … | |
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 … | |
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 … ![]() | |
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 … ![]() | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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) … | |
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 … | |
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. … | |
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 … | |
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"); } } | |
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. | |
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 … | |
>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");]? | |
[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 … | |
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. … | |
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' … | |
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! | |
:!: 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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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; … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 += … | |
<< 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 … |
The End.