345 Posted Topics

Member Avatar for king_koder

If I were you, I would have started out with Blender before using 3DSmax, seeing as max costs so much. Being a blender user, I would say blender, but that's a biased opinion. Tell you what: set yourself a task, like modeling a gun. Try to not to use a …

Member Avatar for king_koder
0
248
Member Avatar for 3FLryan

1. Stay here at DaniWeb! As you can see, we have a huge amount of dedicated members who love to contribute. 2. Have a look at sourceforge 3. You should have a decent understanding of Python and should be able to complete the task you sign up for. It really …

Member Avatar for 3FLryan
0
190
Member Avatar for Rickay

Flush the input stream: [url]http://www.daniweb.com/forums/thread90228.html[/url] Would you be able to use a DOS command to restart the program?

Member Avatar for Rickay
0
206
Member Avatar for king_koder

I guess that these programs would offer up support eventually. Find a brand-new GUI or graphics module that is supported in 3.x This gives you the opportunity to learn how to use that module without wasting time.

Member Avatar for ultimatebuster
0
675
Member Avatar for yellowkaiq

Well start by allowing the user to input how much time they want to count down. Convert each section (hours, mins etc.) into an int so that you can count it down. Count down by 0.1 seconds (use ifs to find if one column equals 0, in which case it …

Member Avatar for TrustyTony
0
2K
Member Avatar for Nathaniel10

By this, it would suggest that either the variable has not yet been defined, or has not been defined in the same scope as where you are trying to call it (global scope, function scope etc.). Could you post the error and tell us the line which gives the error?

Member Avatar for SgtMe
0
179
Member Avatar for kyros

Nobody will just give you the code. This is an assignment. You are obviously meant to learn. Learning does not entail getting us to give you the code. You will learn nothing from it. Not only does it not benefit us, but it won't benefit you either. You will have …

Member Avatar for SgtMe
-1
382
Member Avatar for Vv IVIatthew vV
Member Avatar for SgtMe
0
147
Member Avatar for BestJewSinceJC
Member Avatar for SgtMe
1
305
Member Avatar for sharifyboy7

[CODE]cout << "Sorted list is " << endl; SortedList(data); //HERE[/CODE] You need to cout this.

Member Avatar for SgtMe
0
168
Member Avatar for beep

Have you checked that the service is enabled to run automatically on startup and that the process is allowed to run? Go to services and features and make sure "Windows Search" is enabled. Also go to "Windows Features" and make sure that it is allowed. (I am using Windows 7 …

Member Avatar for "ICode"
0
311
Member Avatar for mrar85

Not sure if you are getting the error (still getting back into C++ from a long spell in Python), but I think you need to define your "get_input" and "CheckLeapYear" functions before the main. Otherwise, you are calling something from the main that is not yet initialized. It also helps …

Member Avatar for SgtMe
0
168
Member Avatar for morgannn

Can you do AV scans in safe mode? Do you have an ATI chipset? My Mum has one and it causes the laptop to freeze alot.

Member Avatar for SgtMe
0
189
Member Avatar for welcomelambb

You would want to read the string into an array. Split the string at each space, so you have individual words, and feed it into an array. Then use the "random" module to generate a number from 0 to the length of your array. Then, that integer it gives can …

Member Avatar for SgtMe
0
125
Member Avatar for Bri426

All you need to do is look through your if statements, and try to find a pattern or formula that can relate to all the values. When sum is 2, the array position is 0, and we input 2. When sum is 8, the array position is 6, and we …

Member Avatar for SgtMe
0
1K
Member Avatar for maryamwiki

You need to provide us with more details so we know the specification of the question. Plus, we won't write the code for you, we will only help.

Member Avatar for SgtMe
0
31
Member Avatar for SgtMe
Member Avatar for SgtMe
1
48
Member Avatar for Siberian

I would agree that W3 have a great CSS tutorial. It helped me out when I was creating CSS styles for Windows 7 Sidebar gadgets. Not sure about their HTML tutorial but they seem like a pretty good site.

Member Avatar for menchester03
0
208
Member Avatar for rlhh

I think what you need is structs. Here is an example: [CODE]//usual intro stuff #include <cstdlib> #include <iostream> using namespace std; //create a struct for our account type struct account{ //this is where initialize the data variables for an account //acount number int number; //balance float amount; } ; //usual …

Member Avatar for rlhh
0
205
Member Avatar for auburner

File in/out: http://www.cplusplus.com/doc/tutorial/files/ Strings: http://www.cprogramming.com/tutorial/string.html Arrays: http://www.cplusplus.com/doc/tutorial/arrays/ Open/close/read/write with file io. Read to strings, manipulate, write strings to file. Write data into an array so you can use a loop for manipulation and writing to file.

Member Avatar for TrustyTony
0
89
Member Avatar for arun_gan

[CODE]print 'Input n' n = int(raw_input()) data = [] i = 1 while i <= n: data.append(i) i+=2 print data[/CODE]

Member Avatar for TrustyTony
0
2K
Member Avatar for ralphcatech

1.) This is not the python forum...how are python specialists going to find this? 2.) Show effort 3.) We don't know enough about your question to answer.

