199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am trying to teach myself C++ and am currently studying file I/O. What I am trying to do is this (and I am sure you have heard this before): open a text file and output each word with the number of occurrences. For example, if the file contains … ![]() | |
Hi, I'm working on an assignment for school...one of the applets i have to develop is a colour picker...But unfortunately i'm having some trouble with it... I would just like to ask if anyone could help me along a little bit and give me some insight as what to do … | |
Hello, I am trying to figure out this program on [B]how to make it loop if Y is pressed and exit when N is pressed at the end of the program[/B]. The other problem I'm having is that this program can not have any decimals or negatives in it when … | |
whati s wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); begin var j: Integer; for j:=1 to 5 do begin ShowMessage('Box: '+InToStr(j)); [B]end;[/B] end. i also added one more end; after second last [B]end;[/B] but nothing changed. iam new to Delphi and it is frustrating:mad: i receive the following errors [Error] … | |
hi, have a little problem using fstream. first here is the code... [code] #include<iostream> #include<fstream> using namespace std; int main() { string word; ofstream outl("biscuit.txt", ios::out); cin>>word; outl<<word; system("pause"); return 0; } [/code] using this, i can type a word into the input screen and it saves whatever word i … | |
Hi,everybody.Following is an simple C programm which want to display the content of a file with corresponding hex.If one letter is a undisplayed then replace it with '.' . info and code: info: [root@localhost guai]# gcc disp.c -o disp.exe disp.c:29:9: empty character constant disp.c: In function `main': disp.c:47: wrong type … | |
We have True 64 5.1 version of Unix that has c compiler. Also we run informix-4gl. Informix-4gl cannot do http post. But it can call "C" programs. So I need to do http post through "C". Since I am not very good at "C", I couldn't change and compile uday … | |
Dear All, I need to hide the user control by checking a small if condition.If the condition is false then then the user control is set TRUE,else It should be FALSE.How can i do it in ASP.NET with VB.NET . Thanks, Thiyagarajan.N | |
Please help me with this strange behaviour, Unexpectedly I get this intermediate error as Data has been flushed to the client. What is this behavior and what are the reasons? | |
| |
Hi! As a beginner in Borland C++ Builder I'm facing a Linker Error message which I have no idea of how to deal with. Concretely, my console project called as "my_proj" is calling the function my_func() whose code definition is included in the source file source.cpp (this source file is … | |
I am new to this group. Hello to everyone! I am trying kill a thread by setting up traces in the python code. The thread code is given below: ###################################### class KThread(threading.Thread): """A subclass of threading.Thread, with a kill() method.""" def __init__(self, *args, **keywords): threading.Thread.__init__(self, *args, **keywords) self.killed = False … | |
Hi Guys, Listen, Here’s I have a little challenging ASP Question facing my Mobile Project. [COLOR=Blue]When I submit User data[/COLOR] from my Mobile app to my ASP server using [COLOR=Blue][B]POST method,[/B][/COLOR] my Server validates this data and passes it to another ASP Server(i.e. another site), which at the end sends … | |
Hi I am a new member in the forum. Now I have problem with MP3 file. I want to know how to read and write MP3 to database. :?: :sad: | |
Hello, I am writing a script that is going to ping a remote host but I want the user to be able to enter in the interval and size when he runs the program. For example the user would enter this to initialize the script. [quote] ./mping -i 0.05 -s … | |
Hello all. I am only learning JSP two days.I want to change the Lookback Address of Tomcat.For example,We can change "localhost" to 192.168.0.22 in IIS Server.So,How can i do it in Tomcat Server? Thanks very much. | |
Hi, I am new to vc++. While trying to run the vc++ code i am getting the following errors. I am posting those errors and code lines where i am getting the error. If anyone knows about these errors please help me. 1)Error: Instruction Operands must be the same size … | |
I AM POSTING A SECOND TIME ON THIS. I NEED SOMEONE TO HELP!!! TO TELL ME WHERE MY MISTAKE IS: THE JPEG PHOTOS DO NOT DISPLAY CLEARLY AT ALL.... CAN YOU HELP PLEASE!!! Thank-you Kindly, Puddin ____________________ This Is My User Form Is The Error Here? ____________________ <?php include 'db.php'; … | |
Hello, When I compile the following code I get this single error: In constructor `Point::Point expected `{' before ':' token ()': I cannot figure out what is wrong. What am I missing? Thanks. Header file [code] #include <iostream> using std::cout; using std::endl; class Point { friend void setX( Point &, … | |
How can I make it so if the user hits the arrow key that the program will see it as input in a console application? I am using the Dev C++ compiler. | |
hi, when i try to run an applet, it tells me "connection refused". on some computers, the code works, and on others (like mine) i get this error message. can someone please tell me what could be the problem? thanks for replying! | |
[code] from Tkinter import* okno=Tk() okno.title('Pomoc please') platno=Canvas() platno.pack() def volana_funkce(event): print event.widget oval1=platno.create_oval(10,20,30,40,fill='red',tags='klik') oval2=platno.create_oval(50,70,80,90,fill='blue',tags='klik') platno.tag_bind('klik','<1>',volana_funkce) mainloop() [/code] how to get a name of widget if click on them?e.g i klik on oval1 and function volana_funkce will return oval1.. thanks | |
I want to use wxpython, but when I installed it python didn't recognise the module. I've looked everywhere for help but gotten nowhere so could someone help me out? | |
Helo friends!! I m having problems in understanding that how every node is added at last.Could anyone explain me this in much better manner. Well here it is.... we use a local "reference pointer" which always points to the last pointer in the list instead of to the last node. … | |
Hi I'm writing an application that should have when the aplication start working, I'm using the function of C++ "GetTickCount()", the problem is that I read that this function has a 'BUG' that after '49.7' days the function return '0'. So I'm trying to write a Custom function, I thoug … | |
Hi all I have a problem in my application when load a form, I get runtime error 7 out of memory, the applicaton works in my computer (P4 2.8 Ghz 736RAM) until yesterday, today i got that error, i did uninstall styleXP from my computer and after restart it the … | |
I have to design a program that uses Basic Math class. With the following functions and imput commands Add (Add), Substract (Sub), Multiply (Mult), Divide (Div), Exponents, ie. 2^3 (Exp), and Factorial, ie. 3! (Fact). So far I have this, i just can't figure out how to add the functions. … ![]() | |
[FONT=Comic Sans MS]comic sans ms[/FONT][SIZE=7]12[/SIZE] | |
guys,i am just a java newbie and i am really interested in studying this.i am currently using java development kit 5 and i am working on the exercises in sam java 24 hours.[url]http://www.samspublishing.com/library/content.asp?b=STY_Java2_24hours&seqNum=29i[/url] cant get to compile Saluton.javabecause when i am trying to typejavac Saluton.java in the ms-dos commandlineits giving … | |
Hi all, I have 'n' numbers between 0 and 1 .... and there sum 'S' is known .. so there are only two things 'n' & 'S' are known .... now I have to divide these 'n' numbers into two groups of (0, .5) & (.5, 1) ... I need … | |
hi, i am using elcipse in suse linux, but cant connect to mysql. if anyone uses eclipse ide in linux can you please help me to get it connected. thanks | |
I really need help in computer projects can any one suggest me where to get computer projects please send in my mail .In case you are having one please attach it and send it in my mail. Hey it is dam URGENT my school is going to open within two … | |
HI Everyone, I have recently joined this site because I cannot find help anywhere online about FileMaker Pro (without a charge, that is). Every month I import about 80 excel files from 1 file folder. In order to do so, I have to individually import each file into my database. … | |
I can run processes with system or exec, but when i try to start a GUI, the process starts but doesnt show. If i test this on comandline it shows but not on server (am using Apache,) | |
I am trying to do something in Filemaker Pro that I could do easily in Access with a subreport. I have a table with the fields (student ID, subject, course number, course name, grade, CRN, semester, credits). In one section of the report, I want to list all records with … | |
hello people :) found this site via google and its helped me a great deal so far but ive hit a snag. from this topic: [url]http://www.daniweb.com/techtalkforums/thread19672.html[/url] ive managed to create an app that will sit in the system tray and can be minimised and restroed again but the problem is … | |
[COLOR=darkred]good morning[/COLOR] [COLOR=darkred][/COLOR] [COLOR=darkred]i wrote this code to write one column from adatabase to MS Word[/COLOR] [COLOR=darkred]the document opened but nothing written in it ....only new lines[/COLOR] [code][COLOR=#0000ff]Me[/COLOR].DsStaff1.Clear() [COLOR=#0000ff]Me[/COLOR].OleDbDataAdapter1.Fill([COLOR=#0000ff]Me[/COLOR].DsStaff1) [COLOR=#0000ff]Me[/COLOR].applicationWord.Visible = [COLOR=#0000ff]True [/COLOR][COLOR=#0000ff]Me[/COLOR].applicationWord.Activate() applicationWord.Documents.Add() [COLOR=#0000ff]Dim[/COLOR] parra [COLOR=#0000ff]As[/COLOR] Word.Paragraph [COLOR=#0000ff]Dim[/COLOR] r [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Integer[/COLOR] = 0 [COLOR=#0000ff]Dim[/COLOR] details [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR][COLOR=#0000ff]While[/COLOR] r … | |
Recently I installed Visual Studio 2005 .NET on my computer. I wrote a Win32 program. But my program doesn't run on PCs that doesn't have Framework 2 installed on. Is there any settings for VS 2005 .NET to make my code run on all PCs? Or what DLL file should … | |
Hello :) , I am thinking of developing a small peer to peer fire sharing application. I need some help on starting with this project. Is there any place I can get help on the algorithms involved for implementing such a file sharing system. Any good articles or books on … | |
hello, i am using the following code to write an ip and date to a database [php]require_once "configgy.php"; mysql_query("INSERT INTO lastlogin(VisIP, VisDate) VALUES(\"".$HTTP_SERVER_VARS['REMOTE_ADDR']."\", NOW(),"); [/php] I would like to call this script in another file, and everytime the script is called, have the new ip written in. liek it is … | |
I want to generate all size 2 strings from a list of size 1 string e.g featureList = ['a','b','c','d'] gives ['ab','ac' etc] I wrote this code [code] def genC(featureList): for i in range(0,len(featureList) - 1,1): for k in range(1,len(featureList) - 1,1): if i+k <= len(featureList)-1: colocn = featureList[i] + featureList[i+k] … | |
Hello I need help I have created a application that pulls data from and is supposed to update and insert data into an access database. I have been successful in pulling data from it using first, last, previous and next buttons. However, I can't get my insert button to work. … | |
Hi all I was in need to add controls dynamically to a apanel , I did that. The problem when i want to read their values . I can't do that Adding code [CODE] For i = 1 To count Dim uu As New Unit(50) Dim hl As New Label … | |
I am needing to put a pause in between each mortgage calculation and do not know what the C equivalant of getchar() is in Java. Here is the code I have so far, after it is finished with the first mortgage at 30 years I want the user to have … | |
hey i need helpin in pipping a file and using those values in the file to work with the program. ive done the program but it doesnt read the file. can someone help me here. [code] #include<iostream> #include<string.h> using namespace std; //the cost of the toll gates const double A_GATE … | |
Hi All, If the user is to input text - alphabetic or numeric, when is it advantageous to use [I]getline[/I] rather than [I]cin[/I]? It's obviously easier to code something like [inlinecode]cin >> favoriteVacationSpot;[/inlinecode] than something like [inlinecode]getline (cin, favoriteVacatioSpot);[/inlinecode], so I don't see the advantage of using [I]getline[/I]. If anyone … | |
Hello, I think my problem is a simple one (but probably isn't) and something that I have foolishy overlooked. I have created a class (Time) with a constructor that has as its argument a 3x3 int array. It is defined in a header file as follows: [code] public: Time(int [][columns]); … | |
this code is for a login page but i have a problem with it [COLOR=#ff0000][/COLOR] [CODE] <%@ Page Language="VB" Debug="True" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.oledb" %> <script runat="server"> Sub LoginBtn_Click(Sender As Object, E As EventArgs) dim con as oledbConnection= new oledbConnection dim comm as oledbcommand = new … |
The End.