User Profile

Collapse

Profile Sidebar

Collapse
flash
flash
Last Activity: May 16 '08, 06:46 PM
Joined: Nov 2 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • flash
    replied to Class has three data member
    in C
    # include <iostream>
    # include <string>
    using namespace std;
    class Driller{
    int Code;
    string name;

    viod setValue( int Code, int Depth){
    if Code == 2000 then Depth ==300;
    else
    if Code == 3000 then Depth == 500;
    else
    if code == 4000 then Depth == 1000;
    }

    voidGetvalues int Code, int Depth){
    ???
    }

    Cost(...
    See more | Go to post

    Leave a comment:


  • flash
    started a topic Class has three data member
    in C

    Class has three data member

    I need help in C++
    .Class name Driller has three data member (int Code Private, int Quantity private and Name public)

    it has 3 function:
    1. Depth, the drills drills is based on the following:
    code 2000 depth(m) 300, code 3000 depth 500 and code 4000 depth 1000.

    2. Cost which computes the daily cost for using driller it uses the following:
    depth (300) daily cost (quantity*100)
    depth...
    See more | Go to post

  • Show/hide description onmouseover/onmouseout and change font color/size ondoubleclick

    1-When the mouse is over the course title. Its description should appear. When it the mouse is out, the description should disappear.

    2-when double click on a word, its color changes to (green) and gets larger.
    =============== =============== =====
    [HTML]<head>
    <script type="text/javascript"> // i think this code need some modifying
    function mover(text){
    var x=document.getE lementById('des play');...
    See more | Go to post
    Last edited by gits; Dec 18 '07, 08:10 AM. Reason: added code tags

  • flash
    replied to Need help with inheritance
    in C
    AFTER LINKING (MICROSOFT VISUAL C++):
    Compiling...
    asss.cpp
    c:\documents and settings\m8au\d esktop\assssss\ asss.cpp(50) : error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'class std::basic_stri ng<char,struct std::char_trait s<char>,class std::allocator< char> >' (or there
    is no acceptable conversion)
    c:\documents and settings\m8au\d esktop\assssss\ asss.cpp(59)...
    See more | Go to post

    Leave a comment:


  • flash
    replied to Need help with inheritance
    in C
    Thanks
    could u try this program in microsoft visual c++ 6.0 (1998).
    it is not working well....
    See more | Go to post

    Leave a comment:


  • flash
    started a topic Need help with inheritance
    in C

    Need help with inheritance

    I need to complete derived class and main class:
    derived class should have data member: major(string), grades: an array of integrs (size 5).
    it should have methods to:
    1-set and get the major.
    2-insert a grade in the grades array.
    3-compute the gpa of the 5 courses.
    THEN:
    MAIN METHOD THAT :
    1-Creat a diploma student.
    2-et the name of the student to a value that program gets from the user....
    See more | Go to post

  • Need hlep to delete array only because all function is ok (inser, sort andsearch)

    Need hlep to delete array only because all function is ok (inser, sort andsearch)


    #include <iostream.h>

    //functions prototype
    void Insert(int[],int);
    void Delete(int[],int);
    int Search(int[],int);
    void Sort(int[],int);

    int n=0,i=0,locatio n;
    bool found;

    //main
    int main()
    {

    int grades[10],i,g;
    for(i=0;i<4;i++ ){...
    See more | Go to post

  • who can help please ??
    See more | Go to post

    Leave a comment:


  • This is my solution but not working well:

    #include <iostream.h>

    //functions prototype
    void Insert(int[],int);
    void Delete(int[],int);
    int Search(int[],int);
    void Sort(int[],int);

    int n=0,i=0,locatio n;
    bool found;

    //main
    int main()
    {

    int grades[10],i,g;
    for(i=0;i<4;i++ ){
    cout<<"Enter a new...
    See more | Go to post

    Leave a comment:


  • ?Thanks for all because no body help me!!!
    See more | Go to post

    Leave a comment:


  • ?????
    ????
    ???
    See more | Go to post

    Leave a comment:


  • flash
    started a topic Main program call 3 functions:Insert,Delete & Search
    in C

    Main program call 3 functions:Insert,Delete & Search

    write a program that manipulates arrays of integers. The main program should call three functions: Insert, Delete, and Search. The Insert function should call a function Sort that sorts the array.

    Here is a description of the three functions:

    Insert: Accepts as input the array and the element you want to insert into the array. The function should insert the element at the end of the array and should call the function...
    See more | Go to post
No activity results to display
Show More
Working...