132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nufanvandal

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

Software Development c unix
Member Avatar for nufanvandal
0
117
Member Avatar for jim1

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
Member Avatar for jim1
0
111
Member Avatar for psk

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++
Member Avatar for Dave Sinkula
0
220
Member Avatar for freesoft_2000

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++
Member Avatar for meabed
0
246
Member Avatar for nita

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
Member Avatar for FireNet
0
132
Member Avatar for Cobrab

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
Member Avatar for Cobrab
0
150
Member Avatar for silicon

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
Member Avatar for Chainsaw
0
392
Member Avatar for Helter

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
Member Avatar for Helter
0
150
Member Avatar for sroberts82

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
Member Avatar for Dave Sinkula
0
155
Member Avatar for Preston

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
Member Avatar for Preston
0
81
Member Avatar for salating

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
Member Avatar for Eyrestes
0
155
Member Avatar for timetogo

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.

Software Development c c# c++
Member Avatar for timetogo
0
88
Member Avatar for red_evolve

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
Member Avatar for mnemtsas
0
423
Member Avatar for tccummings

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 …

Member Avatar for tccummings
0
237
Member Avatar for xinhua

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
Member Avatar for xinhua
0
228
Member Avatar for nanosani

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
Member Avatar for Pogo
0
127
Member Avatar for puffercc

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
Member Avatar for puffercc
0
143
Member Avatar for ellisrn

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!

Software Development algorithm c++
Member Avatar for meabed
0
175
Member Avatar for mohansameer

[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
Member Avatar for Tekmaven
0
158
Member Avatar for Sriram

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
Member Avatar for meabed
0
337
Member Avatar for animesh

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 …

Software Development c++ career oracle sql
Member Avatar for freesoft_2000
0
141
Member Avatar for teritori

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
Member Avatar for teritori
0
105
Member Avatar for yadi

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
Member Avatar for alc6379
0
146
Member Avatar for acidburnt

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
Member Avatar for Killer_Typo
0
125
Member Avatar for red_evolve

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
Member Avatar for red_evolve
0
1K
Member Avatar for silicon

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

Software Development c++ display ios queue
Member Avatar for silicon
0
318
Member Avatar for boi86

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++
Member Avatar for Fili
0
153
Member Avatar for MoNkEe

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
Member Avatar for Puckdropper
0
218
Member Avatar for GB4mytime

Can anyone tell me how to write files or output to an excel file with tabs etc. Thanks, GB4

Software Development visual-basic
Member Avatar for mnemtsas
0
172
Member Avatar for dennis_89

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
Member Avatar for bentkey
0
92
Member Avatar for tgraves

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
Member Avatar for gusano79
0
203
Member Avatar for mrlucky0

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++
Member Avatar for mrlucky0
0
140
Member Avatar for liliafan

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++
Member Avatar for liliafan
0
146
Member Avatar for Asif_NSU

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

Software Development c++ image
Member Avatar for Asif_NSU
0
101
Member Avatar for red_evolve

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 …

Software Development asp google vb.net
Member Avatar for cypher
0
192
Member Avatar for labamba

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++
Member Avatar for labamba
0
217
Member Avatar for RaftingBear

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

Software Development c unix
Member Avatar for alc6379
0
104
Member Avatar for newbeginney

:?: 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++
Member Avatar for newbeginney
0
214
Member Avatar for HiTleR83

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
Member Avatar for cypher
0
117
Member Avatar for nufanvandal

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
Member Avatar for red_evolve
0
276
Member Avatar for silicon

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 …

Software Development c++ display
Member Avatar for Chainsaw
0
509
Member Avatar for linu_soft

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++
Member Avatar for Chainsaw
0
171
Member Avatar for meabed

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++
Member Avatar for Dave Sinkula
0
437
Member Avatar for datk0m

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?

Software Development algorithm c display
Member Avatar for meabed
0
70
Member Avatar for nicole_adachi

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
Member Avatar for WannaBe
0
271
Member Avatar for datk0m

Hello! I'm just a beginner in C Programming. I just want to ask for some help here! I need to input a number 10, 20 or 0 If I entered a number 100, 2000, or 0000 that will be invalid... There should only be a limit of two characters..... and …

Software Development c display
Member Avatar for red_evolve
0
154
Member Avatar for awmp-jansen

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
Member Avatar for Dave Sinkula
0
130
Member Avatar for Richard Wong

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
Member Avatar for Chainsaw
0
82
Member Avatar for MADHAVI

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
Member Avatar for MADHAVI
0
176
Member Avatar for red_evolve

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
Member Avatar for red_evolve
0
142

The End.