Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Knowledge Base > Code Library > More Xmas fun, Pascal's Triangle VB/C++


Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2002, 07:08 PM
OnErr0r's Avatar
OnErr0r OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,685
Default More Xmas fun, Pascal's Triangle VB/C++


This one won't ruin any windows or cause you to reboot :P

Merry Christmas!
Attached Files
File Type: zip triangle.zip (16.7 KB, 381 views)
Reply With Quote
  #2  
Old 12-22-2002, 08:46 PM
OnErr0r's Avatar
OnErr0r OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,685
Default 9X fix

Oops! I didn't notice that 9x didn't like the BITMAPINFO struct I was passing. It really wants a BITMAPINFOHEADER. The VB app works fine on both as is. Here is the C++ update:
Attached Files
File Type: zip cpp_pascal.zip (4.2 KB, 124 views)
Reply With Quote
  #3  
Old 12-25-2002, 11:12 AM
OnErr0r's Avatar
OnErr0r OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,685
Default

Merry Christmas Everyone!


p.s. triangle.zip has the vb code. cpp_pascal has the updated c++.
__________________
Quis custodiet ipsos custodues.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->