Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


C++ Window Tutorials - www.subduck.com

This topic is 5868 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, I have created a c++ programming site at: www.subduck.com It''s a great site that has a lot of c++ window programming tutorials as well as console tutorials. It has a nice message board too. Please tell me what you think Sincerely, Subduck

Share this post

Link to post
Share on other sites
Good luck with your site.

Some criticisms on the CS161 final... none of it is your fault, but well, C++ still isn''t taught properly nowadays

1c - You can write to a file via cout, all it takes is to reassign the internal buffer. cout.rdbuf().swap( ofs.rdbuf() );, where ofs is an output file stream.

1d - See above, using standard IO is preferred to explicit files when writing shell programs that can act as filters. Stream redirection can occur on the command line.

3 - just rely on static initialisation : float c[101] = { 0.0 }; the 100 other values will be zeroed by default.

6 - <iostream.h> is deprecated (note though, that when using it, cout = ofstream( "outfile" ); is usually valid code... letting you write to a file using cout, cf question 1c).

12 - The function exists std::accumulate( values, values+count, 0.0 ) in <algorithm>

13 - The function exists std::equal( array_1, array_1+size_1, array_2, array_2+size_2 ); in <algorithm>

You may want to discuss these points during you CS162 class

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!