iNET Interactive - Online Advertising Agency
          
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,073
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, 360 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,073
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, 117 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,073
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Advertisement: