132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pizzafiend

I have an old BASIC program which I unfortunately no longer have a copy of. I do, however, have the original source code in a research report which I have scanned onto my computer and saved as a text file. I have not had any luck copying the text into …

Software Development
Member Avatar for pizzafiend
0
269
Member Avatar for walljoshua

What does it mean if my program compiles but when I run it it says foating point exception (core dumped). Thanks for your help!!

Software Development c++
Member Avatar for walljoshua
0
162
Member Avatar for nitewolf_9

Hello, I am getting a syntax error with a shell script of mine that is eluding me...I am pretty new to this so if someone could help me out I'd appreciate it. Here is the part of the script that is throwing the error: [code] #!/bin/ksh # Kismet/PCX Loader # …

Software Development shell-scripting
Member Avatar for nitewolf_9
0
392
Member Avatar for Roopak

An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C33784 Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14C0 Library=C:\Program Files\Java\j2re1.4.2\bin\fontmanager.dll Current Java thread: at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) - locked <0x161a9eb0> (a java.lang.Class) at sun.java2d.SunGraphicsEnvironment.addPathFonts(Unknown Source) at sun.java2d.SunGraphicsEnvironment.registerFonts(Unknown Source) at sun.java2d.SunGraphicsEnvironment.access$200(Unknown Source) at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at …

Member Avatar for freesoft_2000
0
154
Member Avatar for aminura

I am learning C++ and I have done Pointers..but I am not able to understand it well. I know what is it but I am not able to understand exactly why do we use rather where do we use it. :confused: .basically it's the practical implication of it which I …

Software Development c++
Member Avatar for Dave Sinkula
0
105
Member Avatar for Archer

Is my code correct??? I would like to find the percentage like for example: 30pcs of 60pcs is 50%. But how do I code it??? I mean, how to code to get the PERCENTAGE... Is the formula: (num/total) * 100 ??? Is this correct: [code] for(x=0;x<3;x++) { y=total[x]; p[x]=((float)(y/grand))*100; } …

Software Development c
Member Avatar for Dave Sinkula
0
108
Member Avatar for SquirrelProdigy

Is reading and writing strings inside of structures possible, or must you use character arrays? Here's what I've tried; no compiler errors, but it doesn't display the text: [CODE]struct Account{ float balance; string Owner; }; int main(int argc, char *argv[]) { fstream File; Account Acc; int row; cout<<"Open or New? …

Software Development c++ display ios
Member Avatar for SquirrelProdigy
0
142
Member Avatar for serfurj

can C programs use iostream? i've done it in C++, and read that it can be done in C, but i keep getting compilation errors. [CODE]#include <iostream> using namespace std; main() { cout << "test"; } [/CODE]

Software Development c++
Member Avatar for jwenting
0
141
Member Avatar for far

I need some help: how can I do this: Write a program to find out how many terms of the series: 1 + 1/2 + 1/3 + 1/4 +.... are needed before the total first exceeds 5.

Software Development c++
Member Avatar for anastacia
0
166
Member Avatar for sachin kumar

can anyone help me in reading the file names from a folder with a specific extention in VC++ enviroment. thanks in advance sachin

Software Development c++
Member Avatar for britt_boy
0
78
Member Avatar for Vinay

Afsah Shafqat is the 14 year old girl who made the entire nation proud by breaking so many records in the field of IT, doing professional IT courses at a very young age. Afsah, in 10th grade, has been called the "Princess of Operation Badar." [img]http://img18.exs.cx/img18/289/u3qj2ee.gif[/img] She recently passed her …

Software Development java
Member Avatar for jwenting
0
263
Member Avatar for jasweb2002

I am writing a program that will build a graph and then find the lowest costs between any given vertices. I have the program building the graph just fine, but now I just started to write the part that will find lowest costs and I get a seg fault error. …

Software Development c++
Member Avatar for Dave Sinkula
0
260
Member Avatar for MrScruff

Hey people, Im just wondering what type of layout you would recommend to set up a grid of labels and sliders: This is the format that i would like them to be in. [CENTER]JLabel - Jslider - JLabel[/CENTER] [CENTER]JLabel - Jslider - JLabel[/CENTER] [CENTER]Slider Name - Slider - Slider Value[/CENTER] …

Software Development java
Member Avatar for MrScruff
0
132
Member Avatar for see_moonlight

How can i find out the Max and Min value from a Vector, what's the function can i use to do that? max_find() e.g. double x[]; double x_max; double x_min; x_max = max_find( x ); x_min = min_find ( x ) ;

Software Development c++
Member Avatar for britt_boy
0
882
Member Avatar for satimis

Hi folks, Perl === Please advise how to add 'bold', 'italic', 'colour', etc. such features to the printout. Can HTML syntax work on perl? I tried seeming not applicable. TIA B.R. satimis

Software Development perl
Member Avatar for satimis
0
117
Member Avatar for fivetoesonefoot

