3,892 Posted Topics

Member Avatar for Dani

[quote=cscgal;263499]Cool. And I think you're right - it does look more bloggy.[/quote] Hmm... maybe i should start taking Web design classes from Miss Dani, i hope you wont charge your moderator buddy, would you? :D

Member Avatar for Dani
0
325
Member Avatar for lavicool

Hmmm almost there. You just need to change [quote]if the score is > 0 and < 100 then[/quote] Why cant the score be 100 ? Just loop through the scores, and at the same time check for the above condition, if not satisfied duck out of the program using "exit …

Member Avatar for lavicool
0
122
Member Avatar for peter brown

Please dont bump old threads, post your problem in a new thread. Thread closed.

Member Avatar for ~s.o.s~
2
1K
Member Avatar for gampalu
Member Avatar for ~s.o.s~
0
82
Member Avatar for confused!
Member Avatar for ~s.o.s~

Hmm... lets see how good are the members of this cool community. I will start a thread in which people can ask fun puzzles which have an obvious solution and other people can [B]try answering them along with the logic furnished with the solution[/B]. After all we need something to …

Member Avatar for Ancient Dragon
0
179
Member Avatar for kissiwat

[quote=kissiwat;263655]There's really no need to be horrid. :confused:[/quote] Heh, dont mind him, it was just a fatherly nudge..:D After all he is the MOD you know Anyways please post the code which you have written and we will help you out.

Member Avatar for Ancient Dragon
0
105
Member Avatar for dev.cplusplus

[quote] Do you know how to add to this current time seconds, minutes, days?Also I need to get two dates and make some actions, How many seconds, days.. pass('+', '-'), [/quote] Maybe you should try here: [URL]http://msdn.microsoft.com/library/en-us/vclib/html/_MFC_COleDateTimeSpan_Class_Members.asp?frame=true[/URL]

Member Avatar for Ancient Dragon
0
647
Member Avatar for boujibabe

Why not just write a small check function which will do the small grained tasks for you which unnecessarily clutter the "main()". [code] int is_valid( int value ) { if ( value < 0 || value > 100 ) return 0 ; else return 1 ; } [/code] And carrying …

Member Avatar for ~s.o.s~
0
91
Member Avatar for Eadams20

It would really your problem if you could create different functions for different tasks like: 1. Accepting the data 2. Performing the conversions 3. Performing the calculations for the number of tiles. If classes have been introduced in your course you can try creating a class "Room" which will pack …

Member Avatar for Eadams20
0
278
Member Avatar for Angeleyes1437

Just one thing you should know -- There are people, there are good people, there are bad people, its the way how world is made of. And no its not the general beat of the community, see the forums for other langs and you would know. Some people like to …

Member Avatar for Angeleyes1437
0
150
Member Avatar for HiTeckRedneck
Member Avatar for rowly

Looks like you have got your specification of stack wrong out there. Please take a look [URL="http://en.wikipedia.org/wiki/Stack_%28computing%29"]HERE.[/URL] [LIST] [*]Also what exactly does D_size stand for ? You cant just change the size of an array once declared. [*]Also dont use "system("pause")" for pausing the program, its bad programmign practice. Use …

Member Avatar for rowly
0
97
Member Avatar for ashokkumarreddy

Have you tried doing google, there are a lot of resources out there to help you get started. Look [URL="http://www.google.co.in/search?hl=en&q=serial+communication+in+C&btnG=Google+Search&meta="]HERE[/URL] and [URL="http://www.google.co.in/search?hl=en&q=serial+communication+interfacing+two+computers&btnG=Search&meta="]ALSO HERE. [/URL]

Member Avatar for ~s.o.s~
0
80
Member Avatar for joey z

Something like [code]int main( void ) { char choice[2] = {'\0'} ; do { fgets( choice, 2, stdin ) ; choice[0] = tolower(choice[0]) ; } while ( choice[0] != 'y' && choice[0] != 'n' ) ; return 0 ; } [/code]

Member Avatar for ~s.o.s~
0
173
Member Avatar for lalalu

You are using the structures before even declaring or defining them. Make the definition of the two structures hStat and dStat precede the definition of Database and it should go allright. Also if you have not done "#define SIZE 100" or any other constant value it will flag an error.

Member Avatar for ~s.o.s~
0
46
Member Avatar for Pegoda
Member Avatar for theUnNown1

