345 Posted Topics

Member Avatar for Dean_Grobler

I haven't got an iTouch (yet), but I played World At War: Zombies on a friends and it will awesome.

Member Avatar for happygeek
0
429
Member Avatar for Borzoi

Three men book a hotel room that costs £30. They pay, then go to the room. Then, the manager realises that they should have only been charged £25. He gives the porter £5, with instructions to give it back to the three men. Realising that £5 won't split between 3 …

Member Avatar for Borzoi
0
745
Member Avatar for jake1496
Member Avatar for aleli

Furthermore, Piriform make a variety of free programs for windows. CCleaner cleans out most un-needed things from your PC, and is generally useful. Defraggler is a defragmenting program, which can work on entire drives or single files. [url]http://www.piriform.com/ccleaner[/url] [url]http://www.piriform.com/defraggler[/url]

Member Avatar for CeeB
0
192
Member Avatar for SgtMe

Hi all :) I figured out the other problem but now I need more help :'( I need to rename a disc and it needs a title which is 16 characters, long, but I am not allowed that many. And for long complicated reasons, it has to have this name. …

Member Avatar for mjdodd
0
125
Member Avatar for VernonDozier
Member Avatar for Michael Truman
0
445
Member Avatar for sairakhalid

You have many errors. Firstly, click the code tags button instead of typing them in (you need a back slash on the close code) You are missing a semi-colon [;] on line 4. Next, you have not included fstream. Also, you need to change the line you say "is giving …

Member Avatar for mraza1_ch
0
282
Member Avatar for python01
Member Avatar for Toni Chopper
0
295
Member Avatar for groedius

Drunken Hyena!!! :D:D:D:D:D [url]http://www.drunkenhyena.com/cgi-bin/dx9.pl[/url]

Member Avatar for ubibravo
0
110
Member Avatar for gamaliel

It depends what you want to do. If you just want to start making basic 2D games, then you would want to learn C++ and Allegro. [url]http://www.cppgameprogramming.com/cgi/nav.cgi?page=index[/url] (Double click anywhere on the site to bring up a menu). Start with the C++ tutorials and make some demo programs, then move …

Member Avatar for Sudo Bash
0
104
Member Avatar for sdinu96

Theses might help a bit: [url]http://www.linuxforums.org/forum/newbie/68856-cpu-usage.html[/url] [url]http://www.linuxquestions.org/questions/programming-9/how-to-determine-cpu-usage-memory-usage-i-o-usage-by-a-particular-user-logged-on-li-220164/[/url] I'm stressing the words 'might' and 'a bit' here.

Member Avatar for sdinu96
0
198
Member Avatar for coolpal.nikil

Why are you making an enumerator for [ICODE]boolean[/ICODE]? Can you not just use: [CODE]bool x = False;[/CODE] That's probably what it's moaning about.

Member Avatar for SgtMe
0
221
Member Avatar for Brickmack

You could use pygame. [url]http://pygame.org/docs/ref/event.html[/url] Tips: Remember to "pump" the event queue on each update. Don't initalize a window, just use the console.

Member Avatar for richieking
0
271
Member Avatar for MUFC4life

Try making 'halfSideLength' an int. ie line 21: [CODE]alfSideLength = int(( 0.9 * overallLength ) / 2.0)[/CODE] Just a hunch, seeing as the error says it can't "multiply not-int type float()", when you call the function on the line specified.

Member Avatar for TrustyTony
0
292
Member Avatar for Translucentbill

Ouch. That sounds quite hard. To the best of my knowledge, there isn't any way of combining another GUI kit with Allegro. Your best option would be to make your own text entry field. Draw out a box, and when the user clicks on it (check mouse position), a flashing …

Member Avatar for SgtMe
0
109
Member Avatar for takken1
Member Avatar for SgtMe
0
94
Member Avatar for alexchen
Member Avatar for StuartB2
Member Avatar for SgtMe