hey ya'll i've made this code (simple, bc that's what i am) and i think it would work except for the tiny problem that i always get the error that the switch statement is illegal, but i don't know what to put instead (when i do run the program, it …

Software Development c++
Member Avatar for britt_boy
0
90
Member Avatar for JimJake

I have built a SDI project in Visual C++ called HelloSDI. I used a book I bought to learn about Windows applications. The project compiles 0 errors and 0 warnings. The project has a simple dialog box added to it. When I run the program up pops a window that …

Software Development c++
Member Avatar for steveh
0
145
Member Avatar for chuckles

Greetings......... I bought a basic application that doesn't print out a hard copy properly. The sellers of same can't figure out what the problem w/their code is. Would like to get a "bare bones" Qbasic app without mortgaging my very being. Am I asking too much, or is my need …

Software Development qbasic
Member Avatar for khkwa
0
283
Member Avatar for potential

guys, i need your help. please... i need to make a function which compares 2 values if they are equal up to 1,2,3,4,5 significant figures. it needs 3 parameters: x1, x2 (the values to be compared) and sf (the # of sign. figures) i think i need to subtract x1 …

Software Development c
Member Avatar for anastacia
0
122
Member Avatar for jifiii

Ok, for a lab I have to write the UNIX more filter in C, but I have got everything done execpt one thing. I only hvae it to where it can read 20 lines at a time. But what I want to do is if argv[1] == -Pxx where xx …

Software Development c display unix
Member Avatar for nvanevski
0
183
Member Avatar for ahmedsamir

i want to do aprogram to convert from octal to binary and vise versa i tried many but without aresult help me blease

Software Development pascal
Member Avatar for Bollimuntha_raj
0
155
Member Avatar for givenr

Hello everybody! My name is Given and I'm new to these Forums. I have been given an assignment by my c programing teacher and I don't know where to start can somebody helpme? I have attached my question here.

Software Development c
Member Avatar for givenr
0
96
Member Avatar for kai13

I'm currently stuck in my program. I'm supposed to create a new method that inputs a message string and takes each letter and converts it into a two dimensional array of 1's and 0's. For example the letter 'H' would be 10001 10001 11111 10001 10001 My thoughts were to …

Software Development java
Member Avatar for kai13
0
122
Member Avatar for nufanvandal

Hello, I have a project which involves basic implementations of linked lists, in C. First though, I have to read the information from a file, which contains all different types(int, char, float) which is my problem...after i read the information into the nodes, it should be smooth sailing.. I was …

Software Development c c# c++ linked-list
Member Avatar for nufanvandal
0
128
Member Avatar for lida1984

HI plz help me to write my program in c++ which it has the name of for example lida.COM and it just cout a text such az my name or ... u knew i could write many program in c++ but this time i waana change the format of the …

Software Development c c# c++
Member Avatar for alc6379
0
132
Member Avatar for smartintelleng

I go to make my program and I get those warnings. I know that they are linked to the exceptions my program throws during execution which terminates my program another godamn debug error. The problem is that when I double click on the warning, it brings me into the complicated …

Software Development c c# c++ microsoft visual-studio
Member Avatar for Dave Sinkula
0
199
Member Avatar for JIMBOB963

I get an error message that reads: "Your web Browser does not support Java Applets or Java is not enabled in web browser Preferences." It is there a way to correct this problem? I am new to Java. Please give me a detailed explanation if possible. I am running "Windows …

Software Development java web-browser windows-xp
Member Avatar for JIMBOB963
0
117
Member Avatar for shahin

Hello All I am new at this website and I hope I can be a good memeber. I have a question about C programing language. I need to change the decimal point of a double for example: If I have a doubles with 5 decimal digits 123.45678 234.12345 34.34567 I …

Software Development c
Member Avatar for Dave Sinkula
0
313
Member Avatar for server_crash

I made a text editor with very basic funtionalities. I wrote it all in one class because I really wasn't sure what to put into other classes. Right now the code is pretty messy and I want to rewrite it. I was wondering if anyone could give me some input …

Software Development java
Member Avatar for server_crash
0
180
Member Avatar for Reagan

I am working on a time card program in Visual C++ (FYI: I am VERY new to this, so, please, be gentle with me) :) It compiles with 0 errors and 0 warnings, but when it executes I get an error message that the program needs to close. When I …

Software Development c++
Member Avatar for Reagan
0
534
Member Avatar for sam1

i have a super class called employee1 and subclass fulltime whenever i run it i get this error: javac employees/FullTime.java employees/FullTime.java:3: cannot resolve symbol symbol : constructor employee1 () location: class employees.employee1 public class FullTime extends employee1 ^ 1 error can anyone help plz

Software Development java
Member Avatar for freesoft_2000
0
63
Member Avatar for mark hughes

I'm trying to find a site where can download a java sdk1.4 for windows 98. I've tried the Sun site, but i keep getting an error page. Any ideas?

Software Development java
Member Avatar for freesoft_2000
0
117
Member Avatar for javaDumb

Hello all from javaDumb! I'm in my first java class and this is my first post so please be patient. I'm suppose to use StringTokenizer to search a document and replace some text, but the book for this course only explains how to print the text to the screen as …

Software Development first-post java
Member Avatar for freesoft_2000
0
200
Member Avatar for Bob

[B]Intro[/B] [i]This tutorial provides a brief introduction to C++ data types.[/i] [b]What is a data type? [/b] When we wish to store data in a C++ program, such as a whole number or a character, we have to tell the compiler which type of data we want to store. The …

Software Development apple c c# c++
Member Avatar for 1o0oBhP
0
2K
Member Avatar for C++Newbie

Hello, This is my first post. Anyway.. I am having trouble with my c++ program. My assignment is to read from a file a 2-Dimensional array. However, when attempting to do so with my code, which i'm guessing is faulty, I keep getting this error while using Borland Turbo C++ …

Software Development c++ first-post ios
Member Avatar for jwenting
0
564
Member Avatar for fwongmc

Hello everybody!I am a new to C.My lecture asked us to write a program with pointers.But I do think I get stuck on pointer's stuff.Can anyone please do me a flavour?It is kinda urgent stuffs. The following are the questions: Write a program to dispense change.The user enters the amount …

Software Development c c# c++
Member Avatar for jwenting
0
137
Member Avatar for kama

Hello, I need to create a program that will read in a weight in kilograms and grams and will output the equivalent weight in pounds and ounces. I need to use 3 functions: for input, calculation, and output. I also need to have a loop that will let the user …

Software Development c++
Member Avatar for anastacia
0
5K
Member Avatar for netjet

I can't figure out how to keep it from running off the array and going crazy. I tried a few functions, but they either get rid of my output or funk it up. I want the knight to be a 3 the kill spots a zero and everything else a …

Software Development c
Member Avatar for netjet
0
108
Member Avatar for WrEcK

I'm a little lost here. I'm trying to read from a file named source.txt located in the same area as my program. If i could figure this out i could continue with the rest of the program. I'm just getting a blank screen so i know i'm way off heres …

Software Development c++ open-source
Member Avatar for Raiders
0
149
Member Avatar for Archer

Can anyone help me on strings??? I am a newbie and I have a problem dealing with string(school thing). ---------------------------------------------------- A program that checks if the substring "the" exist in the string inputted by the user. * Use a function for checking. ----------------------------------------------------- I'm in a big trouble right now... …

Software Development c
Member Avatar for Archer
0
199
Member Avatar for smartintelleng

[img]http://www.computersforpennies.com/error.gif[/img] testing wether this post works, trying to host the image from my site since i dont know how to do it using his form for threads [B]If the image shows, could you tell me what that debugging error means[/B]

Software Development c c# c++ first-post image
Member Avatar for nvanevski
0
120
Member Avatar for Starlight620

I ran my C++ program and got these error messages. I have no idea what they mean. :?: Will somone please help. error LNK2019: unresolved external symbol "int __cdecl GetInformation(int,int,int,char (* const)[15],char (* const)[15],float * const,float * const,float * const,float * const,float * const)" (?GetInformation@@YAHHHHQAY0P@D0QAM1111@Z) referenced in function _main fatal …

Software Development c++
Member Avatar for nvanevski
0
179
Member Avatar for blackbabydoll

This program is a word counter. But my logic is all messed up when it comes to the counting. I am not too sure on how about fixing it. The project compiles yet does not work properly. I still haven't figured yet how to count lines or characters properly. [code] …

Software Development c++ ios
Member Avatar for jwenting
0
110
Member Avatar for huria

plz guide me soon so that i submit my assignment on saturday

Software Development c++
Member Avatar for Keiyentai
0
99
Member Avatar for AllenN

New boy -easy question - doing a tutorial and the compile and run work but the only time I see the program partially running is when I put in a cin - I have looked but I cannot find how to put in a pause and allow me to see …

Software Development c++
Member Avatar for vegaseat
0
183
Member Avatar for santa_barbarian

I am a java programmer trying to understand a c++ oddity that I ran into. My c++ program writes a few MB of data using ofstream. Just before the program ends I close the ofstream. However when the program terminates, the amount of free memory on my linux box has …

Software Development c++ ios java
Member Avatar for santa_barbarian
0
185
Member Avatar for CNewbie

I am trying to write a program that takes a series of numbers input by a user and performs some calculations on it. While I have most of the code put together and working perfectly fine, I haven't been able to write code that will refuse the users input if …

Software Development c display
Member Avatar for vegaseat
0
165
Member Avatar for kitakits

Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please help everyone else avail …

Software Development algorithm c++ email
Member Avatar for alc6379
0
738
Member Avatar for wangstarr

Hi everyone, I have a project for my class. I have to write a function that accepts a c-string as an argument and returns the number of words contained in the string. For instance, if the string argument is "four score and seven years ago" the function would return the …

Software Development c++
Member Avatar for varunrathi
0
314
Member Avatar for wangstarr

Hi, I'm supposed to create a program that does the following: A corporation has six divisions, each responsible for sales to different geographic locations. Design a divsales class that keeps the sales data for a division, with the following members: an array with four elements holding four quarters of sales …

Software Development c++ display
Member Avatar for jwenting
0
567

The End.