5,676 Posted Topics

Member Avatar for Francis Waldron

[quote=Francis Waldron;273515]I'm have trouble getting my area/volume progam going on a circle,cylinder,sphere,cone One with out a menu and onwe with a menu. Thanks for all your programmers help. This is a great site for help.[/quote] We're kind of low on psychic helpers here. We really need some details. Not a …

Member Avatar for Ancient Dragon
0
108
Member Avatar for cwarn23

[QUOTE=Ancient Dragon;1099698]When you pinch a clone does he not cry? When you tickle a clone does he not laugh? When you cut a clone does he not bleed ? Does he not have fingerprints, or finger nails that grow, or hair that grows?[/QUOTE] Don't know. Never met one. :icon_razz: [QUOTE=cwarn23;1099808]However …

Member Avatar for GrimJack
1
453
Member Avatar for lab3tech

First of all, did you color the code yourself? If so, please don't. Using code tags properly will color it for you. it's [[B]code=vb[/B]] (no spaces) at the beginning, and at the end of the code [[B]/code[/B]]. Also, indenting your code would help a lot, too. I can't figure out …

Member Avatar for Sarama2030
-2
2K
Member Avatar for zebra59

What [B]Narue[/B] is trying to say is we can't just fill in any old line of code, we have to know what the code is supposed to accomplish, then we are able to figure out what the line is supposed to be. In other words, What is that line supposed …

Member Avatar for dohpaz42
0
111
Member Avatar for J.P.

[QUOTE=J.P.;473049]Hi, i'm one of those annoying students here to ask questions :)[/quote] Not as annoying as most new members. At least you used CODE tags, and have attempted to format your code. Good job!!! For additional formatting suggestions, [url=http://www.gidnetwork.com/b-38.html]see this[/url]. By the way, don't use both INLINECODE and CODE, just …

Member Avatar for mik334
0
497
Member Avatar for yottameter

[QUOTE=lotrsimp12345;1151832]the actual code would be helpful not just the errors.[/QUOTE] Why? "[I]cannot open shared object file: No such file or directory [/I]" has nothing to do with the code.

Member Avatar for Jason Butler
0
203
Member Avatar for Chichiro

What [B]J[/B] is trying to say with his "I know more than you" attitude is there are many NEW compilers that are available free and since the last Turbo compiler is 20 years old you should consider an updated compiler -- still free. That way you can concentrate on Standard …

Member Avatar for vaultdweller123
0
548
Member Avatar for deeer

[QUOTE=deeer;1241450]thanks man the problem is, i didn't fully understand the requirements can you at least help me understand the question properly? [/QUOTE] Such as? We don't understand what you are having trouble understanding if you don't tell us. What [B]do[/B] you understand, and what [B]don't[/B] you understand?

Member Avatar for deeer
0
148
Member Avatar for aianne

[QUOTE=Ancient Dragon;1118283]>>when I tried to run it, it suddenly closed That's because there is nothing at the end of main() to prevent that behavior. If you want it to stay open so that you can see it, then add [icode]getche();[/icode] at the end of main(). The program will then stop …

Member Avatar for Adak
0
313
Member Avatar for Duki

[QUOTE=Nick Evan;]Dani told us that it's all the way down there on purpose so that new posters first read the topic titles while they're scrolling down.[/QUOTE] Lame reasoning. Why would I read post titles when all I want to do is post a new thread? That's like reading the License …

Member Avatar for happygeek
2
214
Member Avatar for madoverclocker
Member Avatar for Griff0527

[QUOTE=;][/QUOTE] In [b]f2c()[/b], 5/9 = 0. In [b]c2f()[/b], 9/5 = 1. Remember the limits of integer math...

Member Avatar for Griff0527
0
2K
Member Avatar for omiyehan
Member Avatar for sanagopi
-1
77
Member Avatar for Jennifer84

[QUOTE=happygeek;]But in the forum list it does show replies, which lets you know if anyone has replied to the posting and that surely is more important than the number of people who have looked at it.[/QUOTE] This is true. But I'm still trying to figure out what this [I]popularity[/I] means. …

