Thanks, I just happened to pick the book up at a the library today and it was on C, so I'd figure I'd give it a shot. Maybe I'll take C++ when that book comes in.
Thanks
__________________ Stevie Peele Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org #dev - any programming,etc. question #design - design discussion and critque #central - general chat Come join us!
C++ is backwards compatible with C but there are some massive differences if you start with C++ and revert to C. C++ in my oppinion is a great place to start as well...
Borland do a set of free tools including a compiler (all command line tools) , also think about getting Cygwin if you like to play with the command line, also google for ming.
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
I downloaded the bloodshed DEV-c++ compiler. And I just started a tutorial, but how do I view the results of what I do.. Like if i type :
int main()
{
cout<<"TEST TEST ";
return 0;
}
into the compiler. I try pressing the run command, but nothing happens..
thats because you have to compile the program before runing it
Execute->compile: compiles your code into computer code
Execute->Run: runs program, after it has been compiled
Execute->Compile and Run: ...
Execute->Rebuild all: will entirly recompile your project (normal compile doesn't always recompile all files)
Execute->Debug: debug your program
__________________
photoshop too expensive? use the GIMP! www.gimp.org
That command prompt is showing up, printing out "TEST TEST" just like you programmed it to, and then closing because your program is finished. If you open a command prompt, and run the exe you built from there you'll see the "TEST TEST". Or you could add some code to make the program pause before it exits and see it when you run from the IDE as well.
I'm not a fan of DevCPP. Although it's one of the only compilers I found that doesn't require a compiler to compile itself (chicken...egg loop). I always got lost with non-gui compilers. But DevCPP seems overbloated. Just to save a file, it wants me to give it a "project name" (total waste of time). And the real pain is that the CPP file cannot have the same name as the project name. So I find myself making random names for the CPP file since I wasted the meaningful name on the project name. All I wanted was to make a CPP file and compile it, while having the luxuries of syntax highlighting and col/row count. This and more can be found in Editplus. I'm no C expert but I prefer something that doesn't make me more confused than I already am. Errors such as "return value is not an int" in void functions is a total mess.
devcpp isn't technicaly a compiler, its an IDE which uses the mingw compiler. for small projects it's true that its a pain to have to use projects(and MSVC++ is the same apparntly) but if your going to compile a small project just use mingw without going through devcpp. why is "return value is not an int" in void functions is a total mess? thats the compiler result not devcpp