Try here: [URL]http://www.c-sharpcorner.com/UploadFile/mgold/PlayingVideo11242005002218AM/PlayingVideo.aspx?ArticleID=3d1c3b81-1a12-48e7-ad5e-758f96525409[/URL]

Member Avatar for bumsfeld
0
88
Member Avatar for matrimforever

I think you have not explained the problem statement properly. For eg. if the user enters that he wants change for 2 dollars then the possibilities are: 4 halfs OR 8 quarters OR 20 dimes and so on.... Also why you need to pass the constant global arrays to the …

Member Avatar for ~s.o.s~
0
169
Member Avatar for Phazawhy

The latest version of the compiler can be downloaded from here: [URL]http://www.borland.com/downloads/download_cbuilder.html[/URL] [code] #include <stdio.h> int main () { int a, i; for (a=5; a>0; a--) { for (i=a; i<5; i++) { printf("x" ); } printf("y\n"); getchar () ; } [/code] Your prev code was full of non standard functions. …

Member Avatar for ~s.o.s~
0
99
Member Avatar for jakestr15

Using a while loop would be a better option. If you want more help then please post your entire code so that we can help you out.

Member Avatar for Infarction
0
89
Member Avatar for Harkua

What you ask is a bit fuzzy, can you post a well detailed example? All your game specific questions would be better answered [URL="http://www.gamedev.net/community/forums/"]HERE[/URL].

Member Avatar for ~s.o.s~
0
90
Member Avatar for dev.cplusplus

Would it be ok for you if you used an external time library. If yes then you can try out[URL="http://www-eleves-isia.cma.fr/documentation/BoostDoc/boost_1_29_0/libs/date_time/doc/posix_time.html"] C++ Boost Date time library:[/URL]

Member Avatar for ~s.o.s~
0
247
Member Avatar for reRanger

If you have posted the question doubting the ability of Python to be used in games then you are wrong. There are really good games made in Python which have real time physics and are at par with teh performance delivered by C++. And whats more is that since it …

Member Avatar for jbennet
0
106
Member Avatar for jrivera

How about starting [URL="http://www.google.co.in/search?hl=en&q=stl+tutorials+C%2B%2B&btnG=Google+Search&meta="]HERE[/URL] and [URL]http://www.sgi.com/tech/stl/[/URL]

Member Avatar for ~s.o.s~
0
95
Member Avatar for ~s.o.s~

Hello to everyone out there. Want a chance to test your talent. Go here: [URL]http://web.tickle.com/tests/talent/index_main.jsp[/URL] The test is a bit lengthy and daunting but is real fun especially for geeks who need to have their daily dose of some insane thinking... My title: [IMG]http://img20.imageshack.us/img20/3466/talentresultsvv4.png[/IMG]

Member Avatar for ~s.o.s~
0
165
Member Avatar for {-_-}
Member Avatar for ~s.o.s~
0
32
Member Avatar for slacke

@ slake Why stick to Borland ??? If you are thinking about compiler migration better go for the free Visual Studio 2005 free edition or for GCC mingw compiler which nowadays most of the people use.

Member Avatar for ~s.o.s~
0
235
Member Avatar for xicestorm

Please use code tags to post your code. Enclose your code in code tags. Also post your entire code so that we can be in a state of answering your questions, dont post half baked snippets.

Member Avatar for andrax
0
86
Member Avatar for darkeinjel04

A well detailed Pascal Triangle code snippet here: [URL]http://www.daniweb.com/techtalkforums/post233793-11.html[/URL]

Member Avatar for Infarction
0
147
Member Avatar for jan1024188

SQL stands for Structured Query Language, it is more of a standard than a language. The Database packages which implement SQL are Oracle, MySQL, MS SQL Server 2005, etc. to name a few. PHP is the server side scripting language used to impart dynamic behaviour to the web pages. And …

Member Avatar for jan1024188
0
86
Member Avatar for Mr.UNOwen