Member Avatar for NathanOliver
0
136
Member Avatar for OurNation
Member Avatar for Biker920

Agree. There never was a blank area for me either. Now there's a blank post with an AD icon, and that just started a couple days ago.

Member Avatar for diafol
0
250
Member Avatar for Ferny84

It looks like the only thing you need to do is give the array [B]marks[/B] a size and you should be good to go. You do not need vectors. You do not need malloc().

Member Avatar for Ferny84
0
135
Member Avatar for device

Because every time a word from [I]array1[/I] does not match a word int [I]array3[/I], it's added to [I]array3[/I]. So, if you have 4 words in [I]array3[/I], and the current word in [I]array1[/I] matches none of the words, the word will be added 4 times to [I]array3[/I]. You now have 8 …

Member Avatar for WaltP
0
93
Member Avatar for jephthah
Member Avatar for William Hemsworth
3
854
Member Avatar for xaop

Since you claim [B]Banfa[/B] is wrong, you need to explain how it crashes. We cannot help you fix a crash without knowing the error message explaining the crash. Much of your problem deals with [iCODE]scanf()[/iCODE]. Read [url=http://www.gidnetwork.com/b-59.html]this series[/url] to understand how to deal with the function when reading numbers and …

Member Avatar for abhimanipal
0
135
Member Avatar for straight_rydr

Problem #1: Your [I]DisplayMenu()[/I] function is doing way too much work. It should simply display the menu. The rest of the code in that function should be in another function. Problem #2: Your [I]DisplayMenu()[/I] function calls itself (called recursion) which is dangerous in this type of program. Unless you must, …

Member Avatar for Crak
0
130
Member Avatar for bigcheesy

Enter date #1 and #2 Break both dates into day,month,year values. Start with that and get it working. Then start the meat of the project.

Member Avatar for JeyHey
0
7K
Member Avatar for darkdai

My point was 1) it works -- therefore it doesn't [I]seem[/I] wrong 2) the OP has no idea if you are right nor if they should even listen to one of us. IMO, if you say something [I]intuitively[/I] in error, at least give an explanation of some sort. We are …

Member Avatar for Aia
0
152
Member Avatar for Ryan61343
Member Avatar for vaultdweller123
Member Avatar for lionaneesh

The first IF [iCODE]if(((i%16)==15) || (i==length-1))[/iCODE] basically tests if 16 bytes have been output -- the number of bytes needed for one line. Within the IF, reoutput the same bytes as ASCII characters after a '|'. The best way to understand this stuff is write down all the variables you …

Member Avatar for WaltP
0
214
Member Avatar for eXceed69
Member Avatar for Freespider

You'd be much better off reading a line into a structure, then writing the structure. Very simple. One record after another. You can't just blindly use [iCODE]fseek[/iCODE] for the sake of using [iCODE]fseek[/iCODE] and expect a file to have any useful format at all. If you back up in a …

Member Avatar for abhimanipal
0
109
Member Avatar for tinanewtonart

[QUOTE=chiwawa10]2. You will need to call CheckWin() after CheckMove() as user's move can win the game. Based on your current logic, computer will make a move even if the user's move wins the game which is not right. Furthermore, the computer's move might eliminate the user's winning move.[/quote] Unless, of …

Member Avatar for tinanewtonart
0
1K
Member Avatar for jephthah
Member Avatar for sophie.c

Add [iCODE]cin.get()[/iCODE] just before the [iCODE]return[/iCODE] statement. A simple search would have found this solution in seconds.

Member Avatar for sophie.c
0
207
Member Avatar for jephthah

[QUOTE=colweb;1225292]Thinking about it, why not the following system for quotes: - name and link to original post in the dark gray header part of the quote, - always visible, but only the first 10 lines (or less is the quote is shorter), - if the quote is longer, "Click to …

Member Avatar for diafol
3
1K
Member Avatar for lotrsimp12345
Member Avatar for mrnutty

[QUOTE=Biker920;]Hey now we look just like all the other Forums. Now I have to learn to navigate all over again. Let me dig out my GPS,flashlight & c-rats in case I get lost.[/QUOTE] If it's just like all the other forums, why do you have to learn to navigate all …

