132,726 Archived Topics
Remove Filter ![]() | |
Hey everyone. im having issues with my for loop: basically it reads in from a file using unix redirection and stores the integers into an array, that all works fine, but i need to return the number of integers that were read in, and logically i thought [COLOR=Red]this[/COLOR] would work, … | |
that is i've got an array of buttons and i want to replace two buttons (their location on the screen) by clicking on first and then clicking on the second to replace thier location i.e. when i click on button1 first (which is at the first location in a row … Software Development java | |
Hi all, can anyone tell me whether ifs function is a member function of ifstream. in the statements below the ifs has been used like ........ ifstream ifs( g_pSystemEnvironment->GetTotAlmCountFileName() ); ifs >> m_nNoOfTotalAlarm; i am not able to understand the code. could anyone help me out of it. Thanx in … Software Development c++ | |
Hi Everyone, I need some help in saving a file in the rich text edit control i have. Basically i have one button and richedit control on a form and what i need is the contents of the entire rich edit control to be passed to the saveas common dialog … Software Development c++ | |
hai I'm again I already done my program below. the problem when i run no output appear. basically I declare 2 file . 1 for input(InTransFile) another one for input and output(InMasterFile).Both in .dat. I want to compare accno1(masterfile) and accno2(transfile). if they equal have to overwrite balance1(masterfile) and next … Software Development c++ file-system ios | |
Hi all!!! This is possibile on VBB to accsess Hardwere ? I mean if there is any command that i can read or write data from i/p port , like on c that i can use the "outport" Command. Thank's Software Development visual-basic | |
Hello all, I have almost completed a program that will take 8 numbers from a user and store it in a linked list. Once that is done It will ask for another entry and determine the location of this new entry and how many items are currently bigger than the … Software Development c++ linked-list | |
I have an Edit Box on a form. The text entered in it is stored as an AnsiString. I must pass the input AnsiString data to a function that requires a const char* as a parameter. How can I pass the AnsiString as a const char*? I would appreciate any … Software Development c | |
Im accepting a float from the user. I want to protect from him inputing a char cos it messes everything up. How do i do this? Software Development c | |
Hello, i have a rather strange request, I'm looking for someone who can produce a program that hooks into windows's input chain for a game I play and blocks the mouse up event message. Basically I need for the left mouse button to be continually pressed in whichever way is … Software Development c | |
i have four combo boxes in my form, each combo box has 2 or 3 selections i need to check each combo box for a selection, if nothing is selected i need to have a error message come up in a message box each selection in the combobox is woth … Software Development vb.net | |
Would like to have one example of complete walk thru (start to finish) of a program with afore mentioned software. Something like "first C program"! For the obvious reason...Don't know how to do so...I am at the pre beginners stage, thanks. | |
Greetings. The subject doesn't quite match the forum? :cheesy: Well, I've to develop a system in VB. It's going to be a system used by some Management people. So, as I was designing the database, I was wondering, how could I assign the type of the primary key as? The … Software Development visual-basic | |
Hi everyone. I am fairly new to Linux and I am taking a UNIX course. I have been asked to write a shell script and I am having a little trouble. I was wondering if anyone could help me. Here are my instructions -- create a script called command find_big.sh … Software Development display email engineering shell-scripting unix | |
I am writing a program to copy files from one location to another. I only want to copy the files that is not in writing mode. Here is the logic: (1) If the file is not opened (by any application), copy it; (2) If the file is opened (by any … Software Development file-system vb.net | |
I am creating a notepad application .... and I want to change the font of the selected text in the JEditorPane .... but when I change the font now ... it changes the font of the whole text .... same is the problem with background and foreground colors.... :o Software Development java | |
I need someone to help fix the following code and re-write into IF-THEN logic? [code] public class Mystery4 extends Applet{ int clickCount=0; public boolean mouseDown(Event evt,int x,int y) { clickCount++; repaint(); return true; } public void paint(graphics g) { g.drawString("Click 10 times!",80,30); g.drawString("Clicks: "+clickCount, 120,50); switch(clickCount) { case 0: g.drawString("You … Software Development java | |
I'm trying to write a program to do a Runge-Kutta algorithm for a complicated Norberg ODE, but two of my equations involve summations over small intervals (0 to 3) and summations of combinations. Does anyone know how to program these type of math equations? Thanks! | |
[FONT=Verdana]undefined[/FONT] I've open a new form & maximize it.Then again on button click event I've open a new form with small dimensions. Now,I want that the later form get disable,when I've open the second form. tell me the code for that. Software Development vb.net | |
Hi, My current Project has the following Requirements: 1. Backup the entire contents of the hard disk including Operating System as a bootable Image. 2. In case of System Failure, user should be able to perform a full system-recovery operation using the Backed up Image of the Hard Disk. I … Software Development c++ image operating-system | |
i'm having a bit of trouble as to finding out what languages sholuld i go for in making my career as a software developer , how do you compare between .net ,c++, vc++, java ,v.b , sql,oracle etc. presently i'm an under graduate and have a little knowledge of c … | |
Hello everyone.Is it possible to divert keyboard imputs to do nothing(e.g when F1 is pressed it must do nothing,when refresh(F5) is pressed ,it must do nothing etc.).If yes, i'd like 2 know how its done. ani help will b appreciated thanx in advance Software Development java | |
hi everybody i have a homework to write a program which displays leapyear it is for tmorrow pls anybody send it for me thanks in advance Software Development c | |
weight fast-post normal courier <500g RM0.80 RM0.45 RM0.65 500-999g RM1.20 RM1.00 RM1.10 1kg-4.999kg RM1.50 RM1.35 RM1.60 >=5kg RM2.75 RM2.00 RM2.65 "Base on the cost of postage above,we have to write a c program for the mailing pakage. here i have some problem about the codding of c programming.i'm a computing … Software Development c email first-post | |
Greetings. I have searched high and low for the above topic but to no avail :confused: Is it possible to add a combo box into one of the columns of a listview control? Please advise. Software Development listview visual-basic | |
Hi everyone, I've recently been having a problem with my current program. I've gotten it to work so that I can enter a word in and it will check the word to see whether or not it is a palindrome by methods of stack/queue. eg. dad "Dad is a palindrome" … | |
I've been trying for hours and still haven't been able to figure out whats the problem. I've tried many variations in the functions, but still unsure. I'm trying to make a program that changes the inputted array of names first name middle name, and last name to different format (Last … Software Development c++ | |
First off, I wanna say, I'm not a conventional student, posting homework problems. I am a student, in the fact that I am learning BASIC/Qbasic. But I'm not going to school to learn it, just kinda feeling my way around learning. If that makes sense? The main reason I am … Software Development posting-games visual-basic | |
Can anyone tell me how to write files or output to an excel file with tabs etc. Thanks, GB4 Software Development visual-basic | |
Is there a way to modify an exe file if you don't know what program the file was created in? I guess what I am asking is if there is a generic program to modify/change information within an exe program? Dennis Software Development c | |
I get errors targetting the ' that I use for each case. I tried using nothing and also quotes in their place, but no luck. Whats the problem. If this isn't the place to get help with programs, please point me in the right direction. import java.util.StringTokenizer; class Birthday { … Software Development java | |
My assignment is to write a program that produces a diamond when the user inputs an integer, if the integer is even it should be increased to the next odd number. if the number is 7, it should print: ___* __*** _***** ******* _***** __*** ___* (Without the underscores.) So … Software Development c++ | |
Hi all, I am not sure how to explain exactly what I am hoping to do here, but I will do my best in the hopes that someone will understand. I am writing a program that uses a cache, this cache is used with a thread that is seperate from … Software Development c++ | |
Guys, I need some help on programming in windows. U see I learned to program in DOS using C and C++. So I mostly used console to show output and to get input. Now as a part of my this semester's project i have to do the programming in windows. … | |
Greetings. I've just got a project to do. The project is going to be a desktop application. It has to be in VB - but I have yet to decide whether to do it with VB6 or VB.net. As I read on some of the threads in VB.net, I guess … | |
Hi there! Using the code below I am able to discover the bluetooth address of a remote host and print it on the screen. However, I would like to 'get' this bluetooth address, before printing on the screen, and store it in a text file on my PC. How am … Software Development c++ | |
I run Windows; only have Windows computers available to me. Now I need to compile a little C program for a UNIX-only web host. How can I get the program compiled so it will run under UNIX? Any help would definitely be appreciated. :-| | |
:?: can anyone explain to me a simple way to get the lowest input and the highest input From multiple inputs while also counting how many are below a certain value and avove a certain value I am at my witts end tryng to learn. I am a newbie at … Software Development c++ | |
I m new to vb programming. How do i get the details which come when we type net session on the command prompt into a vb program ? Software Development session visual-basic | |
hello, im pretty new to C and for my first project, I have to print out information about a box.(exciting...) anyway, i have the user enter the width and height of the 2d box, and then give them a menu to select from, to get info about the box, perimeter, … Software Development c | |
Hi everyone, I've been taking a class on cprogramming and have been successful up thus far. I am now learning about stacks and am having tremendous problems. I've written a program that will calculate the prime factors of numbers. The only problem is that I needed to reverse the output … | |
HI ALL, I am in big trouble, i wrote a code to conver a X25 packet to TCP/IP packet, but i dont know what is going on! i tried to debug the code and got the following statements, can any one help me in this problem ? the errors i … Software Development c++ | |
I found this functions are maybe important for some people there for i wrote this code . -------------------------------------------------------------------------- This Max() function is used to find the maximum value in a list [code] #include <iostream> using namespace std; int Max(const int *Numbers, const int Count) { int Maximum = Numbers[0]; for(int … Software Development c++ | |
Could someone give me a hint, an algorithm or a source code if you like.... for this program... I need to display and store the highest scorers in my Game.... How is that? | |
I am doing my homework right now. my program is providing 3 slider that user can choose RGB value and fill the color in rectangle. also everytime when the user slide the slider, there should be a JTextField can show the value which the user choose. my problms are: I … Software Development java | |
hi all. I submit this program done under Borland beacuse i have a problem running my second function (indicated) Plz help me. #include <process.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <conio.h> void affichage(); void affichage2(); void main(int argc, char *argv[]) { void affichage(); } void affichage(int argc, char *argv[]) … Software Development c | |
Goal: I would like to assign the content of a known function to a function pointer in LINUX environment. Problem: Get segmentation fault when running the function pointer after assignment. Procedure: 1). declare a funtion pointer. 2). Allocate memory space to the function pointer using the function' malloc' 3). Copy … Software Development c | |
I am trying to write an application for accessing IDE CD writer programatically for reading / writing files into the CD placed in CD writer. Can you please help me out in this. I would be really helpful for me if you can please send me some sample programs for … Software Development c++ ide visual-basic | |
Greetings. Can anyone please guide me on this problem? I have 2 frames. Similar to a website, the frame on the left works like a navigation menu while the frame on the right is the content part. When I click on a label on the navigation panel, how can I … Software Development visual-basic |
The End.