132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JoBe

Hello ladies and gents, I'm trying to do another exercise from Accelerated C++ in wich I have to write a program to count how many times each distinct word appears in its input. What I have untill now is this, [code] int main() { vector<string> theWords; string aWord; short count; …

Software Development c++
Member Avatar for JoBe
0
266
Member Avatar for rajuwani121

I have a project in C while i need connect with the databse using turboc C? plz help me in this regard.

Software Development c++
Member Avatar for jwenting
0
206
Member Avatar for jigvesh

I am trying to develop an application in which i need to open an internal frame in a simple frame......with the click of a menu......is it possible????How?????The internal frame does open in a new frame but doesnot open in the same frame....what can be the reason......... :cry:

Software Development java
Member Avatar for server_crash
0
114
Member Avatar for fevershark

these are the instructions for the program. > Prepare the Fraction class as we discussed in the classroom. It should include three constructors -- one with no parameters and which creates the fraction 0/1, one with one parameter numer and which creates the fraction numer/1, and one with two parameters …

Software Development c++
Member Avatar for iamthwee
0
375
Member Avatar for muthuivs

Anyone know what function will copy contents from one folder to another, I know the source folder and the destination aso I dont have to use the mkdir. Any Ideas?

Software Development c
Member Avatar for iamthwee
0
135
Member Avatar for iamthwee

Hello every1, My assinement is like so. I need to write a program which accepts a word at input and then checks to c if it is a palindrome. My teachers says that it must be dun using stacks :rolleyes: otherwise we won't get any marks. I have no idea …

Software Development gui java
Member Avatar for jwenting
0
230
Member Avatar for adil_uk

I'd like to create a "shell script" that ease and simplify the use of "Sort" command. Well my shell script should cover the use of " -b -d -f -n -r "options. also my script should do the following: -allows both relative and absolute pathname arguments -process either filename arguments …

Software Development shell-scripting
Member Avatar for atanu_amd
0
119
Member Avatar for K_te_J

I am converting some code from C into delphi pascal and have come to a brick wall. As my understanding of C is quite limited i am unsure of what '%*.*ld' is doing or how to do the same thing in Dephi. The full line is a bit long to …

Software Development c delphi pascal
Member Avatar for Narue
0
451
Member Avatar for MikeDirnt

Hi Can anyone help me with this. Im new to doing scripts. Thanks I am writing a simple script to cd to another directory. But the directory does not change after running the script. How can i make the directory change after running the script? operator@tiger013s% pwd /export/home/tiger013s/operator operator@tiger013s% more …

Software Development shell-scripting
Member Avatar for jim mcnamara
0
181
Member Avatar for BaileyFree

hi I have some problem.. for instance i have a String s= blue it maybe another string of yellow red whatever how do i convert that b to B i only read about s.charAt(0) to get the first letter ..

Software Development java
Member Avatar for jwenting
0
158
Member Avatar for Poornima

hi guys, I'm a new member. By the way, I had an error that showed up on my jdbc program that connected to oracle. It showed 'java.sql.SqlException'. When I looked up on it in a book called Oracle8i Complete Reference, it told me that I could set my environment variables …

Software Development java oracle sql
Member Avatar for Kate Albany
0
189
Member Avatar for Croft .L

Hi all, Does any one anyone have a site where there is a full tutorial about Java. Thanks :cheesy:

Software Development java
Member Avatar for jwenting
0
131
Member Avatar for taha umar

[COLOR=DarkOrange]wat is the difference b/w ponters and strings?[/COLOR] :sad:

Software Development c++
Member Avatar for ITgeneration
0
332
Member Avatar for kharri5

So I have to make a UNIX shell that can basically take in any UNIX command and then keep a record of the time each process took, by forking off children processes, recording their time, and recording the parent's time, and then return that time into a linked list or …

Software Development c++ linked-list unix
Member Avatar for kharri5
0
164
Member Avatar for yoshi4483

