199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for l0g0rrhea

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 …

Member Avatar for iamthwee
0
217
Member Avatar for crawf

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 …

Member Avatar for crawf
0
216
Member Avatar for ethompson

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 …

Member Avatar for WaltP
0
203
Member Avatar for nsan

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] …

Member Avatar for nsan
0
136
Member Avatar for mikki2

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 …

Member Avatar for mikki2
0
2K
Member Avatar for Pacer

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 …

Member Avatar for Pacer
0
200
Member Avatar for molayos

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 …

Member Avatar for molayos
0
265
Member Avatar for thiyag2001

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

Member Avatar for hollystyles
0
206
Member Avatar for harisinghrajput

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?

Member Avatar for harisinghrajput
0
135
Member Avatar for provenshop
Member Avatar for william_stam
0
110
Member Avatar for grautu

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 …

Member Avatar for sabuj
0
181
Member Avatar for Taral

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 …

Member Avatar for Taral
0
391
Member Avatar for tarawneh

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 …

Member Avatar for william_stam
0
189
Member Avatar for vitou85

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:

Member Avatar for vitou85
0
270
Member Avatar for codergem
Member Avatar for iamthwee
0
287
Member Avatar for mcrosby

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 …

Member Avatar for kamitsin
0
160
Member Avatar for Pacer

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.

Member Avatar for lifayan
0
110
Member Avatar for angle188.shroff

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 …

Member Avatar for angle188.shroff
0
153
Member Avatar for puddin

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'; …

Member Avatar for puddin
0
169
Member Avatar for jaden403

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 &, …

Member Avatar for Rashakil Fol
0
178
Member Avatar for TMcIsaac

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.

Member Avatar for nanodano
0
259
Member Avatar for sandy183

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!

Member Avatar for sandy183
0
240
Member Avatar for Blujacker

[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

Member Avatar for bumsfeld
0
327
Member Avatar for arunachalamsa

how to delete nth row of a table through sql query? please say me thanks, Arunachalam

Member Avatar for campkev
0
120
Member Avatar for skanker

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?

Member Avatar for vegaseat
0
147
Member Avatar for codergem

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. …

Member Avatar for Lerner
0
175
Member Avatar for Omher

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 …

Member Avatar for dev.cplusplus
0
440
Member Avatar for cabp

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 …

Member Avatar for Comatose
0
2K
Member Avatar for TinchoXVI

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. …

Member Avatar for iamthwee
0
107
Member Avatar for bushlink
Member Avatar for pixeltrace

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 …

Member Avatar for jwenting
0
188
Member Avatar for lunatic11

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 …

Member Avatar for Rashakil Fol
0
86
Member Avatar for sam1

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

Member Avatar for Phaelax
0
611
Member Avatar for Vada

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 …

Member Avatar for server_crash
0
209
Member Avatar for svarghe

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. …

Member Avatar for MerryOtter
0
325
Member Avatar for brounemmanuel

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,)

Member Avatar for brounemmanuel
0
132
Member Avatar for leba

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 …

Member Avatar for leba
0
454
Member Avatar for tenbellys

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 …

Member Avatar for ilovcars
0
212
Member Avatar for DATABASE

[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 …

Member Avatar for manal
0
143
Member Avatar for AhmedHan

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 …

Member Avatar for WolfPack
0
151
Member Avatar for comp_sci_guy

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 …

Member Avatar for comp_sci_guy
0
279
Member Avatar for bobby9101

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 …

Member Avatar for bobby9101
0
222
Member Avatar for girish_sahani

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] …

Member Avatar for girish_sahani
0
73
Member Avatar for archly1

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. …

Member Avatar for JasonAnders
0
147
Member Avatar for web developer

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 …

Member Avatar for tgreer
0
127
Member Avatar for korbynlehr

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 …

Member Avatar for JasonAnders
0
268
Member Avatar for vietbong87

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 …

Member Avatar for WolfPack
0
125
Member Avatar for aeinstein

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 …

Member Avatar for Dave Sinkula
0
384
Member Avatar for jaden403

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]); …

Member Avatar for server_crash
0
1K
Member Avatar for DATABASE

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 …

Member Avatar for DATABASE
0
181

The End.