Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Nov 2012
Offline Last Active Nov 26 2012 02:34 PM

Topics I've Started

strange occurence mittle piecec++ code I wrote

14 November 2012 - 06:09 AM

Hello everybody,

I have started with studying C++ and it goes very well since I never have learned a program language. I studied from the e-book juming into C++ which is a very good ebook for beginners.

Now I have wrote a piece of code and when I put in the numbers it is going good. But <hen I do a test and as a first number or in dutch type eerste number and then an a or b I get a very strange result..Can somebody explain why he is doing that?

So I learn more about behavour of C++ I have wrote the code in orwell devC++

the code is:

#include <iostream>
using namespace std;
int main ()
int eerste_liefdes_nummer;
int tweede_liefdes_nummer;

cout << "type eerste liefdes nummer: ";
cin>> eerste_liefdes_nummer;
cout << "type tweede liefdes nummer: ";
cout << eerste_liefdes_nummer << " * " << tweede_liefdes_nummer << " = " << eerste_liefdes_nummer * tweede_liefdes_nummer << endl;
cout << "jullie zijn heel erg verliefd";



07 November 2012 - 07:58 AM

I read on the internet that dev-c++ from bloodshed is not updated and is full of bugs?
Is this true and if it is what is the best tool to use instead?

beginning C++ game programming

07 November 2012 - 07:55 AM

What do you people think of this book as a beginner?

Anyone know a good book to start learning C++?

This is the link to the book