How to insert a web link?
tetris game
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > C/C++ Programming > tetris game 11 May 2006 22:16:40

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

tetris game

R.Subramanian 11 May 2006 22:16:40
 hi friends
first of all sorry for using outdated turbo c++
but i dont know how to do graphics in c i modern compilers
help me if fu can
i have written a cprog for "tetris" game and uploaded in Files > c
files
section
please if u have time give me suggestions and modify the code for
better efficiency (,i think the logic i have used is not much
efficent.)
thank u.







-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
Everything you need is oneВclick away.В Make Yahoo! your home pageВnow.
http://us.click.yah­oo.com/AHchtC/4FxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
Nico Heinze 10 May 2006 23:39:43 permanent link ]
 --- In c-prog-hHKSG33Tihhb­jbujkaE4pw@public.gm­ane.org, "R.Subramanian" <subu22_nov@...> wrote:>
hi friends > first of all sorry for using outdated turbo c++> but i dont know how to do graphics in c i modern compilers> help me if fu can > i have written a cprog for "tetris" game and uploaded in> Files > c files section> please if u have time give me suggestions and modify the code> for better efficiency (,i think the logic i have used is not> much efficent.)

I won't look at the code, and I have two suggestions for you:

1) if you're willing to be really careful about performance tuning,
learn and use Java.
2) If you're bound to Windows environments, study Windows programming
in general and then DirectX for graphics / games programming.

Regards,
Nico





-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yah­oo.com/_7bhrC/NGxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
Thomas Hruska 11 May 2006 00:10:19 permanent link ]
 Nico Heinze wrote:> --- In c-prog-hHKSG33Tihhb­jbujkaE4pw@public.gm­ane.org, "R.Subramanian" <subu22_nov@...> wrote:>> hi friends >> first of all sorry for using outdated turbo c++>> but i dont know how to do graphics in c i modern compilers>> help me if fu can >> i have written a cprog for "tetris" game and uploaded in>> Files > c files section>> please if u have time give me suggestions and modify the code>> for better efficiency (,i think the logic i have used is not>> much efficent.)>
I won't look at the code, and I have two suggestions for you:>
1) if you're willing to be really careful about performance tuning,> learn and use Java.> 2) If you're bound to Windows environments, study Windows programming> in general and then DirectX for graphics / games programming.>
Regards,> Nico

Or SDL: http://www.libsdl.o­rg/index.php

Which is portable to multiple platforms.

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.

Learn more and view a sample chapter:
http://www.CubicleS­oft.com/SafeCPPDesig­n/



-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
Home is just a click away.В Make Yahoo! your home page now.
http://us.click.yah­oo.com/DHchtC/3FxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
Michael Aaron Safyan 11 May 2006 03:42:41 permanent link ]
 Actually, about the 2nd route, DON'T LEARN DirectX; Microsoft no longer supports DirectX in Vista and will not support it in later operating systems. Instead, Microsoft has introduced "WinFX". The best way to go in C/C++ with graphics is with a cross-platform library whose maintainers will take care of deprecations such as this and who will provide some level of "cross-platform-nes­s" to it.

Thomas Hruska <thruska-hKUVCAe+sa­ym1FQbPH9wZw@public.­gmane.org> wrote: Nico Heinze wrote: > --- In c-prog-hHKSG33Tihhb­jbujkaE4pw@public.gm­ane.org, "R.Subramanian" <subu22_nov@...> wrote: >> hi friends >> first of all sorry for using outdated turbo c++ >> but i dont know how to do graphics in c i modern compilers >> help me if fu can >> i have written a cprog for "tetris" game and uploaded in >> Files > c files section >> please if u have time give me suggestions and modify the code >> for better efficiency (,i think the logic i have used is not >> much efficent.) >
I won't look at the code, and I have two suggestions for you: >
1) if you're willing to be really careful about performance tuning, > learn and use Java. > 2) If you're bound to Windows environments, study Windows programming > in general and then DirectX for graphics / games programming. >
Regards, > Nico

Or SDL: http://www.libsdl.o­rg/index.php

Which is portable to multiple platforms.

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.

Learn more and view a sample chapter:
http://www.CubicleS­oft.com/SafeCPPDesig­n/



To unsubscribe, send a blank message to <mailto:c-prog-unsu­bscribe-hHKSG33Tihhb­jbujkaE4pw@public.gm­ane.org>.



SPONSORED LINKS
C programming language Programming languages Computer programming languages Java programming language

-------------------­--------------
YAHOO! GROUPS LINKS


Visit your group "c-prog" on the web.

To unsubscribe from this group, send an email to:
c-prog-unsubscribe-­hHKSG33TihhbjbujkaE4­pw@public.gmane.org

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


-------------------­--------------





-------------------­--------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Add comment
Andrew Clarke 11 May 2006 18:56:59 permanent link ]
 On Wed, May 10, 2006 at 04:42:41PM -0700, Michael Aaron Safyan wrote:
Actually, about the 2nd route, DON'T LEARN DirectX; Microsoft no> longer supports DirectX in Vista and will not support it in later> operating systems.

Are you sure about this? That would mean no current game will not run
under Vista.


-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yah­oo.com/DHchtC/3FxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
Paul Herring 11 May 2006 19:16:09 permanent link ]
 On 5/11/06, andrew clarke <
mail-AAHIVNCsKZtWk0­Htik3J/w@public.gman­e.org [mailto:mail-AAHIVNCsKZtWk0Htik3J/w@public.gmane.org]>
wrote:

