- Strength to Increase Rep
- +17
- Strength to Decrease Rep
- -4
- Upvotes Received
- 759
- Posts with Upvotes
- 607
- Upvoting Members
- 264
- Downvotes Received
- 56
- Posts with Downvotes
- 52
- Downvoting Members
- 27
Spent most of my life in California. Santa Barbara is about as far south as I go. Right now I'm in Santa Rosa.Received a Bachelor's Degree in Math and Statistics, then became an actuary for a while. It was all right, but a little dull. Decided to try…
- Interests
- Soccer, Rock Climbing, Scuba Diving, Philosophy, World History, Writing and Literature
- PC Specs
- Dual Core Something or Other, Definitely not top of the line. I mainly tend towards AMD over Intel.…
hello, i'm newbie here and also in programming world. so I would to request help from pros here. my question is, how to print out number entered in random in ascending order WITHOUT USING ARRAY AND FUNCTION? let say the user key in 4, 56, 31, 90, 11 and the … |
|
I am in trouble. I need to convert a signed 16-bit Hexadecimal no to short. Say I have a string s = "f2f7" Which is a negative number and lies in the range -32768 to 32767 so is the range of type short. But when I do short num ; … |
|
Hello All, I am submitting a inventory program that I need some help with. I had to create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit. Then I needed to create a java … |
|
"Write a program that reads in ten numbers to an array. The program then reads the array and displays distinct numbers (i.e. if a number appears multiple times, it is displayed only once)" for example: 1 2 3 4 [B]5 5 [/B]6 7 [B]8 8[/B] 9 1 2 3 4 … |
|
Hi, I'm having trouble with creating a program to split a number into there own separate digits and then multiplying the digits to create another number. The program will repeat itself until there is just one digit.. The main thing I'm having problem with is figuring out how I could … |
|
Hi everyone, Today i have a question about how can i write one code for all shapes like, ****** ***** **** *** ** * or other shapes like square or tringle. I want to know the difference in every code. Thanks alot. |
|
So I am trying to wrap my head around link lists and the theory is there but the magic isn't (at least in my program)... my problem runs with the void traverseRecord() function. For some reason it automatically shows all the nodes. Maybe I haven't totally grasped the concept of … |
|
Love the idea of the program. Im quite interested in seeing how to get something like this to work. Is there any chance someone could add a working version to the code snippets section or possibly send me a working snippet in PM? Im trying to educate my self and … |
|
The title pretty much says it all. I cant find an option in my control panel? Thanks [fake signature removed] |
|
Hey everyone of the c++ world. I am a little stuck. Here is what i am suppose to be doing. Write the program as an object-oriented C++ program that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, … |
|
Hello, I am working on a small program that reads ten numbers, computes their average, and finds out how many numbers are above average. This is the set up I have so far: #include <iostream> using namespace std; int main() { double myList[10]; myList[0] = 89 myList[1] = 56 myList[2] … |
|
First I was on that console window, and everything seemed easy because I could break everything down and knew EXACTLY what I was doing to get what I wanted done. However, that boring text-window got tiring. I decided to move on, but that was the biggest mistake ever. For over … |
|
does anyone know how to do the program that are more or less like peteranswers?? This is the website which has been using to trick people... [URL="http://www.peteranswers.com/"]http://www.peteranswers.com/[/URL] and this is the secret : [URL="http://chriswondra.com/2007/02/21/peter-answers-the-secret/"]http://chriswondra.com/2007/02/21/peter-answers-the-secret/[/URL] i'm just wondering if i'm capable to do just a simple program that is similar like … |
|
Hey guys working on an assignment called monkey business and here is my code im getting an error on these two things. Error: [CODE] cout << "Monkey number " << [COLOR="Green"](monkey + 1)[/COLOR] << " ate the least amount of food,\n" << leastFood << " pounds, on day " << … |
|
Hi, I guess I'll post here with my problem as well my introduction. I've coded in Java in high school for 2 years but my teacher was horrible so I decided to wait till college to take another programming class. Well I'm Programming Fundamentals and have been assigned a program … |
|
How can i print it recursively with one helper function? [img]http://img2.imageshack.us/img2/1690/recursive.th.jpg[/img] Here, n will always be a power of 2 and c will be indicating the column number from which to start the output. The above pattern has been produced with the initial function call RecursivePattern(8,1) It prototype should be … |
|
Hi all, first thread in here. I usually don't open my executables with any sort of editor, but for the sake of curiosity I've tried opening one. And what I've found is not that funny: I've found myself able to edit every kind of string. Of course you have not … |
|
I am having trouble figuring out an efficient way to perform the checks for how a winner is determined in a 3D tic tac toe program (that is 3x3x3). Winners can be three spaces in any vertical, horizontal, or diagonal, including those between the 3 "boards." There are over 50 … |
|
Hi everyone I need help with something i get this error fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\navideeah\desktop\maplestoryserver\maplestoryserver\mapleisland.cpp(350)' was matched and i get the error around here [code=cplusplus] void NPCsScripts::npc_22000(NPC* npc){ int state = npc->getState(); int map = npc->getPlayerMap(); if(npc->getPlayerMap() == … |
|
I've decided to write a Website in C++. I am sick of dealing with languages that layer on top of other languages, so I just want to write it in C++. I know about CGI++, but I was wondering if there were any other tools or methods used for writing … |
|
I have a Yahoo website that uses phpMyAdmin. I've been given the directive "Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!" I do not know how to run this script (or any script) through phpMyAdmin. I've been looking online and … |
|
hey there Daniweb. So I am in need of some help with a project I have. We need to create a program that will print out rows of asterisks as tall as defined by the user. [CODE]For example, if the user entered, 1 2 3 4 3 2 1 10 … |
|
Hi all, Ok - there's nothing like a BIG challenge to start off my exploration into programming. Given that I'm a complete newbie with more build errors than a builder having a bad day (bad pun!), what I'm really looking for is someone to hold my hand a bit and … |
|
OK, I have been experimenting around with GridBagLayout and I'm getting the hang of it. Things are looking the way I want them to on the INITIAL drawing of the GUI. However, when I RESIZE the JFrame to make it smaller vertically, at a certain point, the proportions get skewed. … |
|
Hello, I am working through a Bachelor of Science degree for Computer Science. As I am going through the classes, I can see that I am not programming savvy. I can get through the labs with the help from TAs but other than that I can only do simple programs. … |
|
I have to write a program that must compute and display the charges for a patients hospital stay. first the program should ask if the patient was admitted as an in patient or an out patient. If the patient was as an in-patient the following data should be entered: the … |
|
Hello all, I just want to make sure if my answer to this question is right or no. If no please help me solve it. Thanks in advance. Here is the problem: What is the output of the following psuedocode num1 = 5 num2 = 1 num3 = 4 aQueue.enqueue(num2) … |
|
Need a little help please: i have been trying to complete this for a couple days but i get more and more confused everytime i try. When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific … |
|
I am writing a program where the user enters 2 strings and the program checsk to see if any characters are in both strings, and if they are, remove them from the first string and print it. So i have this at the moment, and it's almost working but it … |
|
Hi I've written this small program to demonstrate the Diffie–Hellman key exchange algorithm. The desired output from the program is for most runs correct. However occasionally there are some discrepancies in output of the shared secret keys values in that they don't match, when they should. I've found that certain … |