132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for uknown2

Hi, I am trying to do a hotel system where i have written up this code, however i was wondering if the there was a way to make the main program simple. So what im trying to do is the code that ‘Views All rooms’ and ‘Adds customer to room’, …

Software Development java
Member Avatar for bguild
0
2K
Member Avatar for surendrak223

I have to access a java swing application which is on server machine from a java web application Please help me. I have to send few attributes tu Gui apps and in turn retrieve result from that..

Software Development gui java java-swing
Member Avatar for Whatever123
0
543
Member Avatar for ralph.d.abernathy.1

Hello all. I wrote a program that gives me 100 random values from the range between -100 to +100. How am I supposed to find the minimum, maximum, and average of the values that will be listed when I run the program? I appreciate the help anyone can give me. …

Software Development c++ mathematics
Member Avatar for tinstaafl
0
3K
Member Avatar for monching

Hi, Using button, How to undo the last click event?

Software Development vb.net
Member Avatar for tinstaafl
0
2K
Member Avatar for emaellie

Hi guy, I have been teaching myself how to write C programming code, right now am learning the Round Robin Sheduling algorithm, below is the code that i have managed to write, its the basic but i could do with your help or your direction with how to do the …

Software Development algorithm c
Member Avatar for emaellie
0
249
Member Avatar for Superfreak3

Hi there, Years ago I posted in an InstallShield forum to see how I can detect if a patch has been applied on a particular machine programmatically. We have an update utility that will fire a Myapp.msp if it is detected in a particular folder. What is happening is that …

Software Development c++ file-stream
0
113
Member Avatar for chocolatte.lavista

hello guys ! I need some help.. "assume that the process happen in some restaurant. there are seat1 until seat10 in the restaurant. the customer(user) need to enter the seat number to select the seat that they want. the seat that have been selected by customer will remark by 'reserved' …

Software Development c c# c++
Member Avatar for tinstaafl
0
283
Member Avatar for TheBrick

Hello, I'm having a play with Qt and can draw what I want, perform transforms, more the origin with a translation but would like to know how big the area I have to paint on is and is it possible to control this. I've read the entries for things like …

Software Development c++ qt
Member Avatar for TheBrick
0
1K
Member Avatar for laosland_1

I'm having issues with some code that I'm writing for a class homework, which is to write a simple shell for linux. I was wandering if anyone knew a way to convert a char* to a char** in a better way that what I am using. Currently I'm accepting in …

Software Development c
Member Avatar for laosland_1
0
3K
Member Avatar for sureshspeaks

Hi im an infant in perl scripting, Can any body help me in writing the code snippet for my need to parse xml file. i have an xml file which will have tag x,y,z repeating with different values through out the xml start and end tag, i need these different …

Software Development perl xml
Member Avatar for DoRight
0
356
Member Avatar for EliteNMC

Hello, I want to make an application that can change the arrays of bytes, I want something that could look like this: If Button1.Enabled then arrayofbyte1("2g 7a 13") changes to ("a3 f7 11") Else arrayofbyte1("a3 f7 11") changes to ("2g 7a 13") I hope you understand what I want to …

Software Development vb.net
Member Avatar for tinstaafl
0
198
Member Avatar for TIM_M_91

OK so what I want to do is create an infinite loop scanner that will add up all the values from the previously entered values which will then produce after each entered number the total value. How do I do this?

Software Development java
Member Avatar for IIM
0
636
Member Avatar for harshi414

i have an integrated project to build a robot and direct its path via C language im reallly out of this field ! can u just tell me with an idea of basic functioning ! i know this is a c# forun ! but ill be glad if you can …

Software Development c
Member Avatar for Ancient Dragon
0
272
Member Avatar for uknown2

I would just like to know what is the difference between a CONSOLE APPLICATION and Windows Application in netbeans??

Software Development gui java
Member Avatar for stultuske
0
221
Member Avatar for musikluver4

Just a curious question, not important really. More for a discussion. Isn't using int i = 0; boolean count = false; pretty much the same thing when flagging? I mean when something goes right, change i = 1; count = true; and get the same result. What's the advantage of …

Software Development java
Member Avatar for stultuske
0
301
Member Avatar for fsefsef23

I'm making a calculator that performs operations sequentially (from left to right, not precedence), using ASP.NET/C#, but I'm having trouble trying to get the loops going through the input box string in my code behind. Obviously to me the logic seems to make sense, but for some reason, I get …

Software Development asp.net c#
Member Avatar for ddanbe
0
325
Member Avatar for singularity~

When I run my makefile I get this error: ** No rule to make target `videofeatures.cpp', needed by `videofeatures.o'. Stop. Here is my makefile CC = gcc CPP = g++ CFLAGS += BIN_DIR = ../bin INC_DIR = ../include LIB_DIR = ../lib INCL = -I$(INC_DIR) `pkg-config --cflags opencv` LIBS = -L$(LIB_DIR) …

Software Development c++
Member Avatar for singularity~
0
310
Member Avatar for somjit{}

code for : Percolation using Weighted Quick Union Find Algorithm. this is a homework assignment. iv made the code do what its supposed to do, and it works perfectly. The only problem im facing now is to model the code structure according to the given API. when i try to …

Software Development algorithm api java
Member Avatar for somjit{}
0
299
Member Avatar for terrier_unknown

Hi guys. Now the reason why i am writting this is because i ve spent days searching the web and not finding the answer i want. I know that is it hard to find such an answer but i hope i ll find it here. I started programming 3 months …

Software Development career
Member Avatar for AleMonteiro
0
208
Member Avatar for himgar

I want to change the color of the text in c++. I am using Turbo c++ 4.5 and Windows XP. I have used that textcolor(14) type code but it didn't work. It says : Call to undefined function "textcolor" in function main I have included header files iostream.h, conio.h, windows.h, …

Software Development c++
Member Avatar for renel.c.allauigan
0
4K
Member Avatar for craig.durnin.1

Hi there guys. Literally I have been asked this question; "The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8, 13, … ; the first two terms are 0 and 1, and each term thereafter is the sum of the two preceding terms – i.e., Fib[n] = Fib[n – …

Software Development c c# c++
Member Avatar for craig.durnin.1
0
7K
Member Avatar for MRehanQadri

If p is a pointer pointing a node to be deleted, then what's wrong in the following code: cout << "Do you want to delete this record? (y/n) "; if (getch() == 'y' || getch() == 'Y'){// Delete record. if (p == *ph){//If first node is to be deleted. *ph …

Software Development c++ linked-list
0
82
Member Avatar for TIM_M_91

So what I want to do is extend my class 'TheTemplate' from my 'Squarer' class and override my abstract methods which will change the method 'isEnd' from 12 to 20. How do I do this? Code can be seen below: public class RunTemplateExample { public static void main(String[] args) { …

Software Development java
Member Avatar for stultuske
0
303
Member Avatar for mc3330418

Hey All! This isn't an important qusetion just an I don't get it question. So, this is out of my book....this is a default constructor clockType(); Ok. This is a constructor with parameters clockType(int, int, int) Thats all fine and good. Here is my quesiton. The default constructor is basically …

Software Development c++
Member Avatar for mc3330418
0
146
Member Avatar for Diamond3x

I am a beginner in C++ and trying to learn it. I have a problem with this program. #include <iostream> using namespace std; int main () { int FirstNumber = 0 ; int SecondNumber = 0 ; cout << " This program will help you multiply two numbers " << …

Software Development c++
Member Avatar for asifalizaman
0
362
Member Avatar for sami youssef

how convert from decimal to binary number using c++ language?

Software Development c++
Member Avatar for rubberman
0
152
Member Avatar for ellenski

I am learning about compilers right now and search for a source code in C as my guideline to better understand how it works. I found this online from this link [Click Here](http://www.programmersheaven.com/download/16060/Download.aspx) and the code is quite long. Even there are comments in the code, I still find it …

Software Development c file-stream legal
Member Avatar for deceptikon
0
310
Member Avatar for StefanRafa0

somebody know how to make the text which is in the text field on click to disapear ex: If saying "Search" when ill click on the text field the text to disapear and i can write ... Thanks ! :)

Software Development java
Member Avatar for bguild
0
439
Member Avatar for Hyshien

Hello, I am Shien from Malaysia Good to meet you all here I found some problem when doing my final year project Now, I am doing a security system with using PIC18 My project is like this Sensor (digital sensor) detected -> signal send to my PIC18, then I want …

Software Development c++
Member Avatar for Hyshien
0
99
Member Avatar for Chan23v

**Hello people** I am in need of help with part of my program... **How can I edit a element in my percent list?** I want the user to be able to change the percentage (that is aready there) so that it can ... update, and then be sorted it... void …

Software Development c++
Member Avatar for Nutster
0
197
Member Avatar for can-mohan

hi, I have doubt about virtual function behaviour in below code snippet. As per my understanding class derive2 didn't override the virtual function fun() , so it is obvious that its object can't be assigned to the Base class pointer *p and even individually we can't instanciate the object of …

Software Development c++
Member Avatar for can-mohan
0
175
Member Avatar for aderogba08

I'm making a calculator, and I want the question(text) to shift the left when the textbox is full. So as you type, it shifts to the left(only when the textbox is full) to make the newly typed question visible. In a normal textbox the text shifts to the right making …

Software Development visual-basic
Member Avatar for aderogba08
0
136
Member Avatar for syfr

Hello. I'm a complete Python beginner and I'd like to know how to add a fail-safe to your code so that the script is stopped after a certain phrase or key combination has been given as input. To explain further, I'm playing around with a Raspberry Pi at work. I …

Software Development python raspberry-pi
Member Avatar for Gribouillis
0
961
Member Avatar for Zaina jee

I am new to filing and have not much idea about it. I have written a code that tries to read an ASCII .pgm file named pic.pgm and writes it as mypic.pgm file: #include <fstream> const int MAXHEIGHT=221; unsigned char *bitmap[MAXHEIGHT]={'\0'} ;// pointers to each pixel row int main() { …

Software Development c++ ios
Member Avatar for Zaina jee
0
634
Member Avatar for herious89

I'm trying to extract the value of the coeffecients and the exponent from a polynomial. I have already succeeded in extracting the coeffients using strtok. I applied the same concept to find the exponent, but I don't know how to use strtok to extract the string AFTER the delimiters or …

Software Development c
Member Avatar for rubberman
0
928
Member Avatar for connor.wells.7946

For this assignment due **3/4/2013**, I have to write a program to read in and evaluate a post fixed expression. I also have to print out the expression read in followed by the results of the evaluated expression (while handling the add, subtract, and multiply operators) and handle multi digit …

Software Development c++
Member Avatar for rubberman
0
386
Member Avatar for helixkod

I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string. So for example my XML file is: <TEST> this is a string </Test> I would want a string …

Software Development c++ xml
Member Avatar for helixkod
0
1K
Member Avatar for MRehanQadri

We cannot use constructors if we want that whenever a pointer is declared, it should be NULL. Am I right Sir? if I declare student *head, *tail, where student is a class, can I make my pointers automatically make NULL using default constructor?

Software Development c++ oop
Member Avatar for Moschops
0
171
Member Avatar for J-P1988

Hey I have an code in Qt that is an QPushButton is hidden at start of the cpp but later i want to get it appear when the file is open and an line is readed but the problem i get an segmentation fault. Can be because the setHidden(true) in …

Software Development c++ qt
0
140
Member Avatar for DryGoldFish

Hi all, I'm trying to make a form wich can make new users in a Access database. However, usernames can't be duplicate, but I can't seem to get the code to work so users can't enter 2 of the same entries. Can anyone help? Private Sub btnAanmaken_Click(ByVal sender As Object, …

Software Development vb.net
Member Avatar for ShahanDev
0
150
Member Avatar for joel.blundell.5

I'm trying to do my Computing coursework, and every time I try to write an UPDATE statement in SQL, it tells me there is a syntax error in the statement. The connection is set up, I know, as other SQL statements like select statements work, but I can't work out …

Software Development vb.net
Member Avatar for ShahanDev
0
196
Member Avatar for tin.marcelino

Good day, I would ask for your help, my code below is giving me an error whether I open my new window(application/form?) resulting to appearance of the error "Object reference...." first before the said application. What is the problem in this codes? Thank you for your help. =) Private Sub …

Software Development vb.net
Member Avatar for ShahanDev
0
196
Member Avatar for ImZick

i need some help how can you save the item in my textbox to the access database? For example i have Firstname.Text Middlename.text Lastname.text if i click the add button it will save it to my access database and also if i want to edit it and update it, how …

Software Development microsoft-access vb.net
Member Avatar for Reverend Jim
0
233
Member Avatar for nah094020

Ok so am writing a program that simulates a computer system.The cpu and memory will be forked making memory a child process and cpu athe parent and i will be using pipes to let them exchange informatino. I am really lost tough on what to do next, i have loaded …

Software Development c++ motherboards-cpu-ram
Member Avatar for rubberman
0
263
Member Avatar for StefanRafa0

how do i make to play sound in my program after turning on i tryed some codes but the song doesnt start ... I maked the song into 10 secounds but still cannot start. anyone help ?

Software Development java
Member Avatar for stultuske
0
182
Member Avatar for handsomelaw

write a program which display a restaurant menu, then ask the user to select a choice from the menu. Using the switch statement select the user choice. printout the choice the user slected and the bill amount.Include in the bill a 16.5% tip and 8.25% sales tax.

Software Development c c# c++
Member Avatar for rubberman
0
114
Member Avatar for javauser1512

import java.io.*; import java.util.*; class Q9 { public static void main(String args[]) { int a,b,c; System.out.println("\n\t Enter the value of A,B & C "); Scanner sc = new Scanner(System.in); a = sc.nextInt();b = sc.nextInt(); c = sc.nextInt(); System.out.println("\nLargest = "+func(a,b,c)); } public static int func(int a,int b,int c) { if((a>=b)&&(a>=c)) …

Software Development java
Member Avatar for Starstreak
0
319
Member Avatar for sugarzzzz

I have a minelist[0,15] for a board 4 height and 4 width every elemnt in the board is a zero so it looks like [['0','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','0']]now if I mines X in 0,15 it would look like [['x','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','x']] now whereever the mines are touching it is …

Software Development python
Member Avatar for woooee
0
123
Member Avatar for pxmur76

Hello, I'm new to Java and GUI programming. I've just created my first simple GUI app which finds the appropriate FedEx zone based off of the zip coded entered in a text field. My question is how do I make it so the user can hit enter after entering in …

Software Development gui java java-swing
Member Avatar for stultuske
0
1K
Member Avatar for desolatebeast

Hey everyone need help on a project im doing in c++, so far I have made a command interpreter, that breaks user input into array of Strings sepperated by spaces and have a run function. Now I am trying to do the list() and list(directory) but I'm not quite sure …

Software Development c c# c++
Member Avatar for desolatebeast
0
395

The End.