On Wed, May 10, 2006 at 04:42:41PM -0700, Michael Aaron Safyan
wrote:
Actually, about the 2nd route, DON'T LEARN DirectX; Microsoft no > longer supports DirectX in Vista and will not support it in
later > operating systems.

Are you sure about this? That would mean no current game will not
run
under Vista.


What a wonderful opportunity this would be for all the games
makers...</cynicism­>

Meanwhile back in the real world, Google seems to think that Vista
does support Direct X:
http://news.google.­co.uk/news?hl=en&q=D­irectX%20in%20Vista&­btnG=Google+Search&s­a=N&tab=wn
[http://news.google.­co.uk/news?hl=en&q=D­irectX%20in%20Vista&­btnG=Google+Search&s­a=N&tab=wn]

--
PJH

#638999 +(237)- [X]
<HeatZync> what is the use of the calendar?
<RogueRunner> it's like DNS for days

Potential 5-7p off per litre of petrol (UK Only) -
http://www.pipeline­card.org/default.htm­l [http://www.pipeline­card.org/default.htm­l]

To unsubscribe, send a blank message to
<mailto:c-prog-unsu­bscribe-hHKSG33Tihhb­jbujkaE4pw@public.gm­ane.org>.



SPONSORED LINKS

C programming language [http://groups.yahoo­.com/gads?t=ms&k=C+p­rogramming+language&­w1=C+programming+lan­guage&w2=Programming­+languages&w3=Comput­er+programming+langu­ages&w4=Java+program­ming+language&c=4&s=­122&.sig=jGGm0hBHrsX­HeWFlqPCEkQ]

Programming languages [http://groups.yahoo­.com/gads?t=ms&k=Pro­gramming+languages&w­1=C+programming+lang­uage&w2=Programming+­languages&w3=Compute­r+programming+langua­ges&w4=Java+programm­ing+language&c=4&s=1­22&.sig=G7Yu1P3cvDLl­4EPgbWa73A]

Computer programming languages [http://groups.yahoo­.com/gads?t=ms&k=Com­puter+programming+la­nguages&w1=C+program­ming+language&w2=Pro­gramming+languages&w­3=Computer+programmi­ng+languages&w4=Java­+programming+languag­e&c=4&s=122&.sig=uW2­j7JgtDrMK1EWQEKwXDw

Java programming language [http://groups.yahoo­.com/gads?t=ms&k=Jav­a+programming+langua­ge&w1=C+programming+­language&w2=Programm­ing+languages&w3=Com­puter+programming+la­nguages&w4=Java+prog­ramming+language&c=4­&s=122&.sig=IVlyNnJo­j7uej1A9QLneYA]


-------------------­--------------------­--------------------­----------

YAHOO! GROUPS LINKS

* Visit your group " c-prog [http://groups.yahoo­.com/group/c-prog]"
on the web.

* To unsubscribe from this group, send an email to:
c-prog-unsubscribe-­hHKSG33TihhbjbujkaE4­pw@public.gmane.org [mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=Unsubscribe]

* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service [http://docs.yahoo.c­om/info/terms/].


-------------------­--------------------­--------------------­----------

Add comment
Andrew Clarke 11 May 2006 19:21:39 permanent link ]
 On Fri, May 12, 2006 at 12:56:59AM +1000, andrew clarke wrote:
Actually, about the 2nd route, DON'T LEARN DirectX; Microsoft no> > longer supports DirectX in Vista and will not support it in later> > operating systems.>
Are you sure about this? That would mean no current game will not run> under Vista.

Err. -not


Note to self: Proof-read my replies. No, really.


-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yah­oo.com/_7bhrC/NGxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
Thomas Hruska 11 May 2006 22:16:40 permanent link ]
 Paul Herring wrote:> On 5/11/06, andrew clarke <mail-AAHIVNCsKZtWk­0Htik3J/w@public.gma­ne.org> wrote:>>
On Wed, May 10, 2006 at 04:42:41PM -0700, Michael Aaron Safyan wrote:>>
Actually, about the 2nd route, DON'T LEARN DirectX; Microsoft no>> > longer supports DirectX in Vista and will not support it in later>> > operating systems.>>
Are you sure about this? That would mean no current game will not run>> under Vista.>>
What a wonderful opportunity this would be for all the games> makers...</cynicism­>>
Meanwhile back in the real world, Google seems to think that Vista does> support Direct X:> http://news.google.­co.uk/news?hl=en&q=D­irectX%20in%20Vista&­btnG=Google+Search&s­a=N&tab=wn

See my blog. I've already discussed this at length (in two separate
blog entries) on the issues involved and why I know that This Is A
Really Bad Idea(TM). Windows Vista's graphics engine is built on top of
Direct3D (supposedly DirectX 10's Direct3D). WinFX is merely the
_managed_ .NET interface to the vector-based graphics engine. The very
stable GDI interface is also being replaced behind the scenes but will
leave the high level APIs alone so that existing programs continue to
work. For more information:

http://msdn.microso­ft.com/winfx/
(Mouse over "Windows Presentation Foundation" to see that Microsoft
themselves say Direct3D - a part of DirectX - is the core graphics
engine for Windows Vista.)

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.

Learn more and view a sample chapter:
http://www.CubicleS­oft.com/SafeCPPDesig­n/



-------------------­----- Yahoo! Groups Sponsor -------------------­-~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yah­oo.com/_7bhrC/NGxNAA­/yQLSAA/EbFolB/TM
-------------------­--------------------­--------------------­---------~->

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > C/C++ Programming > tetris game 11 May 2006 22:16:40

see also:
error creating verity collection
Simple timesheet program
Re: CFEclipse and FTP (was: MM and…
пройди тесты:
see also:
...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .