Our Software Development forum encompasses topics related to native application programming design and development.

43,484 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for dcving

I fixed the whole program. :twisted: . I compiled it after each step to make sure there were no errors, if so I corrected them. :mrgreen: . I do, however, have 2 questions. :?: . How do I get the highlighted lines [COLOR=Red]below[/COLOR] to center above the [COLOR=Red]****************[/COLOR] :?: And …

Software Development c++
Member Avatar for N3wbi3C0d3r
0
215
Member Avatar for kakilang

can someone explain to me what does below code do?? [PHP]keybd_event(VK_MENU,0x38,0,0); keybd_event(VK_RETURN,0x1c,0,0); keybd_event(VK_RETURN,0x1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0x38,KEYEVENTF_KEYUP,0); [/PHP]

Software Development c
Member Avatar for Narue
0
385
Member Avatar for javaLearner

hi. more or less a stupid question, but anyway.. why have a 'finally' statement in java exception handling -why not just clean up in the 'catch' clause?? is it for when an exception cannot be caught?? if not, then 'finally' seems a little redundant to me.. cheers. :eek:

Software Development java
Member Avatar for javaLearner
0
147
Member Avatar for sunny124

hi, my next button displays next record from the database. But after i save a record, next button don't work. Im not sure but is the next button not working because the resultSet needs to be refreshed after saving a new record? I have created the statement and resultSet in …

Software Development java mysql
Member Avatar for sunny124
0
128
Member Avatar for Sanirsanir

hi guys, Anybody tell me a site where free system available on C language. Thanks in Advance, Sanir

Software Development c
Member Avatar for vegaseat
0
351
Member Avatar for wewe

