Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~65.9K People Reached
Favorite Forums
Favorite Tags

31 Posted Topics

Member Avatar for snehil_khanor

Hi, did you have a look in the folder [C:\Program Files\Borland\CBuilder6\Projects\] to see if Project1.exe is there at all? If this is a "new" Borland installation you may need to change some of the settings.

Member Avatar for dessy_1
0
3K
Member Avatar for Doctor Inferno
Member Avatar for MoBaT
Member Avatar for sillyboy
Member Avatar for Dingbats

Hello everbody Simply put; [I]rand() is driving me nuts[/I]. I've been trying to get my teeth into Dev c++ (v. 4.9.9.2) for the first time and couldn't find anything anywhere which helped me anymore. Nearly all this code is IDE generated or copied from examples - I'm just trying to …

Member Avatar for Dingbats
0
1K
Member Avatar for mrnutty

Has the OP considered agnosticism? Or theism for another? Wiki explains this well - [url]http://en.wikipedia.org/wiki/Agnosticism[/url] [url]http://en.wikipedia.org/wiki/Theism[/url]

Member Avatar for iamthwee
2
1K
Member Avatar for adir
Member Avatar for adir
0
133
Member Avatar for tehmarto

I had this problem with a program that I tried to write only using the polish alphabet - I gave up! Interestingly I can get french letters to show but certain others won't. For example, "ÀÇçąĉƓƸçƂȩèéÈÉê", regardless from which language they come from, these show up in the IDE (before …

Member Avatar for tehmarto
0
420
Member Avatar for caltech

When I ran your program, everything was right-aligned excpet for the "Gross" column - exactly as in your given output. Change [CODE]55 << setw(7) << GrP << "\t"[/CODE] and for perfection [CODE]40 << setw(7) << "Gross" << "\t"[/CODE] David

Member Avatar for Dingbats
0
155
Member Avatar for Tinee

I believe you've got a typo on line 94: [CODE]+ (seconds / [COLOR="Red"]6.00 [/COLOR]/ 60.0 );[/CODE]

Member Avatar for Dingbats
0
226
Member Avatar for triumphost

Hmm, I see that this thread has just been closed. I wanted to ask if Narue could add a few comments about her offering to explain what's happening here - I would also like to understand more is this.

Member Avatar for Dingbats
0
2K
Member Avatar for whit0851

Hello. Why is your program generating a random number? It's the human who has to think of one! You can take that bit out. You need to use the idea of a 'number line'. Say you need to choose a number between 1 - 10 and you choose 7. At …

Member Avatar for Crutoy
0
773
Member Avatar for emreozpalamutcu

Ancient Dragon has aptly answered this already but you might also find the following useful to read: [url]http://www.daniweb.com/forums/thread331408.html[/url]

Member Avatar for Dingbats
0
111
Member Avatar for linova

A few questions: Are you only going to count the number of instances of the first character encountered in your input (the string), or count how often each different character occurs? Are you supposed to use arrays? Two main problem points: 1/ in main() you never call your method 'void …

Member Avatar for linova
0
202
Member Avatar for Clinton Portis

Hi, I just tried your program. It runs quite well for a time but it crashed on me (twice) while it was throwing the die. Also, the "enter ye' choice" is presented at another place obscuring the scoreboard - but not always. Another small point; the "Keep All" label is …

Member Avatar for Clinton Portis
0
166
Member Avatar for BrownBeard

Hello, you haven't indicated that you've sorted this out so...an idea... Introduce a variable (as you indicated). Then introduce a menu at line 71 which lists out which music is available, and then use a switch statement on the return value (presumably of type int) to play the chosen piece …

Member Avatar for Dingbats
0
139
Member Avatar for coolpal.nikil

you declare [CODE] 11 static void playGame(); //takes no parameter [/CODE] but here you pass a parameter in: [CODE] 33 playGame(r); 51 int playGame(int p) [/CODE] Here, you could use another name, [CODE] 16 enum boolean 17 { 18 False, True 19 }; [/CODE] but anyway the values of True …

Member Avatar for SgtMe
0
220
Member Avatar for crazymidget01

You need to do a rethink here. [CODE]119. cout << postfix[i] << endl;[/CODE] This gives a little insight as to what your program is doing with the input. eg postfix 1+1 -> 11+ 12+34 -> 1234+ 12+34-56 -> 1234+56- You then switch using the last operand listed in postfix. How …

Member Avatar for Dingbats
0
282
Member Avatar for alexchen
Member Avatar for alexchen

Have a look at this thread: [url]http://www.daniweb.com/forums/thread288725.html[/url]

Member Avatar for jonsca
0
125
Member Avatar for moni94
Member Avatar for mpike

I'm going to keep looking into this - it's interesting. Just loaded and then ran your prog several times until . . . -1, -1 (if your interested, yes, it happened with the nr 13!!!!)

Member Avatar for Dingbats
0
409
Member Avatar for networkZombie

@pretty_girl90 You shouldn't hijack threads. Please start your own, and that way you much more likely to get a response.

Member Avatar for Dingbats
0
272
Member Avatar for Dingbats

Hi everyone, I'm writing a program for a teacher and friend of mine. It's a simple math-aid prog aimed at children up to 10yo. I was thinking that it would not only be a good idea that a child couldn't shut down the program without a password (obviously), but how …

Member Avatar for Dingbats
0
1K
Member Avatar for hq1

You need to take a look into I/O manipulators. You'll need 3 in all - setw(int) is one of them. Have a bash at it first and let me know.

Member Avatar for Dingbats
0
628
Member Avatar for sha11e

That stops the repeated errors but it still accepts letters - try entering "9t2" or anything in that order. The question in the code states "Please pick a number between 1 and 5.". Is that important?

Member Avatar for jonsca
0
110
Member Avatar for Philosophy

change line 48 to: randomNumbers[a] = rand() % ((rangeNums[21] - 1) - rangeNums[0]) + rangeNums[0]; (all slots occupied) change lne 91 to: if(countOccurances[d] != 0) (no extra '*' printed with multiples of 10) then it seems to work. I hate working with comparison with numbers in loops but it is …

Member Avatar for Philosophy
0
145
Member Avatar for jsburkdc

Hello all, I agree with hanvyj. I'm no profi at this, but to find the position a given character I would use: AnsiPos(const AnsiString& subStr) const or Pos(const AnsiString& subStr) const. For conversion, there's ToInt() const and ToIntDef(int defaultValue) const. I'm not sure how you should go about splitting/checking for …

Member Avatar for prvnkmr449
1
450
Member Avatar for gretty

hello mike_2000_17, could you explain a couple of things about your code offering. I'm not that experienced and only write for fun/pleasure but would love to understand whats going on there with a view to implementing something similar in GUI's. 1/ What is the '5' for at the end of …

Member Avatar for Dingbats
0
156
Member Avatar for Dingbats

Hello. I've got a program with several StringGrids and need to implement *one* popupmenu for them all. Everything up till now works fine - even the popupmenu's but... When I left-click on the grid the cell changes color ie receives focus. When I right-clck on the grid the popupmenu appears. …

0
44
Member Avatar for Dingbats

Hello Everyone, my first post - so please don't shoot me if it goes wrong! I'd been looking for this for some time now and have seen a number of related queries but no solutions. I cannot take credit for the whole code here, but I did adapt it to …

0
621

The End.