132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bkoper16

I am making a program that reads football player stats from a file and places it in an array how ever my program seems to over read the file which has the stats of 17 players and it makes an array of 101 players with the first 17 being alright …

Software Development c data-structure file-system
Member Avatar for Perry31
0
188
Member Avatar for alaa sam

Hi I'm asked to write two functions to find the factorial one using recursion and the other using loops. the range of numbers which if have to output their factorials is 1 to 500(N) after some time the computer won't be able to find the factorial .I have to output …

Software Development c++
Member Avatar for alaa sam
0
106
Member Avatar for abelingaw

Uhm ok. I am near n finishing my project (Payroll System) But im having problems regarding some codes and i am only able to fix some of it My real problem is the saving of picture in the database. Have the code, works well but doesn't save the pic as …

Software Development visual-basic
Member Avatar for AndreRet
0
119
Member Avatar for sing1006

i have a problem here. [CODE][/CODE] #include<stdio.h> int main (){ int counter; int x; int y; int product; counter=1; x=1; y=1; product=1; while (counter<=5){ printf("%d>%d\n",x,y); x=x+1; y=y+2; counter=counter+1; product=product*y; } printf("Product>%d",product); return 0; } well,the product should be 945.but what have printf out is 10395?what is the provlem inside the …

Software Development c
Member Avatar for sing1006
0
123
Member Avatar for fender422

I completed a homework given by my instructor, but it is not doing what it's suppose to do completely. I was able to add a message in the pixel, but if I run it, some wierd characters were added after the message here's my work. I was only assigned to …

Software Development gui java java-swing
Member Avatar for quuba
0
178
Member Avatar for sing1006

here is the things so far i got. [CODE][/CODE] #include <stdio.h> int CF(int C); int FC(int F); int main(){ printf("Fahrenheit equivalents of Celsius temperature\n"); printf("Celsius \t Fahrenheit \n"); for (x=0;x<=100;x++); printf("Celsius equivalents of Fahrenheit temperature\n"); printf("Fahrenheit \t Celsius \n"); for (x=32;x<=212;x++); Pls,somebody help me.T.T

Software Development c
Member Avatar for sing1006
0
337
Member Avatar for gahhon

