User Profile

Collapse

Profile Sidebar

Collapse
fowle040
fowle040
Last Activity: Apr 2 '07, 09:15 PM
Joined: Sep 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fowle040
    replied to counting objects
    in C
    Code:
    #include <iostream>
    #include <string>
    #include <cmath>
    #include "vehicle.h"
    #ifndef FLEET
    #define FLEET
    using namespace std;
    
    class Fleet{
    	Vehicle vehicle;
    private:
    string available, rented, shop;
    int total;
    
    public:
    Fleet();
    Fleet(int,string, string,string);
    Fleet(const Fleet&);//, string);
    ...
    See more | Go to post

    Leave a comment:


  • fowle040
    started a topic Beginning C++ programmers

    Beginning C++ programmers

    Hi,
    how was your first experience in C++?
    what was your first project, if you remember?
    what made you interested in C++?
    what do you like most about C++?
    do you have a job using C++?
    See more | Go to post

  • fowle040
    started a topic counting objects
    in C

    counting objects

    I have everything figured out but this one little detail could you help me into figuring out how to count each car and adding them to the fleet. I need to know the syntax and what type of mehtod I need to use. The part I'm having trouble with is marked//////starting here!!!!!!!!!!! .Do I use count or an overloaded operator function, please help me. Of course this is just a segment of my code it is longer than this. I hope it is sufficient enough...
    See more | Go to post

  • fowle040
    started a topic cplusplus help w/comparing strings
    in C

    cplusplus help w/comparing strings

    Code:
    #include <iostream>
    #include <string>
    #include <ctime>
    using namespace std;
    
    class Address{
    private:
    	string street, city, state, zip, country;
    	
    public:///////////////std::string Address::street2
    	Address();
    	Address(string, string, string, string, string);
    	Address(const Address &);
    	bool compare(Address &);
    	bool merge (Address
    ...
    See more | Go to post
    Last edited by Ganon11; Jan 25 '07, 10:47 PM. Reason: code tags added

  • fowle040
    replied to true/false statements
    in C
    hi, thanks but I need to know how to write a true false statemen using names. First and last name. thank you for all your help, i really needed it and appreiciate it.
    See more | Go to post

    Leave a comment:


  • fowle040
    started a topic true/false statements
    in C

    true/false statements

    Can you help me to write a method to return true if a number or rational class is positive and return false if it is negative. I hope that is simplified enough. I'm not sure how else i can put it.
    See more | Go to post

  • fowle040
    replied to Arrays
    Thank you so much for your help. I really appreciate it....
    See more | Go to post

    Leave a comment:


  • fowle040
    started a topic Arrays

    Arrays

    Below is a JavaScript program. How can I create an array and modify the code so that the table goes to 100 instead of 10?

    I appreciate all your help

    <?xml version = "1.0"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    <html xmlns = "http://www.w3.org/1999/xhtml">...
    See more | Go to post

  • fowle040
    started a topic My Main problem is........................?
    in C

    My Main problem is........................?

    my task is to create a game and I don't know what is wrong with my main(s). I was instructed there were to be 2. one for game and one for character.

    #include <iostream>
    #include <string>
    #include <cstdlib>
    #include "character. h"
    //#include "game.h"
    using namespace std;

    int main( string hair ,string eyes, char name, int strength, int health,int...
    See more | Go to post

  • fowle040
    replied to C++ game
    in C
    c++ game continued

    B]venue.cpp[/B]
    #include <string>
    using namespace std;
    #include "venue.h"

    Venue:: Venue (string 1, string 2, string 3,string 4, int a, int b, int c,){
    1= PlayerOne;
    2= PlayerTwo;
    3= location;
    4= teraform;
    a= level;
    b= health;
    c= strength;
    }
    Venue:: Venue (const Venue & d) {////maybe change the d...
    See more | Go to post

    Leave a comment:


  • fowle040
    started a topic C++ game
    in C

    C++ game

    I underlined and bold print my files.
    I need to know how to make this code into a working game.
    The object of the game is to have two players 1- belle and 2-beast.
    I want them to lose and gain strength and health, when 0 die.
    I need to know how to make them interact.
    I need to know what to do with teraform (creek, pasture, brick road) how to add.
    I need the public interface to look like the forest....
    See more | Go to post

  • fowle040
    replied to How to get started (Concept)
    in C
    game

    int main( ) {

    Game g1( parameters );
    Character p1( parameters ), p2( parameters );
    Venue forest( parameters );

    g1.setLevel(5);

    g1.setPlayerOne (p1);
    g1.setPlayerTwo (p2);

    g1.setLocation( forest);

    meet(g1.PlayerO ne, g1.PlayerTwo);

    cout << g1.PlayerOne << g1.PlayerTwo << endl;

    g1.teraform(...
    See more | Go to post

    Leave a comment:


  • fowle040
    replied to How to get started (Concept)
    in C
    I am trying to create a game. I will send my updated info in a second. Please let me know about the format, wheter or not it is correct....
    See more | Go to post

    Leave a comment:


  • fowle040
    started a topic How to get started (Concept)
    in C

    How to get started (Concept)

    1. what classes will I need?
    2. what private attributes and methods should I include?
    3. I need to use the Character concept along with some additional ideas to implement the following main........... .
    HELP!!!!!!!!!!! !!!


    int main( ) {

    Game g1( parameters );
    Character p1( parameters ), p2( parameters );
    Venue forest( parameters );

    g1.setLevel(5);

    ...
    See more | Go to post
No activity results to display
Show More
Working...