i bought a c++ book and have started programming, and know basic functions (kinda). unfortunately the book works with a program that doesn't seem to work. i got frustrated and haven't really tried...
Type: Posts; User: blasta
i bought a c++ book and have started programming, and know basic functions (kinda). unfortunately the book works with a program that doesn't seem to work. i got frustrated and haven't really tried...
i thoguht it was pretty cool dude. no graphics, but its much better than i could do!:)
ah, good point!:)
well you COULD close your eyes!:p
i guess most people are different from me then, because i usually dont want to download :p
P.S. i meant to fix the code tags for the first post, but for some reason it said that the post didnt...
oh, ok. it has <iostream.h> on the tut at the cprogramming site, so it must have been written a little while ago i guess.
here is my very first game. it's a math game, and doesent even use graphics (i dont know how to put them in yet) but just asks you a series of questions and says something (different each time) and...
whats really the point of changing it if it worked fine before? i mean, does it really matter that you have ".h" after iostream? or is there something else that it does?
oh, im using Dev-C++ 4.9.4.1
i dont think so, i dont even know what it is so i guess no.
i know this is said a long time after you posted, but im wondering how do you make a header file?
thanx again, it worked :)
i dont know how i spelled something like { wrong though...
EDIT
oops sorry i didnt look at your post well enough, i thought it was just a direct quote. thanx a lot again, it works!!! ill just...
ok, here is my program (its pretty crappy, but im just tryin to make something):
#inlcude <iostream>
#include <stdlib.h>
int main();
{
and one more thing, how do you fix a parse error? or a syntax error? :confused:
i get all kinds and i dont know how to fix them! :eek:
when you make a second source file for your project, do you still have to write #include "<iostream.h>", "int main();" or anything else for it to run? what im saying is that if you write it in the...
oh ok, thats what i thought. thanks.
im just wondering if you have to put indents, and im also wondering if you have to put a space between each line. lets take the hello world program on your site. does it need the spaces between the...
thanx a LOT alpha! it worked!!!!
PS if you still want me to explain further cj then say
i have read the faq and havent found the answer to my question, but if its there, then please tell me and i will say sorry for asking it.
it said on your site that to keep the window open simply...