132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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. … | |
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 | |
plz suggest a simple C program to find out greatest number using array.... Software Development c | |
Just asking if how i can determine the folder size using visual basic 6? i hope someone could answer :( Software Development visual-basic | |
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 | |
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 | |
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 | |
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 | |
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++ | |
How do I begin the creation of a web project in C# using the file system in VS 2005 | |
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 | |
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++ | |
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++ | |
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 … | |
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++ | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
[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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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, … | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 … | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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++ |
The End.