[code] double input () { double x = 0, y = 0, z = 0, rad = 0 ; printf("Please input data for one of the spheres... "); printf("\nRadius:"); scanf("%lf",&rad); printf("X value:"); scanf("%lf",&x); printf("Y value:"); scanf("%lf",&y); printf("Z value:"); scanf("%lf",&z); printf("X = %f, Y = %f, Z = %f, Radius = …

Member Avatar for Mr.UNOwen
0
151
Member Avatar for F.T.L.O.T.G

Where is the variable which keeps tab of the total amount present with the user? You keep on using the variable "total" but i dont see it declared anywhere. You can check after your switch stmt whether the user has the required amount of money to buy that drink. And …

Member Avatar for Salem
0
234
Member Avatar for The Dude
Member Avatar for Scottg1989
0
96
Member Avatar for The Dude

10 / 10 And they really misused the word set there ( collection of values none of which is repeated !! )

Member Avatar for xyfay
0
159
Member Avatar for nikki100
Member Avatar for ~s.o.s~
0
17
Member Avatar for Mouche

Mr. Vegaseat would be really happy to have you here (btw he is the moderator of the python forum here).

Member Avatar for ~s.o.s~
0
74
Member Avatar for kickers92
Re: Hi.

Hi there friend, hope you enjoy your stay at Daniweb and get to learn a lot of good things :D

Member Avatar for happygeek
0
61
Member Avatar for shadowmoon

Why not try to use an open source external library for your needs. It will provide all the kind of control you need over playing your sound. One eg. of it is Audiere.

Member Avatar for andor
0
485
Member Avatar for boujibabe

[inlinecode] while ( Pds > 100 ) ;[/inlinecode] is equivalent to [code] while ( Pds > 100 ) { // sit back and enjoy baby } [/code] Like Mr. Dragon said the variable which controls the run of your "While " loop never changes and so it goes on for …

Member Avatar for ~s.o.s~
0
80
Member Avatar for zac_haryy

In order to print backwards you need to store the variable "number" in some kind of array or linked list so that it can be printed backwards which will give you the required representation. Why not try something more classy rather than using "switch" stmts; [code] int main() { int …

Member Avatar for ~s.o.s~
0
101
Member Avatar for amishosh

[quote=amishosh;260479] I tried something called Block::Code but it's so confusing. The DOS one is just so simple!! [/quote] If you looking for free IDE's and dont want to spend money then Code::Blocks, is one of the best IDE's out there. What do you find so confusing ??? Their site has …

Member Avatar for ~s.o.s~
0
249
Member Avatar for WolfPack

Even I have stopped getting the PM for the request for adding a person to the contact list. When i had joined, it used to come (if Wolfie would remember, he sent me a contact list invitation through a PM ) But nowadays there is no PM when someone wants …

Member Avatar for Anonymusius
0
183
Member Avatar for mlawson22

Try to come up with atleast something. This forum is for asking help when you get stuck. Basic Structure: 1. Create the necessary variables. 2. Create a while loop which keeps on asking user for input and ask him a option at the end whether he wants to continue or …

Member Avatar for WaltP
0
252
Member Avatar for Sashar400

Please post the entire code so we can pinpoint the problem. I am pretty sure you cant just assign value to a whole row of a 2D array using just one stmt. Try something like for ( int i = 0; i < rows; ++i ) for (int j = …

Member Avatar for Ancient Dragon
0
221
Member Avatar for Zephone_UK

Hello there buddy, enjoy your stay at DaniWeb. Keep rocking....

Member Avatar for Zephone_UK
0
38
Member Avatar for jan1024188

[quote=jan1024188;261331]sory im complete newbie i have [code]include <stdio.h> int main() { int x; for(x=1; x < 10; x++) { printf("%d\n second ",[COLOR=Red] a[/COLOR]); } return 0; }[/code] [code]for.c:1: error: syntax error before ‘<’ token [/code][/quote] Hmm you are declaring the variable "x" for controlling the for loop and printing the …

Member Avatar for jan1024188
0
90
Member Avatar for ~s.o.s~

I dont know how to put this but Miss Dani i would please request you to place a moderator for this button or anything related to bad posts or atleast come up with a good idea to stop someone misusing this button. Looks like someone out there, just to take …

Member Avatar for happygeek
3
385
Member Avatar for blrouley

Hey there Sir, welcome to DaniWeb, i am sure you find the solution to all your problems here. And btw even I like House, Simpsons and Scrubs :D [EDIT] Arghh.. Miss Dani beat me to it [/EDIT]

Member Avatar for happygeek
0
101
Member Avatar for Barefootsanders

PHP and other server side scripting languages was specifically designed for the purpose of doing away with the cumbursome work associated with the server side scripting using C and C++. If you anyways usign PHP functions why do you want to use C++ ? Why not design the site using …

Member Avatar for Barefootsanders
0
106

The End.