132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dblbac

i have the program written but i am having troble with a few parts. i am supposed to have the number of tries on the screen (which i do) but i need the program to ask the player if they want to play again after the game is done and …

Software Development c++
Member Avatar for tracethepath
0
100
Member Avatar for tu_m.aimes

I'm trying to sort a list of names alphabetically, by isolating the first element of the string and compare, which I think should work, but there's an error, SISEGV with something about an invalid access to storage... I don't know, but my group mates and I can't figure this out. …

Software Development c storage
Member Avatar for Duoas
0
155
Member Avatar for Rockstar4cs

For a project I'm doing I have to steamread a file into a list box. I dont know if my path is right because the explore path bar on top of my explore start menu isnt showing up. Can anyone tell me if my logic looks right and then help …

Software Development vb.net
Member Avatar for waynespangler
0
124
Member Avatar for picass0

i'm using stl list to do a simple inserting of a range of value into the list. The problem i have is that when i do a push_front i couldnt see the value when i did a displayed of my list, but when i did a count it show that …

Software Development c++
Member Avatar for picass0
0
91
Member Avatar for poiuy

plz suggest a simple C program to find out greatest number using array....

Software Development c
Member Avatar for Salem
0
63
Member Avatar for gblue07

Just asking if how i can determine the folder size using visual basic 6? i hope someone could answer :(

Software Development visual-basic
Member Avatar for gblue07
0
67
Member Avatar for kittykattz

So, I have this website. On the website I have WordPress installed, and WordPress is what I use to make all my pages. Okay, well, I need the code to make a table with a vertical scrollbar. I've tried about a bazillion different codes already... Including this: [code]<div style="position:absolute; width:470; …

Software Development visual-basic wordpress
Member Avatar for debasisdas
0
92
Member Avatar for paydfody

Hello guys, Hope ur listening. I need my code to generate 6 random numbers for each line, instead of just 1. Furthermore, there should be no duplicate numbers on any particular line. So far I have gotten this code to print only a single number per line, so I need …

Software Development java
Member Avatar for jwenting
0
123
Member Avatar for smacklby

Help! I am losing my mind trying to display images in my JSP pages -- something that is rather simple, otherwise complicatied in JSP! Here is the code, what am I doing wrong?!?! [code] <img src"../images/situations/pic.gif" alt="pic" /> [/code]

Software Development java
Member Avatar for peter_budo
0
109
Member Avatar for jopeter

hi i have wrote this progaram in java. it finf the palidrome numbers and print it. its by threads it has some errors and i can t run it. please help me. package palindromen; import java.lang.Integer; import java.lang.String; public class Main { public Main() { } public static void main(String[] …

Software Development java
Member Avatar for jopeter
0
201
Member Avatar for Lerner

I'm frustrated at the moment and thought I'd vent a bit before asking for help. I've finally decided to download MS Visual C++ Express 2005 and migrate from VC++ 6.0. I know, it's about time! What can I say, except that I hardly ever download stuff from the net because …

Software Development c++
Member Avatar for Lerner
0
123
Member Avatar for mailkayzay

How do I begin the creation of a web project in C# using the file system in VS 2005

Software Development c c# c++
Member Avatar for mailkayzay
0
89
Member Avatar for FallenPaladin

Hi just a quick question regarding compatibility to other non MS OS. Is there a intermediate language compiler for other platforms such as Linux?

Software Development asp.net
Member Avatar for FallenPaladin
0
64
Member Avatar for dblbac

i have a program but how do i go about putting it in the code for the thread. i received a warning the last time and i appologize for that. what are the steps. i nread the faq but i still didn't understand it. what should i be pressing inorder …

Software Development c++
Member Avatar for Ancient Dragon
0
149
Member Avatar for mirroredreality

Hi, Could someone please advise me on how to get the full path of a file in MS VC++ and Dev C++? And would anyone know how to open in new windows, files of different extensions like .jpg or something like that? Thanks in advance. :-D MirroredReality

Software Development c++
Member Avatar for Ancient Dragon
0
104
Member Avatar for snah1

Hello! I have problems saving values from checkboxes in the database. My jsp page contains several checkboxes (representing values from a static database table). When I choose one or a few checkboxes in my jsp, the values are passed to my SimpleFormController and they should be saved through the onSubmit …

Software Development java java-jsp
Member Avatar for jwenting
0
137
Member Avatar for lalavoodoo15

I am trying to understand how [bool hasaletter(string, char(c))] works. after boolhasaletter appears, if it is true, i want to add to total_num. I have tried if(true) { and it did not work. so basically, im trying to see if a string has a character user inputted. [code=c++] int main() …

Software Development c++
Member Avatar for Duoas
0
73
Member Avatar for freakybeavis

I'm new here and fairly new to c++. Not sure if this forum is exclusivly for students because I am not one, just learning it for fun. I read the "read me" on flushing the input stream but it seemed rather complicated. What's happening is if the correct color is …

Software Development c++
Member Avatar for Duoas
0
2K
Member Avatar for tnvkrishna

hello, i have a header file (intl.h)which contains the declaration of members of class intl and the members functions are defined in 5 different headers and i have one more header (floatl.h) which contains the total declaration of class floatl and it's member functions the over view is something like …

Software Development c++ oop
Member Avatar for vijayan121
0
120
Member Avatar for garap

i want to know the easiest method to do quick sort.

Software Development c
Member Avatar for Narue
0
62
Member Avatar for lalavoodoo15

Hi, i am trying to make a program that gets words from a txt file (strings) and see if the words have the character the user has inputed before. for example... the program will ask the user to input a letter. ( the user inputs, lets say a letter 'k') …

Software Development c++
Member Avatar for Ancient Dragon
0
106
Member Avatar for deadswitch

Hey folks -- DaniWeb has helped me a lot with various other programming projects, but I've run into a snag that I just can't get myself to understand. Hooray for vague compiler errors. Hopefully someone here can show me the error of my ways. I'm making a little game, based …

Software Development c
Member Avatar for Aia
0
139
Member Avatar for toadzky

Here's the backstory real quick: Class project in my java class to write a program to help the lab assistants manage the students who need help. Trying to use a PDA in the project. Here's the question: How do you get JVM and .jar files to run on a Dell …

Software Development java
Member Avatar for jwenting
0
116
Member Avatar for saravanarajan

Hi Everyone, I have a datagrid, columns name location code,account code,account name(read only), if i give the account no to check the acc. no in database and also automatically give the account name in another cell(i.e. account name cell)

Software Development vb.net
Member Avatar for saravanarajan
0
82
Member Avatar for Flakester

I've ran into a problem :( Something is wrong between my functions. When I try to take 'num' from the main function and put it in the getFib() function, it turns into some crazy number, sometimes random. Why wont it stay the same number that was declared in main? Sorry …

Software Development c++
Member Avatar for WaltP
0
119
Member Avatar for IzzoYourNizzo

[B]This is the problem.[/B] Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the second with the next to the last, and so on, all the way to the middle of the array. Given an array a , an int …

Software Development c++
Member Avatar for WaltP
0
128
Member Avatar for Rockstar4cs

I'm working on a coffee shop project for my teacher that has 3 different forms and a module I thought I was done when she told me to. Declare an "AddToOrder" sub procedure to keep a running subtotal of regular and/or decaf coffee ordered. I then started to decipher what …

Software Development vb.net
Member Avatar for scottjo
0
108
Member Avatar for helixkod

Heres the part of the code That i have: [CODE] #include <iostream> using namespace std; const int NUM_DIV = 6; //Number of divisions const int NUM_QTRS = 4; //Number of quarters void divisionSales(double [][NUM_QTRS], int); void divisionChange(double [][NUM_QTRS], int); void quarterSales(double [][NUM_QTRS], int); void quarterChange(double [][NUM_QTRS], int); int main() { …

Software Development c++
Member Avatar for Ancient Dragon
0
327
Member Avatar for n2201

I want to get out put as folows: [code] 100 HE01 {number of line in this file} {file created on time stamp} 200 LTXS {number of line in this file} {file created on time stamp} (if the file does not exist then it should say FILE NOT AVAILABLE [/code] to …

Software Development shell-scripting
Member Avatar for eggi
0
109
Member Avatar for FoX_

Hi all... How can I control any postfix expression is valid or not??? I controlled it using a stack(the code is below) and it worked but I 'm using the stack again after clearing it for evaluation the postfix expression to the infix expression.I'm using the stack twice and I …

Software Development c
Member Avatar for FoX_
0
2K
Member Avatar for dblbac

i have made the following but the user should get 10 chances to guess the right number. after the 10 guesses or if the the guesser gets it correct it should ask if the player wants to play again and react accordingly. [code=cplusplus] #include <iostream> #include <cstdlib> #include <ctime> using …

Software Development c++
Member Avatar for dblbac
0
156
Member Avatar for sullecy

Hello! I'm just new here, and I have just completed a short pascal tutorial. So, in this n00by thread I wanna ask some simple stuff, and sorry about the incovience (you will face many questions lol) but understand that this is my only way to learn something I really love …

Software Development pascal
Member Avatar for Duoas
0
122
Member Avatar for Shay_

Hi all, I have a very weird problem. I develop a game on Nintendo DS using DevKitPro. I have a method that get a value in an XML file : [code]sscanf(xEffect.getChildNode("mpmodif").getAttribute("value"), "%d", &mpModif);[/code] With the values I have get, I instanciate a new Effect : [code]Effect *test = new Effect(durationTime, …

Software Development c++ xml
Member Avatar for Salem
0
73
Member Avatar for TCMIMS16

Ok, I made some changes. I am down to 1 complilation error and I can't figure out what to do. Here is the error message: C:\Documents and Settings\Triffee\My Documents\Math316.java:87: reached end of file while parsing } //end CountPlusFive method ^ 1 error Tool completed with exit code 1 [COLOR="Red"]I have …

Software Development java
Member Avatar for ~s.o.s~
0
119
Member Avatar for ukankissthis

Ok, I am getting 2 errors on line 65 it says class or interface expected and again on line 65 saying { expected. The assignment is to Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number …

Software Development java user-interface
Member Avatar for peter_budo
0
138
Member Avatar for kshrini

Hi All, I want to access rptImageControl at runtime to change the image displayed in the control. Is it possible? I'm getting error "Object does not support this method". Also how to display the image from the database on rptImageControl?

Software Development visual-basic
Member Avatar for mohammad2700
0
254
Member Avatar for HLA91

Hi all My friend sent me this C++ program that opens up notepad and starts typing, its a joke he made to scare his little brother, I tried to modify it to display more of the message "Im watching you" but when I do it wont compile and I dont …

Software Development c++
Member Avatar for HLA91
0
141
Member Avatar for picass0

i have a code for complex number but when i key in 7+i3 and 5+i2 into the operator+ it should return me the result of 12,5 but i receive 430. What is the problem wif my code? [code] class Complex { friend istream& operator>>(istream&, Complex&); friend ostream& operator<<(ostream&, const Complex&); …

Software Development c++
Member Avatar for Narue
0
90
Member Avatar for vaishal

1. Create a file with the following data: No of students on file – type integer Then for each student Student ID Number-type long Student name- type integer[81] Total credits- integer Grade Point Average- float Sample data: 3 0558899 Roger, R. 12 3.8 5646489 Jack, J. 24 2.5 1641564 John, …

Software Development c++
Member Avatar for Lerner
0
98
Member Avatar for piers

this is the homework I have to do [QUOTE] This homework is due in week 3. You must work on the program outside the formal laboratory sessions. The program must be ready to be executed at the start of the scheduled laboratory session. Remember you may be asked to explain …

Software Development java session
Member Avatar for piers
0
173
Member Avatar for c++ prog

i'm new to c++....i'm making a project here but i have a problem with this: reading values as type char and converting it to type int...such that 54 can be read as '5' and '4' but after that it will be read into type int...can anyone please tell me how?

Software Development c++
Member Avatar for Narue
0
89
Member Avatar for m16jim

I have a question on an assignment that has me confused. The question is how many times does the following loop execute? For I = 1 to 10 PRINT I End For (I) Now I am not sure if this is a trick question or not. I do not see …

Software Development c++
Member Avatar for Narue
0
124
Member Avatar for vinaychalluru

Hi,every one I am going to find whether the given number is a armstrong number or not and I have done my level best and I need your help in one thing,If any mistakes,please reply and I need your other views to develop my C skills.hope help from you all …

Software Development c
Member Avatar for Narue
0
78
Member Avatar for Majestics

Can Any One Tell Me How To Handle Registers In C ,while We Are Dealing With Mouse Handling ... Can Any One Explain With Some Example.

Software Development c
Member Avatar for Ancient Dragon
0
82
Member Avatar for MojoS

Hey, Iam working with PDB files, and have some problems with extracting and calculating... a PDB file look like thise for those how dont know: see attached file What I want is to read the whole file, find were there are lines with CA atoms and calculate the distance between …

Software Development perl
Member Avatar for MojoS
0
120
Member Avatar for Gorilatsouk1

Hello guys, I have tried unsuccessfully the following problem with sed and awk grep commands: [B]- Try to find a specific word in a text file, and when you find it, [B]add [/B]after that word the number of occurrence of that word, but leave the first match unchanged, i.e. no …

Software Development shell-scripting
Member Avatar for Gorilatsouk1
0
131
Member Avatar for jaepi

Hello there. Is there anyway that you can convert the '\n' in windows which is 2bytes to the '\n' 1byte so that the linux could read it?

Software Development c++
Member Avatar for vijayan121
0
167
Member Avatar for nurulshidanoni

hello, why the output below produce number 0, eventhought there is no 0 in the array? [code=c++] #include <iostream> #include <conio.h> #include <cstdlib> #include <cmath> #include <cstdio> #include <ctime> using namespace std; int i; int x[7]; int A[7], B[7], C[7], D[7], E[7], F[7]; int Min( const int *A, const int …

Software Development c++
Member Avatar for Nick Evan
0
159
Member Avatar for themaj

Hope there are some good gurus out there that can lend a hand to this discussion. Can anyone here give me some advice on methods and strategy for maintaining and upgrading existing Access DBs as my VB6 (not NET) application develops and/or grows? The story goes like: MyApp.exe and my …

Software Development data-structure visual-basic
Member Avatar for themaj
0
311
Member Avatar for geekychick

can someone tell me why my getline statements aren't working correctly? My compliler seems to just skip over them in my functions... here's my code: #include <iostream> #include <string> using namespace std; void locate(string[],int&); void substitute(string[],int&); const int MAX_LINES=7; int main ( void ) { char command; int i,currentLine; string …

Software Development c++
Member Avatar for geekychick
0
91

The End.