5,676 Posted Topics
Re: [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 … | |
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: [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. | |
Re: 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 … | |
Re: [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? | |
Re: [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 … | |
Re: [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 … | |
![]() | Re: [QUOTE=;][/QUOTE] In [b]f2c()[/b], 5/9 = 0. In [b]c2f()[/b], 9/5 = 1. Remember the limits of integer math... ![]() |
Re: [QUOTE=;][/QUOTE] Ask the author for a copy of the source. | |
Re: [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. … | |
| |
Re: 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. ![]() | |
Re: 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(). | |
Re: 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 … | |
Re: Oh, give it another week. There'll be more changes :icon_twisted: | |
Re: 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 … | |
Re: 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, … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: Talk about a signature spammer!!!! | |
Re: Add [iCODE]cin.get()[/iCODE] just before the [iCODE]return[/iCODE] statement. A simple search would have found this solution in seconds. | |
Re: [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 … ![]() | |
Re: [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 … | |
Re: 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] | |
Re: In other words, feel free to post your questions in the forums mentioned. | |
![]() | Re: [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 … |
Re: Yes, and...? Not only did you not ask a question, you did not even make a sentence. | |
Re: No, just read the file one line at a time. | |
Re: 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. | |
Re: [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 … | |
Re: [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]. | |
| |
Re: 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. | |
Re: [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 … | |
Re: [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, … | |
Re: 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. | |
Re: 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 … |
The End.