Member Avatar for jwenting
1
189
Member Avatar for Lygris

When you create a [B]Function[/B], set the return value to the function name to return it: [CODE]Function GetValue(aVal as Integer, bVal as Integer) as Integer ... GetValue = answer End Function [/CODE] Use: [ICODE]newValue = GetValue(a,b)[/ICODE]

Member Avatar for Lygris
0
119
Member Avatar for SherifSharkawy
Member Avatar for diafol

[QUOTE=cscgal;]The rep icon colors reflect how your reputation was influenced. Green is good, red is bad, and the greyish-blue is neutral meaning your reputation was not affected, either because the reputation was earned in the Community Center and not in a technical forum, or because the person giving the reputation …

Member Avatar for Dani
0
103
Member Avatar for mailsadiq
Member Avatar for samsan.32
3
169
Member Avatar for katmai539
Member Avatar for Ancient Dragon

The ADA -- I agree. They make [B]my[/B] teeth hurt too. I also think flash sites should be banned, to, as well as automatic music and video, and flashing ads.

Member Avatar for jephthah
0
304
Member Avatar for camdaddy09

[QUOTE=camdaddy09;]First lets establish the definition of the word respect:[/QUOTE] Sure, as it pertains to the site: [B]R[/B]ead the Site Rules [B]E[/B]mail addresses must not be posted [B]S[/B]nippets of Code (sorry) are [I]not[/I] help requests [B]P[/B]osts should not be just an assignment description [B]E[/B]xcess code needs to be removed for brevity …

Member Avatar for vegaseat
1
198
Member Avatar for jsphb9000

[QUOTE=chiwawa10;1222888]Since you are reading from the stdin, you should use the function gets(char *str) which reads from the stdin and does not include the new line character (\n) in buffer[/QUOTE] Never [I]ever[/I] [B]ever[/B] use [ICODE]gets()[/ICODE]. [url=http://www.gidnetwork.com/b-38.html]Here's why[/url]. While you're at it, [url=http://www.gidnetwork.com/b-62.html]see this too[/url].

Member Avatar for Aia
0
177
Member Avatar for coding101
Member Avatar for WaltP
0
155
Member Avatar for westsider123

The rest of this discussion has been moved to [url]http://www.daniweb.com/forums/thread284619.html[/url] The discussion is theoretical and opinion and not helpful to a new student learning the basics.

Member Avatar for jephthah
0
427
Member Avatar for vb5prgrmr

[QUOTE=cscgal;]The post count # was removed because I don't want people referencing things like "Check out post number 5" because moderators see deleted posts, and posts can be split/merged, etc. so a post that is #5 today might not always be #5. Especially if individual posts in a thread get …

Member Avatar for vb5prgrmr
0
608
Member Avatar for jephthah

[QUOTE=cscgal;1217241][B]I very much like the new static bottom-toolbar. I was just about to start complaining about the (again) disappearance of MFF [/B]Thanks![/quote] Although I liked the MFF on the side bar, I think the bottom bar may work as well. [QUOTE=cscgal;1217241][B]I'm sorry to be blunt, but the monochromatic color scheme, …

Member Avatar for Dani
8
2K
Member Avatar for spartan118
Member Avatar for Ancient Dragon
Member Avatar for Ezzaral
0
133
Member Avatar for Banfa

The rest of this discussion has been moved to http://www.daniweb.com/forums/thread284619.html The discussion is theoretical and opinion and not helpful to a new student learning the basics.

Member Avatar for 0x69
3
308
Member Avatar for BestJewSinceJC

I think I disagree with mom. Dealing with restaurants, 15% is standard, plus or minus based on the service. What I dislike is 6 or more the tip is automatically added and calculated at 18%. I've even seen higher. Other services have different rates. 15% is not universal. [url=http://www.getrichslowly.org/blog/2006/10/12/basic-tips-on-tipping-how-much-and-to-whom/]This looks …

Member Avatar for avatar103
0
659

The End.