#define's Profile User Rating: *****

Reputation: 1434 Grandmaster
Group:
Expert
Active Posts:
4,991 (2.3 per day)
Joined:
19-February 09
Profile Views:
44,423
Last Active:
User is offline Jan 29 2015 09:49 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
LandRover
Dream Kudos:
0
Expert In:
C/C++

Latest Visitors

Icon   #define has not set their status

Posts I've Made

  1. In Topic: Learning...

    Posted 29 Jan 2015

    You want to use the stream operator << between each variable and constant in the statement, and the correct variable.

    22  cout << "Your moon weight is: " << moonweight << endl;
    
    



    Basic Input/Output
  2. In Topic: Intro to C help. printf, scanf. Probably Basic things

    Posted 29 Jan 2015

    What did you try?

    Did you use parentheses? : (have - floor(have)) * 100
  3. In Topic: what is going on with this while loop?

    Posted 29 Jan 2015

    Also, notice the semicolon on the same line.
  4. In Topic: Discrepancy between IDE and .EXE

    Posted 28 Jan 2015

    On line 21, BMI is a double so the format symbol should be %lf. The compiler probably trusts you to get that right.
  5. In Topic: Can't get my output on the same line

    Posted 27 Jan 2015

    In writeMiniVector you are outputting newlines \n after each number.

My Information

Member Title:
Duke of Err
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Delta Quadrant
Years Programming:
12
Programming Languages:
C,C++,HTML,CSS

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    GryphonClaws Icon

    10 Jan 2013 - 01:15
    Thanks #define. I can't believe I missed such a simple detail.
  2. Photo

    raghav.naganathan Icon

    07 Nov 2012 - 20:40
    Dude...before your reputation changes, I would like to tell you that it(729) is a perfect cube :) Cheers :)
Page 1 of 1