#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;
Type: Posts; User: faluiretoread
#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;
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++
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 =...
thanx
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: ");
wow, simple mistakes mess everything up. than kyou
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,...