Member Avatar for SgtMe
-1
80
Member Avatar for henryford

With the code you have there (which you need to put in code tags next time :) ), is a good example of classes. [CODE]class Critter(object): def __init__(self): #you were missing a close bracket print "A new critter is born!" def talk(self): print "\nHi. I am an instance of class …

Member Avatar for SgtMe
0
119
Member Avatar for s0ur

The top line will confuse python. You should have (I think, from seeing another dictionary related post :/): [CODE]z = {'a':[1, 2, 3], 'b': 4, 'c': 5)[/CODE] Not sure as I have barely used dictionaries, but I believe that one of the problems lies in line 4. You want it …

Member Avatar for s0ur
0
190
Member Avatar for andimiami

Please use code tags. Could you post the errors your are getting, and edit your first post using code tags. Then we can work through the errors. Once the program works, we can determine whether the logic is correct.

Member Avatar for sfuo
0
174
Member Avatar for SgtMe

Hi. Not had any problems up until this point. I changed some settings on services earlier, and then I noticed this problem: whenever I try to open a 3D game, the program will freeze. I have opened 3D programs like Blender3D and Quick3D fine, but games don't work. Assuming it …

Member Avatar for WASDted
0
181
Member Avatar for harshalpagare

[B]READ THE RULES!!! NO HELP UNLESS YOU SHOW EFFORt!!![/B] Besides which, we can't help you anyway, as we don't know your question specification, or what code you have already got, which we would need.

Member Avatar for SgtMe
-2
90
Member Avatar for noniterum03

