132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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++ | |
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 | |
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++ ![]() | |
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 ![]() | |
![]() | 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 … |
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 | |
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 … | |
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 | |
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 | |
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 … | |
Hi all, Does any one anyone have a site where there is a full tutorial about Java. Thanks :cheesy: Software Development java | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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. | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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, … | |
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++ ![]() | |
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. | |
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 … | |
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 | |
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 |
The End.