I'm trying to write a pseudocode for finding the area of a trapezoid. Is this right? THIS IS THE GIVEN INFORMATION Write a Fortran 90 program to compute the area of the trapezoid. Upon execution of the program, the user (you) will be prepared to provide the lengths of the …

Software Development c
Member Avatar for yoshi4483
0
219
Member Avatar for btech

I have a question about hashing. If you have a hash table that is 101 in size. and the items are inserted into the table using quadratic probing. I want to insert a new item with address 30. If position 30 in the hash table is occupied and the next …

Software Development c
Member Avatar for Narue
0
116
Member Avatar for Acidburn

Hello, I'm trying to get an OOP MFC application working, so far it complies and everything but nothing happens. And I cant work out why. I would post code snippets but the simple fact is the MFC lib is far too big for that stuff. I've zipped up my project …

Software Development c++ first-post gui oop
Member Avatar for Acidburn
0
379
Member Avatar for Katrix36

Hi all, I'm making a on-screen keyboard, for a group of disabled students. I've managed to complete the keyboard but i'm wanting to have an option to set the level of transparentcy. At the moment the alphablend value (the level at which the form is transparent) is set to 150. …

Software Development pascal
Member Avatar for pty
0
185
Member Avatar for csthiang

[IMG]http://vedium.net/java.jpg[/IMG] I have an array in a.java, den b.java is suppose to collect data and put inside the array in a.java. den I need c.java to read from the array to see wad b.java has entered. If i use "a ent = new a;" I would get a blank array …

Software Development java
Member Avatar for hooknc
0
160
Member Avatar for katharnakh

how to add a seperating line between menubar and toolbar in Python using Tkinter. is that possible using Tkinter. also how to add vertical seperating line to seperate toolbar buttons in toolbar. please help me out from this problem.

Software Development python tkinter
Member Avatar for katharnakh
0
2K
Member Avatar for balabhaskar

