Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    GOD's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    I am the God
    Posts
    11,084
    Reputation
    15
    Thanks
    1,516
    My Mood
    Amazed
    Quote Originally Posted by R3V View Post
    All i need to know for my future Career is

    Addition, Subtraction, Multiplication, Division, and Percentages
    Quote Originally Posted by legendaryhack View Post
    What is your future career?
    Probably a prostitute.
    I am the God.

  2. #17
    CyberGenius's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    MPGH
    Posts
    10,434
    Reputation
    345
    Thanks
    2,082
    My Mood
    Amused
    Quote Originally Posted by GOD View Post
    Probably a prostitute.
    Man you are stupid!

  3. #18
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,813
    My Mood
    Sad
    Quote Originally Posted by ROUTE66 View Post
    #include <stdlib.h>
    #include <iostream.h>
    #include <math.h>
    #include <conio.h>

    void main()
    {
    cout<<" Quadratic Equation Calculator"<<endl<<"
    float a,b,c,x,y;
    cout<<" Equation must be in the form of axฒ+bx+c=0"<<endl<<endl;
    cout<<" Please enter the value of a: ";
    cin>>a;
    cout<<" Please enter the value of b: ";
    cin>>b;
    cout<<" Please enter the value of c: ";
    cin>>c;
    x=((-b+sqrt((b*b)-(4.0*a*c)))/(2.0*a));
    y=((-b-sqrt((b*b)-(4*a*c)))/(2*a));


    clrscr();
    cout<<"HERE IS THE SOLUTION USING FACTORISATION


    ";
    cout.setf(ios::showpos);
    float mul=(x*-1)*(y*-1);
    cout<<" xฒ"<<(y*-1)+(x*-1)<<"x"<<mul<<"=0
    ";
    cout<<" xฒ"<<y*-1<<"x"<<x*-1<<"x"<<(x*-1)*(y*-1)<<"=0
    "; //
    xฒ+2x-1x-2=0
    cout<<" x(x"<<y*-1<<")"<<x*-1<<"(x"<<y*-1<<")=0
    "; // x(x+2)-1(x+2)
    cout<<" (x"<<x*-1<<")(x"<<y*-1<<")=0

    "; // (x-1) (x+2)=0
    cout.unsetf(ios::showpos);
    cout<<" x="<<x<<" & x="<<y<<"
    ";
    cout<<"


    exit(EXIT_SUCCESS);
    }


    no just math less?
    Math != programming. Programming in general requires some math(but it is mostly problem solving). Unless you're making a game, or some forms of software, then you need to be at a higher level w\ some knowledge of physics. Mind you, dem math for my (Java one)JevaEngine wasn't hard at all. But for my C++ version I needed to read a couple math papers. But I was using a pretty powerful physics engine.

    Anehway, dat code makes me want to /suicide. So many reasons, I doubt it even compiles, how are you accessing the cout object without accessing via the std namespace? Also, lacks modular design. Asdfasdf, I'm not going to point out everything, but if you wrote ANYTHING CLOSE to that anywhere you'd be fired then killed for raping C++.
    Last edited by radnomguywfq3; 02-19-2010 at 05:14 AM.

  4. #19
    CyberGenius's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    MPGH
    Posts
    10,434
    Reputation
    345
    Thanks
    2,082
    My Mood
    Amused
    #include<stdio.h>
    #include<conio.h>
    #include<dos.h>
    #include<string.h>
    #include<ctype.h>
    #include<stdlib.h>

    void printline(int,int); //Fuction declaration
    main()
    {
    int i,j=0,k=0,time,difference=6,count=0,mcnt=0,fcnt=0, choice;
    char mname[1000],fname[1000],tfname[1000],tm[1000],tf[1000],ch='N';
    char a[7]={"flames"};
    int w=219,f=178,r=1,l=4,A=220,m=15,e=127,s=220;
    clrscr();
    printline(8,1); //Printing new lines
    printf(" %c %c %c%c%c %c %c%c%c %c%c%c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c %c %c %c %c %c %c %c
    %c
    ",w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c%c%c %c %c %c %c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c %c %c %c %c %c %c %c
    %c
    ",w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c%c%c %c%c%c %c%c%c %c%c%c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w) ;
    delay(1000); //Time delay fuction
    printf("

    to");
    delay(1000);
    clrscr();
    printline(8,1);
    printf(" %c%c%c %c %c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    printf(" %c %c %c %c %c %c %c %c %c

    ",f,f,f,f,f,f,f,f,f,f);
    printf(" %c%c%c %c %c%c%c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    printf(" %c %c %c %c %c %c %c
    %c
    ",f,f,f,f,f,f,f,f,f);
    printf(" %c %c%c%c %c %c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    delay(1000);
    printline(25,60);
    clrscr(); //Clear srean fuction
    printline(10,1);
    printf("Enter the MALE Name %c :",11);
    gets(mname); //Get the male name
    strupr(mname); //String change to upper case
    printf("

    Enter the FEMALE Name %c :",12);
    gets(fname); //Get the female name
    strupr(fname); //String change to upper case
    strcpy(tfname,fname);
    if(mname[0]=='

  5. #20
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,813
    My Mood
    Sad
    olawd route you killen me

  6. #21
    GOD's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Location
    I am the God
    Posts
    11,084
    Reputation
    15
    Thanks
    1,516
    My Mood
    Amazed

    Quote Originally Posted by ROUTE66 View Post
    Man you are stupid!


    Quote Originally Posted by ROUTE66 View Post
    #include<stdio.h>
    #include<conio.h>
    #include<dos.h>
    #include<string.h>
    #include<ctype.h>
    #include<stdlib.h>

    void printline(int,int); //Fuction declaration
    main()
    {
    int i,j=0,k=0,time,difference=6,count=0,mcnt=0,fcnt=0, choice;
    char mname[1000],fname[1000],tfname[1000],tm[1000],tf[1000],ch='N';
    char a[7]={"flames"};
    int w=219,f=178,r=1,l=4,A=220,m=15,e=127,s=220;
    clrscr();
    printline(8,1); //Printing new lines
    printf(" %c %c %c%c%c %c %c%c%c %c%c%c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c %c %c %c %c %c %c %c
    %c
    ",w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c%c%c %c %c %c %c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c %c %c %c %c %c %c %c
    %c
    ",w,w,w,w,w,w,w,w,w,w,w,w);
    printf(" %c %c %c%c%c %c%c%c %c%c%c %c%c%c %c %c
    %c%c%c
    ",w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w) ;
    delay(1000); //Time delay fuction
    printf("

    to");
    delay(1000);
    clrscr();
    printline(8,1);
    printf(" %c%c%c %c %c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    printf(" %c %c %c %c %c %c %c %c %c

    ",f,f,f,f,f,f,f,f,f,f);
    printf(" %c%c%c %c %c%c%c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    printf(" %c %c %c %c %c %c %c
    %c
    ",f,f,f,f,f,f,f,f,f);
    printf(" %c %c%c%c %c %c %c %c %c%c%c
    %c%c%c
    ",f,f,f,f,f,f,f,f,f,f,f,f,f,f,f);
    delay(1000);
    printline(25,60);
    clrscr(); //Clear srean fuction
    printline(10,1);
    printf("Enter the MALE Name %c :",11);
    gets(mname); //Get the male name
    strupr(mname); //String change to upper case
    printf("

    Enter the FEMALE Name %c :",12);
    gets(fname); //Get the female name
    strupr(fname); //String change to upper case
    strcpy(tfname,fname);
    if(mname[0]=='

    copy and pasta
    Last edited by GOD; 02-19-2010 at 05:20 AM.
    I am the God.

  7. #22
    CyberGenius's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    MPGH
    Posts
    10,434
    Reputation
    345
    Thanks
    2,082
    My Mood
    Amused
    ARM is that ok?

  8. #23
    CyberGenius's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    MPGH
    Posts
    10,434
    Reputation
    345
    Thanks
    2,082
    My Mood
    Amused
    i give up you win! i fail!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. No-Brush Signature (Advanced)
    By Chronologix in forum Tutorials
    Replies: 13
    Last Post: 05-27-2008, 02:33 AM
  2. Advanced Full Sig Tut
    By -[standoff]- in forum Tutorials
    Replies: 17
    Last Post: 09-22-2007, 03:46 PM
  3. Where could I learn C++? (Beginner, and Advanced stuff)
    By TsumikiriX in forum C++/C Programming
    Replies: 8
    Last Post: 07-19-2006, 09:11 PM
  4. Advanced Backround By InfinityXero
    By Paolo1993 in forum Tutorials
    Replies: 0
    Last Post: 01-27-2006, 09:09 PM
  5. Advanced Box Cut
    By Chronologix in forum Tutorials
    Replies: 11
    Last Post: 01-23-2006, 10:00 PM