Search:

Type: Posts; User: faluiretoread

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    846

    last string is always the answer

    #include <stdio.h>
    #include <string>
    #include "simpio.h"
    #include "genlib.h"
    #include "strlib.h"
    int main() {
    string longestString, current;
    int work = 0;
    int possible;
    int greatest;
  2. Replies
    10
    Views
    3,360

    it is c++, the first code posted contained quite...

    it is c++, the first code posted contained quite a few errors, ive had to add <string> thank you for the help.
    MS visual c++
  3. Replies
    10
    Views
    3,360

    now i have worked it out a little but im getting...

    now i have worked it out a little but im getting a strange error here:

    if (StringEqual(whatShape, "cylinder"))
    {
    double radius, radiussquared, height, ansr, pi;
    int radius1, height1;
    pi =...
  4. Replies
    10
    Views
    3,360

    thanx

    thanx
  5. Replies
    10
    Views
    3,360

    strange error int

    here is my code


    #include <stdio.h>
    #include "genlib.h"
    #include "simpio.h"
    #define pi 3.14
    int main() {
    string whatShape;
    printf("enter the shape: ");
  6. wow, simple mistakes mess everything up. than kyou

    wow, simple mistakes mess everything up. than kyou
  7. quadratic equation cpp program problems

    this is the code i have written so far (BTW GetInteger is a short cut to just get an int straight from code)


    #include <stdio.h>
    #include "math.h"

    int main() {
    double a, b, c, ansr1, ansr2,...
Results 1 to 7 of 7