hello everybody, Plz Help me............. using System; using System.Runtime.InteropServices ; using System.Data.Common ; using System.Threading; namespace UdayChat { /// <summary> /// Summary description for MyClass. /// </summary> public class MyClass { public MyClass() { } public struct x25Data { public string Xd_Data; public int Xd_Len; } public struct x25doneinfo { …

Software Development c# first-post
Member Avatar for balabhaskar
0
117
Member Avatar for chaitanya.b

hi frieandz I am chaitanya, I am new to this forum, well I am posting my first thread to this forum, please reply to this with an answer, I got a string called "helloworld" I want to swap the two words in that string an di want to print it …

Software Development c++
Member Avatar for Ancient Dragon
0
148
Member Avatar for Steko

I've got a problem with replacing letters for a specific vector, stored in a file. The first file contains a list of "x = 0000101" like entries. The second file contains the target words in the 15th colom. I tried to use a dictionary containing the data of the first …

Software Development python
Member Avatar for Steko
0
411
Member Avatar for Lothia

Well this program is suppose to not accept anything but s, S, r, R, p, P, or q, Q. When some one enters anything whether it be those or somethign different the while loop continues (it won't let me escape) Well any ways here it is. [code] #include <iostream> #include …

Software Development c++
Member Avatar for jwenting
0
193
Member Avatar for sam1

hi everyone, iam trying to connect to server here is the code for connecting: [CODE]public void CONNECT_TO() { int port=200; if(t1.getText()=="") serv="localhost"; else serv=t1.getText(); try { port = Integer.parseInt(t2.getText()); } catch (Exception e) { } try { c_s = new Socket(serv, port); l3.setText("Connected to server " +c_s.getInetAddress()+":" +c_s.getPort()); form F=new …

Software Development java
Member Avatar for jwenting
0
106
Member Avatar for mfmalik

Hi, I want to access folder on a remote server in a LAN. I just need to access data from there. The script needed to run and create report on server it is resident only data needs to be accessed from other server. Please anyone can help? I have no …

Software Development shell-scripting
Member Avatar for mfmalik
0
143
Member Avatar for muthuivs

Good Day, As u can see I have been away from programming for a while and I have a task that desperately needs me finsh a program. I am trying to use the rename(arg1,arg2),feature of c to rename files on the system. Since the path to these files are long …

Software Development c
Member Avatar for muthuivs
0
971
Member Avatar for topito2

I am trying to download some applets for my physics class (my students like applets a lot) and cannot download them because I don't know how to interpret the tag CODEBASE="." The web page source code looks like this: -------------------------------------- <applet code="Lab.class" name="Lab" archive="Lab.jar" codebase="." width=640 height=440> <param name="simulation" value="single …

Software Development java
Member Avatar for topito2
0
139
Member Avatar for SkyFlyer1312

I need some help with the following assignment. I think I'm pretty close, but I'm missing something. Any help is very much appreciated. Assignment: [I]Part 1 : "Create a function template called average(). It will accept two arguments of the same type and computes the arithmetic average. The average is …

Software Development c++ display
Member Avatar for Ancient Dragon
0
160
Member Avatar for tristan17

Hi, I admit i'm a complete newbie in perl although i have been invloved in php : ) hope somebody can help me out with this I want to run a simple perl scrip : [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; $request_method=$ENV{'REQUEST_METHOD'}; print "request method:",$request_method,"<br>"; print "O.K.!";[/CODE] but it shows this error …

Software Development apache perl
Member Avatar for tristan17
0
95
Member Avatar for ilikerps

Hello, I am trying to move data from a client to a server, and save it in a file. However, I am getting a "Runtime Error!" when I use the substr() function, here: [CODE]char buffer[256]; int sr = recv(acc, buffer, sizeof(buffer), 0); string buffStr = buffer; outfile << buffStr.substr(9,buffStr.size()-1) << …

Software Development c++ client-server
Member Avatar for ilikerps
0
233
Member Avatar for udayshelar

Hi Friends I am Doing Application to interface with the x25....... The Company Eiconcard provided the sample code but that is in c language. I want to develop it in c#. Below I write the Code which is equivalent to c Language code but its not working properly. Plz Help …

Software Development asp first-post
Member Avatar for balabhaskar
0
154
Member Avatar for server_crash

I have a matrix class which there are matrix objects. I want to call `.value(int,int)` directly on the matrix objects and set the internal 2d vector to the value on the right side of the equal sign. Here is what I want to do: new_matrix.value(row,col) = 0; Here is what …

Software Development c
Member Avatar for SpS
0
162
Member Avatar for johnroach1985

Hi.I have been trying to write a simple program that teaches how to read and write Japanese.Unfortunately not every windows does not support Jpanese characters.So like when my program starts I have a pop up which has to give a japanese chared message altough I write the code as such …

Software Development c c# c++
Member Avatar for AhmedHan
0
390
Member Avatar for Reuben98

Hello, I am writing a java program that reads a flat file and process each record. I am maintaining a counter that keeps track of the record/ line being processed. I want to print this counter on the monitor screen. Using System.out.printf("Processing Record: %d\r", counter); is printing the the required …

Software Development java
Member Avatar for Reuben98
0
127
Member Avatar for sosy2001

Hello Everyone, I am a very green programmer, lol, and I really need alot of attention right now. My assignment consists of me writing simple codes, but I just cant figure this out out. > Question: > > > write a program using a function and a series of if/else …

Software Development c++
Member Avatar for sosy2001
0
147
Member Avatar for nanosani

How can I prevent a registry key from deletion ?? I want to have my application store passwords of the users in a registy key ... so I want to prevent users from deleting the registry key manually.

Software Development
Member Avatar for f1 fan
0
250
Member Avatar for kryptolite

i have to make a simple calculator program in c++ the program need to have the all the calculation in a function called do_next_op. i tried to make this program but it turns out that my program returns incorrect results, i think it may be caused by the value of …

Software Development c++
Member Avatar for SpS
0
252
Member Avatar for Twins_effect

How do you make an insertion sorting algoritm using a liked list, first of all, i really dont have the slightest idea about link list, can anyone pleeeeeeeeeaaaaaaase help me.... :?: :?: :?: :?: :?: :cry: :cry:

Software Development c++
Member Avatar for SpS
0
254
Member Avatar for EricDLeh

I need some help using Visual basic 6.0 to read the computer's clock and use it to execute a command at a specific time of day. I am using the computers parallel port and visual basic to control a stepper motor and I need the motor to turn on at …

Software Development visual-basic
Member Avatar for Comatose
0
316
Member Avatar for ScottMatthews

I am new to Visual Basic 6.0 and need help with the DataGrid control. I am trying to: 1. Have data in one of the grid column's that is in "lower case" forced to "upper case" I have tried using the Before Update event, but cannot get it to work. …

Software Development display visual-basic
Member Avatar for Comatose
0
105
Member Avatar for YoTaMiX

Hello to you all , i have recieved an assignment to build a recursive function which will recieve an array which has to check if it is "Up&Down" from both sides : Example : 2 5 6 12 7 5 2 . according to the specs of the H.W assignment …

Software Development c++
Member Avatar for beuls
0
143
Member Avatar for LiBOC

There are two things which I didn't or could not achieve with using maths.cos() from Java. First - When I calculate cos90 or cos270, it gives me absurb values. It should be 0. Meaning it cannot calculate if the angle lies on X axis. I tested with 91 or 271, …

Software Development gui java
Member Avatar for LiBOC
0
2K
Member Avatar for sinrtb

Havent written any code in along time but took up a little project that requires some C++ , Just need a little help getting started. Does any one have the source code for a program that will Read file write what it reads to another file. Pick out specific tokens …

Software Development c++
Member Avatar for iamthwee
0
204
Member Avatar for N[e]tt[e]

anyone can teach me about JComboBox ?? i nid to know how come my program .. 1) if i don't click anything on my JComboBox, how the system going to capture the default value? it returned a "null"

Software Development java
Member Avatar for N[e]tt[e]
0
161
Member Avatar for indianscorpion2

hi everyone, i am looking for a brief introduction as to what exactly is jdbc and how do i install and use jdbc drivers with oracle 9i. and how shoud i write a code to execute queries on the tables in my oracle 9i database.

Software Development java oracle
Member Avatar for ramamoorthy
0
145
Member Avatar for Chipsncoke

What is the advantage of writing the button as a seperate class. Like [CODE]private class button implements ActionListener { public void actionPerformed (ActionEvent e){ { }[/CODE] chipsncoke

Software Development java
Member Avatar for N[e]tt[e]
0
131
Member Avatar for WittyFool

Quick question while learning C++: Say you have class A, you can instantiate an object of class A like: A a; And then you can do stuff with that class (eg, a.method(), etc.) But you can also do: A a = new A(); And do stuff with that, and delete …

Software Development c c# c++
Member Avatar for kon_t
0
139
Member Avatar for masa

Hi evryone I using MVC++ and built my project using Win32 app. My program do not have any interfaces. it reads files and it put the output in another file. ( I do not mind put interface only to enter the path) the thing is I made my program read …

Software Development c++ user-interface
Member Avatar for kon_t
0
171
Member Avatar for ilikerps

Hello, I know this is probably a very elementary answer, but how does one convert a character into a character pointer, for use strcpy()? For instance, I need this: [CODE] char sendBuffer[5]; char ch; // assume code in between makes ch something strcpy(sendBuffer, (char*) ch);[/CODE] However, the console window that …

Software Development c
Member Avatar for ilikerps
0
159

The End.