Hi there. On my home computer, I have a folder with all my IT homework in it. At school, I have another IT folder for all of my lesson work. Is it possible to sync the documents between these two folder into one folder with everything? So if I save …

Member Avatar for SgtMe
0
116
Member Avatar for kimmie6067

Please post this in the Windows 7 forum. Hardware And Software -> Microsoft Windows -> Windows Vista And Windows 7. Try downloading a different installer.

Member Avatar for SgtMe
0
221
Member Avatar for murtazamzk

Sweet code! May I recommend adding getchar(); at the end to pause? Just makes it a little easier for the user :)

Member Avatar for Shankye
0
192
Member Avatar for -ordi-
Member Avatar for Translucentbill

I would start using allegro. It's quite easy and you can simply download and install the package in Dev-C++. [url]http://www.cppgameprogramming.com/cgi/nav.cgi?page=index[/url]

Member Avatar for SgtMe
0
328
Member Avatar for whya15ch
Re: hi?

Welcome to DaniWeb! Don't worry about being knew and being knew in IT generally. We're here to help you ;) I started out here not knowing much about programming and being a complete noob generally, but I've progressed quite far with the help of this community and my aim now …

Member Avatar for WASDted
0
29
Member Avatar for anqe_tb

Welcome to DaniWeb! Good to have you onboard. I'm sure you have a wealth of knowledge to contribute :)

Member Avatar for WASDted
0
59
Member Avatar for FutureWebDev

In your code, you specify numbers of length "9" (index "0" to index "8"). Then, you have a look that feeds data into the array "if nSize is less than or equal to length '10' (index '0' to index '9')". Therefore, your program will try to reference an index of …

Member Avatar for FutureWebDev
0
197
Member Avatar for Hideyshi

You would indeed use a while loop. You would want the console to be hidden, so save your script as a [*.pyw]. If you want to not use your CPU too much, you could put in a delay/wait/sleep or whatever you want to call it, so the program is checking …

Member Avatar for Hideyshi
0
101
Member Avatar for NewOrder

Do you mean program WITH the phone, or program FOR the phone? Not sure about programming with it. Seeing as it is an android device, there may be an android app for this, but you would haev to do some research. If you mean programming FOR, then of course you …

Member Avatar for SgtMe
0
173
Member Avatar for Isbella

I would make a simple game. If the game is text based, you could do something like tic-tac-toe. If you really want to go for it, you could do a console version of space invaders, but this may be too challenging for a first project. If the programs have to …

Member Avatar for StuXYZ
0
278
Member Avatar for LampOil

Try here: [url]http://www.codersource.net/mfc/mfc-tutorials.aspx[/url] And get windows 7 ;)

Member Avatar for SgtMe
0
28
Member Avatar for FAITH2011

[url]http://www.youtube.com/user/TheMonkeyLords#p/c/0/RC5GeZIOZaU[/url] This is a guy who has a series of Python 3 tutorials. If the link works, you should see the playlist of the videos on the right. If not, you will need to find the "Python 3 Tutorials" playlist. Good luck :)

Member Avatar for SgtMe
0
329
Member Avatar for groedius

Learning C++ and fairly advanced use of DirectX in 2 weeks? Sorry, it's just not possible. Surely you could speak to your tutor about this "personal problem" and come up with something that would suit both of you?

Member Avatar for groedius
0
149
Member Avatar for skorm909

Simple fix (you'll really kill yourself for this one ;) ). You have [ICODE]int gold;[/ICODE], which will set the value of [ICODE]gold[/ICODE] to "0". Then, all of your options (apart from [ICODE]else[/ICODE] and your [B][U]inventory[/U][/B] option) require you to have enough gold. Consider using a switch instead. Set gold as …

Member Avatar for Sodabread
0
166
Member Avatar for gunbuster363

I've found a few bits on hiding the console window: [url]http://www.franz.com/support/documentation/7.0/doc/operators/cg/h/hide-console.htm[/url] [url]http://www.governmentsecurity.org/forum/index.php?showtopic=26476[/url] [url]http://answers.yahoo.com/question/index?qid=20081029081028AAnGwqn[/url] Please upvote this post if it helps :)

Member Avatar for gunbuster363
0
179
Member Avatar for dmurder

There won't be a straight forward method of converting every piece of Raptor code into Python code. The way to do it is to look at each line and find functions and methods that make the equivalent of the Raptor code. Effectively, you are rewriting your program around the same …

Member Avatar for 15uck
0
95
Member Avatar for LillianIs
Member Avatar for dflor

Say you have the number: [ICODE]251[/ICODE] The smallest number from those digits will be: [ICODE]125[/ICODE] Therefore: digit1 = smallest number, digit2 = next smallest, etc. Seperate the number into individual digits using an array. Find the smallest value and put this in the first index of a new array. Repeat …

Member Avatar for WaltP
0
334
Member Avatar for mocha8688

The easiest to solve ones: [B]Line 18: "indexofsmallest" undeclared.[/B] Where should this variable come from? What does it do? [B]Lines 35 and 61: "wordcount" undeclared.[/B] You will need to count the words first and send this to the function in the arguments. [B]Line 145: Expected "}" at end of input[/B] …

Member Avatar for WaltP
0
145
Member Avatar for motherboardlove

We won't write the code for you. We will help you if you show us effort. Sorry, but it's the rules.

Member Avatar for motherboardlove
0
216
Member Avatar for carver90

Please use code tags (press the code button next time before you paste your code).

Member Avatar for SgtMe
-2
93
Member Avatar for Elandir

Not sure why you have such a long for loop at the end there. Surely you can make the string into a list of chars, then you add a character at the end (which is the same as the first one) and remove the starting character.

Member Avatar for SgtMe
0
185
Member Avatar for Vindal
Member Avatar for Vindal
0
6K
Member Avatar for zartasha*

Please be clearer in what you want to do. You want a game to make in C++, that's not tic-tac-toe? How about space-invaders, asteroids, pacman...do a google search for classic arcade games and make a clone.

Member Avatar for SgtMe
-1
55
Member Avatar for SgtMe

Hi there. I have made a program in Python with PyGame and PyOpenGL to test out vertex and pixel (fragment) shaders. I would like to be able to right click on the shader file (just a text file with a custom extension) and choose Open With... and then open with …

Member Avatar for SgtMe
0
235
Member Avatar for MaC-CK

This works for me: [CODE]import random import os def main (): #declare variables compNumber = 0 playNumber = 0 tie = 0 playGame = findWinner(compNumber, playNumber, tie) os.system("pause") def findWinner(compNumber, playNumber, tie): compNumber = random.randint(1, 3) print "Player1, please select your choice." playNumber = int(raw_input('1 for Rock, 2 for Paper, …

Member Avatar for SgtMe
0
80
Member Avatar for Kagome

For each snake, you should store the starting position and the ending position. If the user hits the starting position, then they 'teleport' to the ending position (ie, they go from the top to the bottom). For each ladder, you should store the starting position and the ending position. If …

Member Avatar for SgtMe
0
427
Member Avatar for LampOil

Questions: 1: What do you mean? 2: Do you expect us to do it for you? GUID: WEORINWEIONR-WERJNOWJENR-23409230489088wh-asdasdon Control: Me File Name: This thread is pointless

Member Avatar for LampOil
-2
163
Member Avatar for ajst

If it is going to be text based, why would you use XNA? If you want to do something really awesome, try making a game similar to "Dwarf Fortress". It is basically a game which uses ASCII characters to represent objects instead of images. However, it would be quite complex. …

Member Avatar for SgtMe
0
213
Member Avatar for louiscos77

[url]http://takinginitiative.net/2008/08/31/directx10-tutorial-1-setting-up-the-d3d10-device/[/url] [url]http://developer.nvidia.com/object/physx.html[/url]

Member Avatar for louiscos77
0
559
Member Avatar for silverf0x

The End.