I was just taking a look at compacting your code slightly, and I noticed something. self.n = len(datalist) data = datalist length = len(datalist) ... n = float(self.n) Therefore n = length And then: ...(length/n) This would be 1. You can also change the function 'cdf_data' (including the above thing …

Member Avatar for SgtMe
0
109
Member Avatar for tomtetlaw

I believe that absolute position is the actual position of an object, whereas relative would mean the position relative to another object.

Member Avatar for mrnutty
0
96
Member Avatar for Kevinkc14

Just as an after-thought: type "lol limewire" into google and hit "I'm feeling lucky"... :L

Member Avatar for WASDted
0
152
Member Avatar for Sykee
Member Avatar for SgtMe

Hi all. There have been several threads where people are asking, [B]"is there any way we can develop iPhone Apps on Windows, or without using Objective-C?" [/B]The main reason people ask this is because [I]they either cannot afford a Mac, or cannot afford all the additional costs one has to …

0
187
Member Avatar for BlueZephyr
Member Avatar for tkud
0
191
Member Avatar for xleon

No it's not a specific problem. You should use: [CODE] root.minsize(min_x, min_y) root.maxsize(max_x, max_y) [/CODE] Also, use code tags. If you want the window to be a fixed size, I just set the minimum and maximum as the same. I've got a youtube video explaining stuff about Tkinter windows. Infact, …

Member Avatar for xleon
0
11K
Member Avatar for ekkanh

Check out my post here for how you could expand on your program. [url]http://www.daniweb.com/forums/thread32007-24.html[/url]

Member Avatar for slate
0
7K
Member Avatar for SgtMe

I know that it's not really related to programming and hardware (which is what the rest of the site seems to be), but I think it would be great if we could create a 3D modeling or visual effects forum. Maybe even just one forum for all 3D modeling programs? …

Member Avatar for Dani
0
163
Member Avatar for keruhos

Hello! Welcome to Daniweb! You'll love it here because the C++ forum is one of the biggest forums on this site, and is certainly the best C++ forum on the internet. And Java is close behind it! I guess we'll be seeing eachother around in the C++ forum a little …

Member Avatar for WASDted
0
161
Member Avatar for Anika123

For things such as darker clothes, you could just use a new texture for the clothes. If you could keep the clothes as a seperate object from the body, then you could easily just make progressively darker textures, and load each one. You would only need a few to go …

Member Avatar for fansi099
0
100
Member Avatar for louiscos77

A simple google search turned up this link: [url]http://code.google.com/p/jbullet-jme/wiki/InstallingBuilding[/url]

Member Avatar for SgtMe
0
141
Member Avatar for cheaboy
Member Avatar for heidik

Here's a little program I wrote for you using stringstream. This will split your long string into 20 parts, into an array (type string), named "data". [CODE]//includes...need sstream (stringstream) #include <string> #include <sstream> #include <iostream> //don't forget your namespaces using namespace std; /main int main() { //your string string str …

Member Avatar for Taywin
0
4K
Member Avatar for WolfShield

Oh yes it's perfectly possible! Make sure your external script is in the same folder as your main file, then just use "import example.py" (if that doesn't work remove the ".py"). Just make sure your variables can interact between the two scripts.

Member Avatar for TrustyTony
0
1K
Member Avatar for digan

Firstly, you have you have this line wrong: [CODE]while (quantity >50);[/CODE] Surely it should be '<' instead? Reply, but paste in: Any program errors. Your inputs. Expected outputs. Actual outputs.

Member Avatar for arkoenig
0
130
Member Avatar for king_koder

If you want some ideas, look at this thread: [url]http://www.daniweb.com/forums/thread32007.html[/url] Otherwise, search sourceforge.net! You can look for programs using YOUR programming language, YOUR os and YOUR type (games, software etc.). If you don't find anything you like, start a new project! PM me if you find a project to join/start …

Member Avatar for SgtMe
0
158
Member Avatar for jmcorpse

Firstly: Thanks for the effort you've put in. Secondly: I've made you a little program to demonstrate rounding, using floor() and ceil() [needs cmath, but you already have that]. Here's the code: [CODE]//Usual intro :P #include <cstdlib> #include <iostream> #include <cmath> using namespace std; //Usual main... int main(int argc, char …

Member Avatar for jmcorpse
0
325
Member Avatar for SgtMe

Hi there. My Mum's laptop is practically unusable. It will work for anywhere between 20 and 80 minutes, and then one (or even a combination) of the following will happen. a.) Blue-screen of death (BSoD): Physical dump of memory b.) ATI graphics card driver will crash, screen resolution drops to …

Member Avatar for SgtMe
0
150
Member Avatar for ButterFly21

Each program needs to have a main function. You do have one, but this happened to me before. Not sure how I dealt with it :/ Try capitalizing the 'm' on main so it becomes 'Main'. Apart from that, have a look on google. It's quite a common problem. BTW: …

Member Avatar for Nick Evan
0
141
Member Avatar for angel28
Member Avatar for Syrne

Firstly, you need to check your loop in the main function. Look where you write CalcAverage(). This needs to be inside a loop, so that you can run it for all students. Currently, it's just doing the calculations for one. Secondly, yes you would could use a loop like that …

Member Avatar for SgtMe
1
381
Member Avatar for 4ever_free_4u
Member Avatar for SgtMe
-2
64

The End.