first we read something from the text files ( INT type only ), then i want read till "\n" stop and inceasement a value, examples, [CODE] int Attendance[10][10]; ExistingFile = fopen("Attendance.txt", "w"); if(!ExistingFile) { printf("\t\t This File Cannot Be Open Successfully!!\n"); printf("\t\t Please Check It!!\n"); exit(-1); } else { fprintf(ExistingFile, …

Software Development c
Member Avatar for gahhon
0
182
Member Avatar for yuri1969

Hi, i have question about accept call interrupting. As you can see I have a loop which is controlled by boolean [B]not_ended[/B]. I set this var to 0 (false) in a separate function. I would like to know how should I [U]manage to interrupt this accept loop properly[/U]. When I …

Software Development c socket-programming
Member Avatar for yuri1969
0
5K
Member Avatar for yoyo59

Here's an assigment I was just emailed. After being ill for some time with mono I've been forced to teach myself the material. I have no idea what this assignment is asking for. "You are to write a program that reads in one integer first indicating the digits in length …

Software Development c++
Member Avatar for WaltP
0
109
Member Avatar for divakar.it

I am developing a application using VB 6.0. My requirement is if the user log off the application using File->Exit the below action should perform Action1 : The login status should get updated with 0 in the back end table called "Create_Login" so that next time if the user login …

Software Development open-source visual-basic
Member Avatar for AndreRet
0
135
Member Avatar for bob3

I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when …

Software Development visual-basic
Member Avatar for AndreRet
0
160
Member Avatar for ladylove

Develop a car loan payment calculator. Design a GUI, using NetBeans GUI Builder, to enter price of car, down payment, interest rate, and length of loan in years. Your bank only offers 3 interest rates 5%, 10%, and 12% based on credit rating. Use grouped radio buttons to select between …

Software Development gui java
Member Avatar for javaAddict
0
865
Member Avatar for AndrevdBerg

Hi, I have am interesting problem that I cannot think of a solution for. I have an VB.NET application. This Application is permanently resident in memory and minimized to the tray area because we use it very often. The problem comes in when we VPN into a client's site. These …

Software Development client-server sql vb.net
Member Avatar for AndrevdBerg
0
3K
Member Avatar for ukshir

I have a tabcontrol and two tab pages on the tab control. There are some fields on the tab pages which are databound to access database table which are populated using dataadapter. There is functionality to calculate total of the fields on both the tab pages when I click a …

Software Development vb.net
Member Avatar for Netcode
0
203
Member Avatar for bob3

Hi, Im doing a project in my class where i have to make code. i have to make a spread sheet that will control the sales that are taking place. The cash till has to add up the total cost of the items being bought, take in the input of …

Software Development visual-basic
Member Avatar for AndreRet
0
89
Member Avatar for slychronic

hie guys I am creaating a program employee data base its a simple c++ program tht should allow a user to input employee details view search edit and delete......now the prblem am having is i want to creat a function that will give an employee a num when entered i …

Software Development c++
Member Avatar for slychronic
0
380
Member Avatar for aseem_nick

hi to all! i am a newbie in visual basic programming and have been currently assigned a project for developing a small HUMAN MACHINE INTERFACE. can anybody help me out how to start and how to proceed. i'll be very grateful to all who answered. Thanks

Software Development vb.net visual-basic
Member Avatar for kamranraj
0
101
Member Avatar for Naveed_786

How can we auto complete a textbox in VB 6 please help

Software Development visual-basic
Member Avatar for AndreRet
0
161
Member Avatar for MichellePV

Hello, I am working on a combo box, Visual Basic 6.5 on Microsoft Word 2003. When I put in the text for the combo box, it loads fine. I save, close the document. When I re-open the file, everything in the drop box is gone. What am I doing wrong?

Software Development visual-basic
Member Avatar for AndreRet
0
109
Member Avatar for iarkey

[CODE]#include <stdio.h> #include <windows.h> #include <stdlib.h> DWORD WINAPI test_thread(LPVOID lpParam) { printf("thread whiiiii\n"); struct person { char *namee; int agee; }; struct person p = ((struct person)lpParam; printf("%s\n",p.agee); ExitThread(0); } int main() { struct person { char *name; int age; }; DWORD thread; struct person p; p.name = "John Smith"; …

Software Development c
Member Avatar for sree_ec
0
686
Member Avatar for lochnessmonster

im curious if there is any type of standard....or if anyone could help explain what all should be placed in .H files? (prototypes/etc) -thx

Software Development c++
Member Avatar for mike_2000_17
0
311
Member Avatar for Rootz

This is my first post and I am just starting with arrays, but I am still stuck on how this function is suppose to work. I had to make two void functions and two-value returning functions. Main should call the getTestScores and get three test scores, then it should call …

Software Development c++
Member Avatar for MasterGberry
0
135
Member Avatar for SolidSora

I'm trying to make cars of a certain color go from one array to another. For example if I want all red cars to go to be displayed, I throw the red cars into another temporary array and they get displayed on the screen. How would I make this work? …

Software Development java
Member Avatar for ~s.o.s~
0
123
Member Avatar for Rajeev R Nair

Hai everybody. i am in trouble. As the part of my training programme i have to create a simple application in vb.net. i need to connect a local database to the application. I am a newcomer from a Govt. Polytechnic college located in South Kerala(INDIA). I haven't any experience with …

Software Development vb.net
Member Avatar for Rajeev R Nair
0
181
Member Avatar for Sykee

[CODE] import subprocess import os def main(): quickfile = file_existance() quickdraw = subprocess.Popen(['java', '-jar', quickfile],\ stdin = subprocess.PIPE, \ stdout = subprocess.PIPE) event = WindowEvents(quickdraw) def file_existance(): filename = raw_input("Please enter the location of quickdraw: ") while (not os.path.isfile(filename)): print "That file does not exist, try again" filename = raw_input("Please …

Software Development os-x python
Member Avatar for WildBamaBoy
0
249
Member Avatar for j_cart007

Hello! Does anyone have any idea about Futoshiki Puzzle Solver. I'm new to programming and i want to make a puzzle solver in java. Any helpful reply would be regarded. Thanks

Software Development java puzzle
Member Avatar for jon.kiparsky
0
2K
Member Avatar for haxtor21

Hello. I am running a program form my book and i get this warning from eclipse that says: "The serializable class ColorWindow does not declare a static final serialVersionUID field of type long" [CODE]import javax.swing.*; //Needed for Swing classes import java.awt.*; //Needed for COlor class import java.awt.event.*;//Needed for event listener …

Software Development java java-swing user-interface
Member Avatar for ~s.o.s~
0
422
Member Avatar for Captain_Jack

I'm creating my second application. I'm not very good at coding. If i make dump mistake please bare with me. I can't get this Progress bar to work, I tried few steps. I'm writing this application to copying the Host file to a folder in desktop for troubleshooting purpose at …

Software Development microsoft-office vb.net
Member Avatar for mrclark
0
269
Member Avatar for Janny735

I have to write a small program that averages the scores for an array of baseball players for 4 seasons. I'm having problems with 2 parts of my program. First, I need to write an event handler for the TextChanged event that searches the input when the user types info …

Software Development vb.net
Member Avatar for Janny735
0
151
Member Avatar for jae5086

This program is to calculate the average, high and low score of a series of use inputs. The output I am getting is high, low, average, high, low. I have no idea why or how this can happen. Side note, I am aware the coding isn't very good but the …

Software Development c++
Member Avatar for jae5086
0
98
Member Avatar for letaki

Hello there, I have an issue with execvp to a project in C i'm trying to procces.. Execvp is always returning -1.. and this warning " passing argument 2 of ‘execvp’ from incompatible pointer type" .. here's the source code, and any advice at the matter would be appreciated! [CODE]#include …

Software Development c
Member Avatar for nezachem
0
1K
Member Avatar for iCode@Night

Hi all. I am trying to create a function to check if a string is a pangram or not. I think I have good start on it, but I can't figure out how to check if the characters in the string are unique. I have to do this recursively with …

Software Development c++
Member Avatar for iCode@Night
0
691
Member Avatar for Krysis

Hey all. Working on a Binary Tree of "N-order". For some reason I'm getting a fatal error while trying to compile my code. Let me know if you have any idea of what could be wrong, thanks. I'm actually trying to model this off an implementation written in Java: [url]http://koders.com/java/fidAB3BF22D2F6F383D797E598C79B9DE16C02ECF9A.aspx?s=tree#L1[/url] …

Software Development c++
Member Avatar for daviddoria
0
263
Member Avatar for JOSheaIV

Okay so I am learning to write with with ActionScript for a flash project. First of all I hate this language and can't figure out how to solve my problem. I am trying to play the frames so that they appear 1 second apart but stop at a certain frame. …

Software Development actionscript flash
Member Avatar for JOSheaIV
0
252
Member Avatar for format_c

Hi.. i am totally lost with this random 20x70 maze generator i have to create. can some one give me some insight on how im supposed to start this? i know i use 2 for loops but my question is.. how do i create the actual blank space maze pattern.

Software Development c++
Member Avatar for format_c
0
112
Member Avatar for dennisme

Environment: eclipse I have reached a snag with finding the perfect numbers from 0 - 1000 while using methods with multiple perimeters, one project, tow classes. There is an example on this site from quite a while ago within one single class. That is in a later chapter in my …

Software Development algorithm java
Member Avatar for jon.kiparsky
0
355
Member Avatar for Banjoplucker

Hello, I'm new here, so please be gentle. I have posted my code at the following page: [url]http://www.bpaste.net/show/11397/[/url] In short, I need to read in my file, block by block, but have the re.finditer regular expression report the offsets relative to the beginning of the overall file, rather than relative …

Software Development python
Member Avatar for Banjoplucker
0
109
Member Avatar for dfin19

I need help with this hw problem. Generate a 2-D array of 25 integers and initialize them all to 0. Assign the value 9 to five random locations in the array to represent your mines. Fill the remaining array locations by counting the number of mines in any adjacent squares. …

Software Development java
Member Avatar for hanvyj
0
2K
Member Avatar for scoob

I have this assignemt to make a double link list for a student database. I have tried to make it in single link list so that i can understand the implementation. the problem is that i can't make it a double link list :S i am so confused! plz someone …

Software Development c++ seo
Member Avatar for scoob
0
268
Member Avatar for CrazyDieter

I am trying to use Qt 4.0 with devCpp. I have a weird error when i try to compile this simple code : [code] #include <QtGui/QApplication> int main(int argc, char *argv[]) { QApplication qApp(argc, argv); return qApp.exec(); } [/code] The error is : [code] 10 : no matching function for …

Software Development c qt
Member Avatar for gerard4143
0
173
Member Avatar for Maha Sh.

Hi every one, please could you help me in my project!! I'm trying to design a words game that's give you the first two letters from the word and you insert the rest to make a word (for now I'm just using "co" as example and I have just one …

Member Avatar for Maha Sh.
0
127
Member Avatar for smeghead007

ok guys need some help, I'm sure the answer is simple but i'm making a program for an assignement that models points in a cartesian plane and prints them out this is what i have so far in main [CODE]#include "point.h" #include <iostream> #include <string> #include <fstream> //for ifstream,ofstream #include …

Software Development c++ ios
Member Avatar for smeghead007
0
106
Member Avatar for peterwalter

THis is what I need to do...I need help with the third point [INDENT]1. Write a class OrderedList. The implementation of OrderedList must be as a linked list of Comparable elements. The list items are maintained in ascending order at all times. On this assignment, no indexing methods are allowed. …

Software Development java linked-list
Member Avatar for helpmehelpme
0
256
Member Avatar for printmatic

Hi again everyone. I am trying to change around this program I wrote to meet some new requirements, but getting stuck on how to do it. *Write a program that reads a file consisting of students' test scores in the range of 0-200. The students scores should be stored into …

Software Development java
Member Avatar for printmatic
0
2K
Member Avatar for prakash2813

Hi Friends............... I want to change the font color and font type(font-face) of title bar text in C# windows form..... Please help me.....

Software Development
Member Avatar for nssltd
0
969
Member Avatar for DallasFan3

Ok, well I am now working on a new program where a program that counts the number of times a digit appears in a telephone number. And I have no idea how to even start this. Can anyone please help? Atleast try to give me a outline or something. Heres …

Software Development java
Member Avatar for naief
0
2K
Member Avatar for rsantoosa

I am trying to write a program that does operations with rational numbers. My program runs and is able to add, subtract, multiply and divide. However, it does nto reduce the fraction and when printing in decimal form, it returns an int rather than a double. For example, it would …

Software Development c c# c++ display
Member Avatar for geojia
0
193
Member Avatar for bufospro

Hi, I have a problem with my code in C An error occurs with message : /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21): In function `_start': : undefined reference to `main' collect2: ld returned 1 exit status Does anyone know for it ? Thanks a lot

Software Development c redhat
Member Avatar for sree_ec
0
1K
Member Avatar for Archenemie

Ive made this quick program to strip the "youtube - " prefix off my mp3 collection, so i started modifying a script i had made before to replace file names with a <filename><incrementing number> type name. It has gone well so far, with the only problem being it will strip …

Software Development python
Member Avatar for Archenemie
0
2K
Member Avatar for imyellowjacket

Hi everyone, I just got a problem referencing void pointer. If in my code, I replace *rbuf= &svar by (rbuf= &svar;); it does not complain but it does not return the real value (rbuf is a void pointer). Please Can anyone give me any advise. I would really apreciated /*****************************************************/ …

Software Development c
Member Avatar for imyellowjacket
0
4K

The End.