Programming Blog

Hey guys, i have modified my blog from all your comments and suggestions. So feel free to check it out and point out any problems or errors. Even your suggestions are welcome

http://programsplusplus.blogspot.com/
Pretty cool man, keep it up!
Uppercase to Lowercase and Lowercase to Uppercase is very similar :p

Do you realize that strupr and strlwr is not standard C++ functions? Same with random and randomize. I don't know if you are aiming for only standard C++ but I think you could at least point out that they are not standard functions because it is very easy to believe otherwise.
Last edited on
closed account (zb0S216C)
In the Use of '&' operator in C++ post, why have you used a pointer to attain the address of a variable? Why not just use the ampersand?

Wazzak
that is petty much impressive i like it
In your C++ FAQ you say some strange things. Here are a few:

6. This is just wrong.

8. You say that getline() has an advantage over cin but it's a bit strange to compare a function with a variable. When you use getline in the example you are also using cin. You should also use <iostream> instead of <iostream.h>.

10. Divide by zero does not throw an exception in C++.
Peter87 wrote:
6. This is just wrong.

This.

In C,
#define NULL ((void*)0) // or ((void*)0l)
However, in C++,
#define NULL 0
I'm all for a blogspot for beginners (I'm a big fan of those; the "random" nature of it makes it fun to read), but I think it's a bit dangerous to write one if you're not really good at C++ yourself. I consider myself a beginner, but even I know some of the things you write are wrong.

For one thing, saying the ampersand is the "address of" operator is only partly correct. The unary ampersand operator is the "address of" operator. Anyone who reads your blog and then sees "if (a&1)" is going to be really confused.
By the way: some basic formatting really wouldn't hurt. If I accidentally came across your blog, I'd close the page after a second.

[edit]

After further reading: a beginner that reads your blog will be very confused about pointers and references. I think you should learn about them properly before making posts about them...
Last edited on
closed account (zb0S216C)
Also, you compare std::endl with '\n'. You failed to mention that std::endl is a function, whereas '\n' is an integral constant. Not a fair comparison, is it?

I should mention that this post: http://programsplusplus.blogspot.com/2012/01/program-to-demonstrate-use-of-jump.html is better off forgotten.

Wazzak
Last edited on
Framework wrote:
You failed to mention that std::endl is a function

I didn't know endl was a function, but you are correct. Nice learning new things. Thank you!
Last edited on
Gaminic --- what do u exactly mean by formatting ????????
closed account (zb0S216C)
Hellbreaker666, I think he/she's referring to the lack of code formatting. In other words, the way you've written your code is... hard to read -- terrible, to say the least.

Wazzak
Last edited on
Also your actual posts are riddled with spelling and grammatical errors. I would try to clean those up to make them look appealing.
Topic archived. No new replies allowed.