Type: Posts; User: g.eckert
Search took 0.02 seconds.
October 23rd, 2009, 02:04 PM
Couldnt you relate it to driver/stub functions??
/* Main is my driver function */
cout<<"Testing the stubs"<<endl;
October 21st, 2009, 02:44 PM
cout<<"GIMME DA WEIGHT"<<endl;
cout<<"GIMME DA MILES"<<endl;
/* round "chargedMiles" UP */
October 19th, 2009, 06:59 AM
****, I need a spellchecker
October 18th, 2009, 06:41 AM
This is ' C ' not C++. If there is a plain C board please redirect me. Thanks.
My instructions for the program
Problem 8.11 on page 366 (35 points)
You will need to include time.h,...
October 16th, 2009, 02:00 PM
dont inline functions just get thrown into the code everyplace they are used? That would be like typing the same piece of code 15 times in your program...
October 16th, 2009, 01:55 PM
Yes it is ' C ' that I am using. I could not find the "Plain C" board.
I was looking for clarification on what I was doing with the pointers and derefrencing. Making sure that I was describing the...
October 16th, 2009, 05:50 AM
why are these global???
double x1, yone, z1;
double x2, y2, z2;
October 16th, 2009, 05:40 AM
I swear I used
scanf("%d", (ptr + i) ); and the compiler complained about something. It is working now though
October 16th, 2009, 05:12 AM
Am I correct in description of the following code
scanf("%d", &*(ptr + i) );/* Store input at the address of the value at (ptr + i)*/
April 19th, 2009, 04:27 AM
I just ran your program and this is what printed.
Enter in path of the file.
F:/Html/htmlfiles/graphics3.htm /* <-- I entered a file path */
April 17th, 2009, 07:28 AM
Hey thanks for clearing that up. Explained very well.
This program is for a CPS class and should demonstrate our knowledge of pointers. The directions say, 'write a function to sort an array using...
April 17th, 2009, 06:40 AM
Could someone explain to me in english what this piece of code does.
Also if you could show equivilant code not using dynamic allocation.
int *myPtr = new int;
The above seems to be...
April 12th, 2009, 09:17 AM
I continued to try the Project method and I eventually got it to work. I was previously still compiling the files individualy within the project. Then i got it to work by building the entire project....
April 12th, 2009, 08:18 AM
Hi, I am completly new to Classes in C++. I have been trying to create a simple class and have had all sorts of problems. I am following directions from my textbook and the code looks correct, I have...
April 9th, 2009, 03:06 PM
Hi, I am making a TicTacToe game. Right now I am trying to design the computer's moves. I want the computer player to check for possible wins, then check for possible blocks and otherwise just make a...
April 4th, 2009, 03:49 AM
Go to Norway for free, finish the education, then move to where you want to work.
April 4th, 2009, 03:34 AM
Hey, I have been looking at internships/jobs in the CPS field, mainly software development and I have noticed that many companies require that you submit some sort of "self started" project. I would...
March 30th, 2009, 07:46 AM
Look for internships that require little or no experience, there are some out there. This will get u enough expierence to move onto something bigger. That is what I will be doing once I finish my...
March 27th, 2009, 05:05 PM
I once had this virus/problem on my laptop that kept opening my cd tray and no matter what I did i could not stop it. I dont know how it happened or how it was programmed tho.
March 27th, 2009, 05:51 AM
Well, im not trying to make a game of craps for other people to play nor am i trying to test how well my craps game works. It is a simple simulation of a craps game that keeps statistics on rolls /...
March 27th, 2009, 04:41 AM
I have this program here that simulates a Craps game and collects statistics about the games. My current design reflects several things i was trying to do.
1. Keeping the "Gameplay" and "Stat...
March 26th, 2009, 08:02 AM
Here is your code with proper indenting.
cout << “\nWhat is your age? “;
cin >> age_user;
March 25th, 2009, 07:35 AM
Your right, its not a huge problem i just found it very ugly. Because I would end up passing the arrays through 2 functions.
From main() --> play() --> shootersPoint();
I just re-read the...
March 24th, 2009, 10:17 PM
Yes i thought about using a struct to group the statistical data but that is basically the same as a class. We could, use classes for this project but we shouldnt. Because the chapter being covered...
March 24th, 2009, 02:22 PM
Here is an example of how to take multiple input from one line.
using namespace std;
Click Here to Expand Forum to Full Width