Hi i have a problem linking upthe files main.cpp tree.cpp tree.h and list.ct really do not know how to complie with list.ct whats the ct ? anyway inside the list.ct, are templates. it reflect linking problem.. i.e. [Linker error] [B][I]undefined reference [/I] [/B] to `Tree::cleanUp()' [B] Question:[/B] what should i …

Software Development c++ data-structure
Member Avatar for wewe
0
138
Member Avatar for tendekai

#include<stdio.h> #include<conio.h> #include<string.h> FILE *fp1, *fp2; int count; struct record { char name[20]; int empnum; char depart[20]; float hours; float rate; }; void main() { struct record h; int acount=0,adcount=0,scount=0; float grosspay,totalg=0; float tax,totalt=0; float health,totalh=0; float pension,totalp=0; float netpay,totaln=0; float deductions; clrscr(); fp1=fopen("employ.dat","r"); fp2=fopen("payrol.dat","w"); count = 0; printf(" ""Page1\n"); …

Software Development c
Member Avatar for vegaseat
0
142
Member Avatar for Dani

This might sound silly. But I'm working on a C# assignment for school right now, and I can't get a simple if-else statement to work. Isn't the syntax the same as in C++ or Java? I want to do one thing if a boolean variable is true, something else if …

Software Development .net:c#
Member Avatar for guitarded
0
431
Member Avatar for Jpowers22

Recently we have been asked to create a hybrid sort based upon quicksorting down to a certain point and insertion sorting from then on. We are to calculate the efficency based upon previous tests. I had very little problems implementing a quicksort algorithm, but for the life of me, I …

Software Development algorithm-pseudocode c
Member Avatar for subtronic
1
3K
Member Avatar for skywing

Is there a way to change the button's shape from rectangle to circle like those in Windows Media Player ? :?:

Software Development c
Member Avatar for vegaseat
0
167
Member Avatar for minnie

[B]Is it possible to convert from VB code to C and what is the best way to do this?[/B]

Software Development .net:vb.net c
Member Avatar for vegaseat
0
462
Member Avatar for jaeSun

i havent been able to find anyone to help me .... i am looking to create a queue .... i cant use a stack, as that is LIFO (last in, first out) ... but i need a FIFO (first in, first out) .... i have some code for a stack …

Software Development c queue
Member Avatar for jaeSun
1
307
Member Avatar for ray96

Hi! I had 1 problem in C, now I have another one. :o Please bear with me. I am learning the C language. Please run the following calculation in a scientific calculator. When the "=" sign is shown at the end of the calculation, be sure to press the = …

Software Development c mathematics
Member Avatar for vegaseat
0
370
Member Avatar for matika

#define ENDFILE "CTRL-Z" this end the file whenever the user enter CTRL-Z what i need, i want the user 2 enter CTRL-X to end the program #define ........ "CTRL-X" ( what could i write here) so the program end whenever the user press CTRL-X

Software Development c
Member Avatar for matika
0
202
Member Avatar for Ghost

In java, how do you input something from the keyboard - the standard way(don't import anything - or add a file) Thanks!

Software Development java
Member Avatar for Ghost
0
131
Member Avatar for perky_jing

how do i make the number of my textfileds dynamic? the number of my textfield depends on the parameter passed through the method `setDetailsPanel(int s)`. the variable s determines the number of textfield i need. i'm having this type of error. i don't seem to get the reason why. D:\Program …

Software Development java:swing
Member Avatar for perky_jing
0
1K
Member Avatar for Ghost

What's the coolest program you've ever written in regular C++, not Visual C++?

Software Development c++
Member Avatar for shouvik
0
427
Member Avatar for RobinA

hi im new to c++ (started today) and im reading a book about c++ (called C++ Programming A) Well i started to read and learned the first code and wrote it in Microsoft Visual C++ and i get a error (error C2065: 'cout' : undeclared identifier) i dont know why …

Software Development c++ first-post
Member Avatar for FireNet
1
260
Member Avatar for srthomso

Could anyone give me a hand with my mock exam, i'm on msn - [email]get_jiggy_widit@hotmail.com[/email]. I'm struggling a bit - with some of the simple things really n it's getting on my nerves. Any help would be greatly received. Thanks Steve

Software Development java
Member Avatar for srthomso
0
145
Member Avatar for RITZY_G

ANY ONE WHO CAN PLEASE HELP........ Design and write a C++ program for the problem given below. Apply the rules of good programming style by making your program modular, and using parameters and local variables in subprograms or functions. Add comments where necessary for each function. Use meaningful variable names. …

Software Development c++
Member Avatar for RITZY_G
0
181
Member Avatar for Mr A

I need some help, heh, i have to store a twelve digit number somewhere... as i've understood it nothing like unsigned int or long double or anything won't work :-/ have i missed something? or can anyone point me to anything which i can use to be able to do …

Software Development c++
Member Avatar for The Code Poet
0
255
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 .net:vb.net
Member Avatar for Eyrestes
0
167
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
156
Member Avatar for Dani

How can I read a string in from the user? For example, I am writing a console-based java application which prompt the user to enter a string and then reads that string in. What is the opposite of System.out.println? ;) System.in.readln? I can't get it to work and I'm a …

Software Development java
Member Avatar for gusano79
0
286
Member Avatar for MaxC

Hello guys, This code returns 2 errors and I dont understand why. [CODE] #include <iostream> #include <string> using namespace std; char choice; void M(); void C(); void Process(); void M(){ cout <<"Multiplication\n"; } void C(){ cout << "Calculation\n"; } void Process(){ cout << "Make a choice\n" << "C or M …

Software Development c++
Member Avatar for kc0arf
1
223
Member Avatar for onickel

Hi! Pls, somebody help me!! I'm stuck here since days. I don't know, what i'm doing wrong.

Software Development c linked-list
Member Avatar for onickel
1
125
Member Avatar for kalachylde

Hello, I need help with me homework. It's probably something simple. My program is supposed: 1) read lines from a file (rain.txt) 2) find the shortest and longest lines (I used strlen()) 3) return the line number of shortest and longest and well as their length 4) show the avg …

Software Development c++
Member Avatar for kalachylde
0
191
Member Avatar for Ronnie

I have two classes. The first collects input data and calls a second class for inputing data from a file. After the data is read I would like to use it inother classes but am having problems getting the data back. To save space I will only show part of …

Software Development java
Member Avatar for Ronnie
1
181
Member Avatar for Transworld

[color=black][font=Times New Roman]If anyone still knows Qbasic could you take a look at this code for me?[/font][/color] CLS READ nam$, addr$ DO UNTIL nam$ = "END OF DATA" PRINT nam$, addr$ READ nam$, addr$ LOOP DATA ANNE DOE, 1234 BAKER ST., BRUCE LEE, 457 HIGH ST. DATA HOPE SEW, 222 …

Software Development qbasic
Member Avatar for Transworld
0
702
Member Avatar for spikes

Hi All, I'm haveing some problems with my perl code. the script is for a mail filtering program called mimedefang, the code is the main filter. the fist bit of code is used to filter out mail based on the subject line. sub filter_begin () { my($msgSubject, $hfile) = @_; …

Software Development perl
Member Avatar for spikes
0
312
Member Avatar for keir.whitlock

hi there, i am trying to get my program to display a different bitmap in four different child windows of my win32 C program but i cant seem to do it. Any idea's? I have got the information so far off of the forgers win32 tutorial. [CODE] #include <windows.h> #include …

Software Development c
Member Avatar for Dani
0
449
Member Avatar for BountyX

Does anyone know of a good way to prevent a process from being hooked by another, or at least by detecting the hook?

Software Development c++
Member Avatar for Aaerox
0
681
Member Avatar for Turbo

HI I have written a program that reads text from the input file and writes the text to the out put file. Im using the StringTokenizer to count the number of words in the input text file. The problem is that it reads only the first line but it does …

Software Development java
Member Avatar for Turbo
0
222
Member Avatar for aeinstein

does 1 need to learn Java b4 pickup up Java 3D, or is a) Java 3D more of an IDE, or b) is it akin to Java's relationship w/Javascript - basically none?

Software Development java:jsp
Member Avatar for samaru
0
302

The End.