^^^
Hey,
Great solution, kinda similar to mine in regards to the array of structures, I'm at school now but i'll post what I have so far when I get home! From what I can tell you definatly...
Type: Posts; User: matt.s
^^^
Hey,
Great solution, kinda similar to mine in regards to the array of structures, I'm at school now but i'll post what I have so far when I get home! From what I can tell you definatly...
Yeah after looking into it a struct definatly makes the most amount of sense from what I can see, I'm working on getting it all in order now lol :P
Hey!
Sorry for taking so long to check back, I've been going through my code and should have something up soon hopefully....
Yeah I apologize for being vague in my original post, in regards to...
Hey!
thanks for getting back to me! Wow I love what you did with it so far, MUCH more simplified and coherent! Yeah the #defines were definatly a bad way to go and created such a headache when...
^^
Thanks for the reply, I have another day or so to get this done so I'd absolutely like to give it another go...
I follow most of your theory but I'm still confused a bit, in regards to the...
I've been having a lot of trouble with this one, any help would be great.
I basically have to create a point of sale application for tabulating a bill. The waiter/waitress has menu/drink/desert...
^^^
Yes!
seems to be working now, although with the same code I1 was coming up as <null> earlier...lol
thanks for the help guys.
when i first did...
#define i1 "ROAST PRIME RIB "
#define i1_p 12.45
i1[0];
printf(" A %s \t\t%f",i1, i1_p);
i suppose i can just use %f for now...?
^^
okay I apologize, i should have offered more details in my explanation, and it is true I did not read the forum sticky, so for that i apologize...
I looked into the proper use of %d as you...
^^
clearly I'm a beginner and just looking for a little guidance, I think it's fairy obvious what I'm trying to do here and I'm sure you can see that, no need for an elitist attitude. If you want...
I have a really quick question, I have a bunch of define statements, but they aren't initializing. I believe I'm suppose to set them to "0", but haven't been successful in getting it correct....
...
Thats exactly it, thanks for the effort, i really appreciate it, and see where I made errors, you sir are a godsend! :)
This is what i'd like to do, only have it execute if else is true, i've moved the open brace, but for the life of me I can't figure out where to put the close brace for that statement :S
...
^^^
Thanks for the tips, I made the corrections, but meter is still coming up as being used without being initalized, and i need it to be an int.....
#include <stdio.h>
#include...
Thought I had it all figured out, but i can't get it to compile properly!! grrrrrrrr!!
Basically everything is good, it compiles, but then it crashes and says that either 'meter', 'inlet', or...
Ohhhh i was doing the %lf in the wrong place! and your right, its working perfect now! Thank you so much, greatly appreciated!!!!
^^
same output
kinda whack no? :S
Input: 25
Output:
You entered a radius of -925596047186160310000000000000000000000000.000...
The Volume of the sphere is: -33164118186955090000000000000000000000000000.000.....
The Area of the...
^^^^^
ahhh i see what your saying their, my teacher has clearly lost the plot i think lol :P
ahhhhhh its still giving me the wrong output! how can such a simple little program be so confusing!?!...
(radius,2) = radius squared
(radius,3) = radius cubed
or at least it does according to my teacher, who could very well be wrong lol
^^^
yeah just noticed that, gave it a quick fix the numbers are a bit better, but still way off.....
for some reason the radius is coming up as -92556900000000000000.000 when i display it at the...
^^^
AHH! okay makes perfect sense, I corrected that and now the program compiles!! :) :)
im not getting the desired output though lol
if i enter a radius of 25, i should get a volume of...
Ahhh okay..
I renamed it as a ".c" and its running a little smoother i think, but im still coming up with errors :S
1>c:\users\matthew\desktop\assignment.c(28) : warning C4047: 'function' :...
^^^^
THANK YOU! :) ahh i see now, i wasnt pointing the right way, so the compiler didnt know!
i'm still coming up with these errors...
1>c:\users\matthew\desktop\assignment.cpp(27) : error...