- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 983
- Posts with Upvotes
- 669
- Upvoting Members
- 209
- Downvotes Received
- 62
- Posts with Downvotes
- 51
- Downvoting Members
- 40
Re: Sid Vicious was innocent was a song by minor threat | |
Re: [URL="http://www.resimao.org/images/product/09.05.20yam.gif"]yam[/URL] | |
Re: [QUOTE=jmb_2604;1088964]what is "cout"????[/QUOTE] try [URL="http://lmgtfy.com/?q=cout+C%2B%2B"]this[/URL] | |
Re: Let me make an educated guess here. Your teacher wanted you to make the palindrome problem and you're required to hand in the pseudocode in addition to your solution. Now you've found this code somewhere on the web and decided to cheat your way through this class. Am I right? … | |
| Re: @iamthwee: I saw Lucy last week, I wasn't really impressed actually. Most of the cool scenes were already shown in the trailer |
Re: [QUOTE=U_musthlp;841108]Write a program to create an addressbook. [/QUOTE] So you've bumped a five year old thread to ask us to do your homework for you? That's not how the cookie crumbles. Here's how you can get your answer: - [URL="http://www.daniweb.com/forums/thread78223.html"]read this first[/URL] - Start a new thread with your question … | |
Re: [QUOTE=l4z3r;692463] Clearly, this method will be more longer and more time consuming.[/QUOTE] Insertion sort takes less time (in most cases) then bubble-sort. Bubble-sort is (with the exception of bogusort) the slowest sorting algorithm there is (to my knowledge). They're both quadratic algorithms which won't work very well on large arrays. … | |
Re: There's isn't a magic code to draw 'all shapes' I guess this is a homework assignment to learn loops? If yes: Post your attempt here (are tell us what part you don't understand), and you'll get help. if no: The easiest way to draw the shape in your post is: … | |
Re: [quote] If the forum showed us reputation like it used to, this would not be a problem.[/quote] Indeed, I would really like to have the old green/red blockies back. | |
Re: I don't think anyone is going to open an executable uploaded onto a forum. The word 'virus' immediately comes to mind :) | |
Re: in the 30 minutes after posting, you can see an "edit/delete" button next to your post. By clicking this you can edit your post. Although it also says "delete", this is never possible for regular users. It's a bug that Dani still needs to fix. Here at Daniweb we only … | |
Re: Most of these SEO threads tend to attract a lot of spam. I've talked to Dani about this and we're allowed to delete most of it nowadays. Unfortunately the overall quality in these thread are still not up to standard. | |
Re: > Hello sir can you give me a Unique proposal.. Here your go: ![a5659b83cb6057e6ccb33bf638821bda](/attachments/large/0/a5659b83cb6057e6ccb33bf638821bda.png "a5659b83cb6057e6ccb33bf638821bda") | |
Re: Reading posts has never required anyone to create an account nor does creating an account require you to fill in your personal information. You can go to your user-control-panel and disable all e-mail notifications. You have already deleted any personal info that may or may not have existed on your … | |
Re: [QUOTE=evilguyme;998794] i searched pixel there and got no results.. then i searched bitmap and got some 5 lame results...[/QUOTE] Don't pay any attention to anything Marco93 says. We are still waiting for his first descent post. Perhaps [URL="http://www.daniweb.com/forums/post951415.html#post951415"]this can help you[/URL] | |
Re: Are you saying you're using C# and C++ projects in one solution? | |
Re: You're using "goto" in a tutorial? :icon_wink: | |
Re: [B]>>I think I got one of the logic, so there *should* only be 2 left.[/B] Why two? If you know [I]where[/I] the bugs are, you might want to tell us. We're not all clairvoyant here. | |
Re: [URL="http://www.daniweb.com/forums/announcement8-2.html"]Here [/URL]you go | |
Re: Why didn't you use CODE-TAGS as Joey mentioned? Why did you use void main ()? [quote]*heres the code i made, but it didnt work..[/quote] What doesn't work? Does it compile/run/..? Niek | |
Re: In word do: File -> Save as.. -> Type name and select webpage (*.htm,*.html) in the extension menu. This is the only way to convert .doc to .html. Microsoft is very protective about there fileformats. (well you could get a morgage and buy the microsoft SDK..) | |
Re: So where is it? [edit] Ah there it is, my browser apparently had a small err. It's not very good, to say the least... goto, void main, no indention, use of stdafx... Where exactly did you learn C? | |
Re: First of all: please use codetags. It makes your code easier to read: [code=c] #include<stdio.h> int main() { int a,b,c,d,e,f,flag=0; printf("Enter first date"); scanf("%d%d%d",&a,&b,&c); printf("Enter second date"); scanf("%d%d%d",&d,&e,&f); const int days[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; while(c!=f||b!=e||a!=d) { a++; if((b==4)||(b==6)||(b==9)||(b==11)) f=30; else if(b==2) { if(d%4==0) f=29; else f=28; } else f=31; if(a>f) { b++; a=1; … | |
Re: As far as I know Dev-C++ is no longer being maintained and doens't have support for windows 7/8. Perhaps you should consider using a different IDE | |
Re: Say Grim, you [I]do [/I]realize that this thread is allmost 3 years old and hasn't had a descent reply in half a year, right? :P | |
Re: Is it required to write your own stack? If not, you could use a std::vector to store your data in and then sort it with std::sort . For an example see: http://www.cplusplus.com/reference/algorithm/sort/ | |
Re: Just out of curiosity: What's your intented purpose with this function? | |
Re: To be honest, there's more wrong with this code than right.. The random curly-bracket on the first line for example. And C++ doesn't come with a function called random(). You're probably better of starting over and taking it small steps at a time. 1. Make a program with a main() … |