132,726 Archived Topics
Remove Filter ![]() | |
hello, i would say im new to c++, my most advanced program was just a simple tic tac toe application. I am interested in learning more about c++. I have searched A LOT and cant find any good ebooks or links. I need links or ebooks to go further! please … Software Development c++ | |
Hello forum, I am wondering if it is possible to do a mark-up in free text by comparison with some string. Suppose I have a file with several sub-strings, one in each line. I have another file which contains the full text from where the sub-strings are generated. Is it … Software Development java | |
need c++ source code using array and loops.... i got a little problem thiking of it... Software Development c++ | |
| |
hello there, im new to C++ and i tried to design this code but the code is not running and i there is the code below [CODE=cpp]#include <iostream> using std::cout; using std::cin; using std::endl; #include <string> using std::string; using std::getline; class staffMember{ public : void setFirstName (string fname){ FirstName = … Software Development c++ | |
hi, im having trouble putting msgbox.. where do i put MsgBox("Passenger not found!", MsgBoxStyle.Critical, "Error") If name is not found from text file help thankz in advance VS 2010 [CODE] Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click Dim i As Integer Dim removename As String … Software Development vb.net | |
So, I've learned my lesson in the past. I'm not experianced enough to design a program from start to finish in an elegant way. I'm not looking for code in any way, just some code flow suggestions if anyone has any. This is what I'm trying to do: -Do a … Software Development assembly c++ file-system | |
![]() | I have a text file that looks like Y07976.1/124-271 Y07978.1/48-201 and I want to remove everything after the forward slash such that in the end the text file will look like Y07976.1 Y07978.1 I am currently learning perl and I think regular expressions are going to be a trouble for … Software Development perl ![]() |
[code]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import java.io.*; class ll{ public static void main(String[] a) { FileReader fr; try { fr = new FileReader (new File("C:\\University Study\\Component Engineering\\Assignments\\Assignment !\\yourFile.txt")); BufferedReader br = new BufferedReader (fr); String line = br.readLine(); while (line != null) { System.out.println(line); line = br.readLine(); … Software Development engineering file-system java java-swing | |
Please suggest if there is any best way around on executing jar from java code then killing parent java code. a)I have desktop based java application say "Monitor.java" which runs every 5 minutes. b) How can I [B]START external java application[/B] say "execute.jar" from Monitor.java [B]THEN EXIT/KILL[/B] Monitor.java I tried … Software Development java | |
for example I have this file named 'bst.h'. do i need to compile it so i will be able to use it? what do I need to write in the terminal to run my program? thank you very much. Software Development c | |
hi there, I need to upload files to the mdf file in visual studio 2008 standard edition. the database table which takes the file data in to varchar datatype. i convert the data to byte and then save it in a varchar type field. the code is below for uploading … Software Development file-system open-source visual-studio | |
I have a problem with solving the follow question. Write a SortedMerge() function that takes two lists, each of which is sorted in increasing order, and merges the two together into one list which is in increasing order. SortedMerge() should return the new list. If there anyone could help me … Software Development java | |
So to get practice writing applets, I tried to write one that simply draws a chessboard in a 160 x 160 window. I am pretty sure I got the code right for both the html and java files, and I have the html file in the same directory as my … | |
Hi all : ) I'm coding a snake game, now the problem is to get the input from the user if I used getch(); the snake will wait until she got an input from the user, so how can I let the snake run normally and expect input in any … Software Development c++ | |
Hi guys, i have about 500 folder and each folder has 2 text files.I need to insert all those files in database.Right now my program has to read each and every folder, is there any other alternative to this. Thanks Software Development | |
Help please, I wrote a script in C++ for loading a map file, parsing it with XML, and outputting the objects in the file. The XML parser works great, but it won't open the file. I have it exiting if the file doesn't exist, and the file doesn't load, even … Software Development c++ file-system xml | |
I have been working further on my text adventure (see thread: [url]http://www.daniweb.com/forums/thread285737.html[/url]) and have come to the part where I would like to manage the change of time (of day) and adjust the date as time passes. I have some code that does it, but was wondering if there is … Software Development python | |
Hello Could someone tell me if I had a table and I have the meta data for the columns,could I somehow collect the table name,column name and the data type and save it in something so as I could have these attributes to draw from in other classes? Thanks Software Development java | |
I am new to python and this is my first program. The program factorize a number given by a user. It also makes a list of all the primenumbers, that it finds and stores them in a file. Is there anybody who can see a way that I can make … Software Development python | |
Hi, I want to be able to copy my existing code, with all highlighting & formatting preserved to a file. Is it possible? Evan D. Knight Software Development c++ | |
how I am new to c# and I have a question I have to create a form, it is of 2 pages so I created 2 different forms, now based on the database table, I have to fill few textboxes in form2 in order to overcome the exception of crashing … Software Development c# | |
Ok, how do i make so if ihave a form on and press a button and a new form opens on the right side of the first form and follows when i move the first form and also i cant move the second form from the side of the first … Software Development vb.net | |
Ok, so I am having some trouble with my calculator code. The two issues I am having are: 1. I cant get my program to produce decimals, I have tried using "float" but that didn't work so i don't know how to fix that. 2. I don't know how to … Software Development c++ | |
How would one get the values from a wav file. Would you use a data stream or audio stream? Thanks, jakx12. Software Development audio file-stream java | |
Hi masters, i need codes to cut, copy and paste text from textbox. i know that i can use shortcut like Ctrl + X, Ctrl + C and Ctrl + V, but i need to do it in code. please help me Anyhelp will appreciated much Regards Ela Software Development vb.net | |
Hi, I have written a script which parses a UTF-8 text file and prints the required result. The code is below: [CODE] import os import sys import string import csv import codecs usage = "usage: Specify the directories for files and the RDOCK cut-off value" tm_append=[] if len(sys.argv) < 1: … Software Development python | |
Hi, I am trying to use strtok()..the idea is to split the text in tokens seperated by ";" as the delimiter. The text is in two parts like: apple;mango (apple being the first part and mango being the second I want to split into). The code I'm using: [CODE] #include<stdio.h> … | |
I want to make program in WINApi -it is simple window with one textbox - if you will press key 'A',it jumps to textbox(like when you click on it,and then you will be able to write to it). Only thing I dont know is if in WINApi is a function … Software Development c++ | |
if i open a file ouput using [B]ofstream[/B] it's openmode is set to [B]ios::out[/B] and [B]ios::trunc[/B]... what I have to do, if I want to have only the ios::out flag...not the ios::trunc flag.Because, it is deleting all the previous contents. How do i undo this flag?or, what to do, if … | |
i have this program that should print first name, middle name and last name. it almost works, but when I print strings, weird characters appear. I don't know how it's called, but instead of strings appearing, those characters appear. does anybody know why? I included parts of my program here: … Software Development c | |
Ola! This is my first post so i hope its not a stupid one ^_^ ok, I have large quantities text i want to read into my jTextArea, to keep it all nice and clean i use tabs(6 chars long), the problem is that sometimes the words or strings get … Software Development java | |
[CODE]/* < newton.c > */ #include "smp.h" main() { void USERF(double *,double *,double); double x0,e; int n,NMAX; /*** ステップ1 データの入力 ***/ printf("\n初期値 x0 = "); scanf("%1f",&x0); printf("\n収束判別定数 p = "); scanf("%1f",&e); printf("\n最大反復回数 NMAX = "); scanf("%d",&NMAX); /*** ステップ2 ニュートン・ラプソン法の計算 ***/ S_NEWT(&n,&x0,e,NMAX,USERF); /*** ステップ3 計算結果の出力 ***/ printf("\n反復回数:N=%d 解:X(N)=%10.71e",n,x0); } /* < … Software Development c | |
Hi I don't really know where to put this but how does one use WxWidgets with c++. I just need to know the syntax or structure of it. For example: What would wxwidgets equivalent be for the native code... [CODE] #include <iostream> int main() { int num1, num2, total; std::cout<<"Enter … Software Development c++ | |
![]() | Hello, I'm a Python/SPSS (DANIWEB) beginner and I'm having a hard time getting classes, functions and methods into the right order. I want to write a script for SPSS where I can read text out of an text object from the SPSS-output file. My code looks like this: [CODE=Python] import … Software Development mathematics python ![]() |
Hi. I have just been introduced to string tokenizer in one of the java lessons. It can remove characters from an array of strings. So, I am wondering if it could remove a string from an array of string. For example: "the fish was eaten by the cat". I'd like … Software Development java | |
Hi everyone, I would like to parse this text file PREVIT:nmrValidate_166w.pdb atoms "A -750 -GLU -CG " and "B -54 -GLN -CG " 3.8759 A apart atoms "A -750 -GLU -CD " and "B -54 -GLN -CG " 3.8447 A apart atoms "A -750 -GLU -C " and "B -51 … Software Development perl | |
Hi! All I need to know how can I secure my program by the serial number of local pc or WMI Code Creator? I want to secure my program by client`s hard disk`s serial number so that he cant sell it or use this program there in another pc. Please … Software Development vb.net | |
I am trying to change some data indside a txt file, based on the input given by the user.The input file is [B]indata.txt[/B](The commented part is, what it holds).And the output file is [B]"outdata.txt"[/B]... The problem is with line 52 and 53.Notice that in the loop from line 55 to … | |
Problem: when the user prints the JTextArea, the text at the right-hand side of the "paper" is cut off, despite the fact that it is visible on the screen. Question: How can this be solved? I've tried two ways of printing the text area, and neither has worked as I'd … | |
Hello all, i've just found source from planet source code, and from this source i just want to make program can record the streaming voice into .wav or .mp3... is that possible?? what should i do?? Thx b4.... Software Development visual-basic | |
hai guys i am new to this community and i wish do a project can you guide me with some ideas to match to the up coming trends.. Software Development visual-basic | |
Respected Seniors, I have no knowledge about creating report in Crystal Report. Kindly tell me step by step process for making crystal report and what application need for install on my system current time i have vb 6.0 and ms office 2003. Thanks in advance. Pradeep Software Development visual-basic | |
Dear Experts, I need a process for disabling windows key of keyboard through coding. Kindly help Thanks Pardeep Software Development vb.net | |
hello...im new in vb world.so please help me if someone can..my problem in details: 1.have created a ms access database file named Database2.mdb which has 5 columns as follows a,b,c,d and result.it has 5 row and a,b,c,d are filled with data but result column is empty. 2.have created a datagrid … Software Development visual-basic | |
Hi guys, I have a code in C++ that was written way back in 1995.Back then,I guess even in C++,#include<iostream.h> was used unlike nowadays, #include<iostream> using namespace std;.....im rite now trying to compile that code with a g++ compiler.It gives the error at lots of places:"cout not declared in this … Software Development c++ | |
Hey there! I'm new to c++ and programming in general and have a quick question to why the program below works. I had most of it completed but for hours i couldn't figure out why every time i tried to enter input for the "make" member of my dynamic structure … Software Development c++ | |
The End.