Posts
 
Reputation
Joined
Last Seen
Ranked #7
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
91% Quality Score
Upvotes Received
983
Posts with Upvotes
669
Upvoting Members
209
Downvotes Received
62
Posts with Downvotes
51
Downvoting Members
40
411 Commented Posts
~1.55M People Reached
Favorite Tags

2,839 Posted Topics

Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Duki
Member Avatar for Dani
22
17K
Member Avatar for 143wena

[QUOTE=jmb_2604;1088964]what is "cout"????[/QUOTE] try [URL="http://lmgtfy.com/?q=cout+C%2B%2B"]this[/URL]

Member Avatar for Aldrin_3
0
696
Member Avatar for eazy_man

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? …

Member Avatar for Koushik_3
-4
17K
Member Avatar for LastMitch

@iamthwee: I saw Lucy last week, I wasn't really impressed actually. Most of the cool scenes were already shown in the trailer

Member Avatar for LoanHensley
6
6K
Member Avatar for daledan

[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 …

Member Avatar for Mian_13
0
754
Member Avatar for NinjaLink

[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. …

Member Avatar for Nor_492
0
7K
Member Avatar for computer engW

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: …

Member Avatar for movies8time8
0
8K
Member Avatar for GeekByChoiCe

[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.

Member Avatar for Dani
0
506
Member Avatar for Jiwe

I don't think anyone is going to open an executable uploaded onto a forum. The word 'virus' immediately comes to mind :)

Member Avatar for Dwi_3
0
3K
Member Avatar for Oxiegen

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 …

Member Avatar for JamesCherrill
0
615
Member Avatar for jacktb

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.

Member Avatar for nikitacod
0
2K
Member Avatar for rproffitt
Member Avatar for pixma

> Hello sir can you give me a Unique proposal.. Here your go: ![a5659b83cb6057e6ccb33bf638821bda](/attachments/large/0/a5659b83cb6057e6ccb33bf638821bda.png "a5659b83cb6057e6ccb33bf638821bda")

Member Avatar for Aldrin_1
0
6K
Member Avatar for kanebt

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 …

Member Avatar for Олег_9
3
3K
Member Avatar for evilguyme

[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]

Member Avatar for toneewa
0
7K
Member Avatar for nitin1
Member Avatar for ddanbe
0
5K
Member Avatar for arithehun
Member Avatar for Member 785072

[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.

Member Avatar for Matic_1
0
979
Member Avatar for kenyo_070289
Member Avatar for ZaiBo
0
318
Member Avatar for programmingnoob

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

Member Avatar for rproffitt
0
3K
Member Avatar for kings

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..)

Member Avatar for diafol
0
3K
Member Avatar for shubhamgore

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?

Member Avatar for markanderson4
-6
873
Member Avatar for BHUJI

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; …

Member Avatar for Sby_1
0
22K
Member Avatar for devccompiler

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

Member Avatar for Eren_1
0
1K
Member Avatar for The Dude

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

Member Avatar for maydhyam
1
6K
Member Avatar for Ivan_9

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/

Member Avatar for David W
0
2K
Member Avatar for Suzie999

Just out of curiosity: What's your intented purpose with this function?

Member Avatar for Suzie999
0
1K
Member Avatar for karthik16

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() …

Member Avatar for Nick Evan
0
229
Member Avatar for Dani

From what I understand it should be mandatory to add at least one tag to your thread right? So am I missing something or doesn't this thread have any: https://www.daniweb.com/programming/software-development/threads/501097/same-countdown-on-all-forms

Member Avatar for Nick Evan
2
1K
Member Avatar for needs_help

[QUOTE=chineerat;1085285]this should be funny [URL="http://www.facebook.com/photo.php?pid=10219262&id=878590034"]http://www.facebook.com/photo.php?pid=10219262&id=878590034[/URL][/QUOTE] Hmm: [quote] Facebook Login You must log in to see this page.[/quote] Yeah, really LMOA here... Am I the last person on earth without a facebook page?

Member Avatar for Ciara_1
0
883
Member Avatar for minitauros

Am I the only one who really misses the "old-style" forums? I know they were cluttered and used way too many colors, but I really liked them. In 2015 all tech-sites/programs kinda look the same to me with all the white all over te screen and as few buttons as …

Member Avatar for Nick Evan
3
560
Member Avatar for vegaseat

[QUOTE=ZZucker;575314]Leonardo de Vinci could write with one hand and draw with the other at the same time.[/QUOTE] That sounds like something Chuck Norris would do ;)

Member Avatar for vegaseat
11
9K
Member Avatar for 35nando

[QUOTE=35nando;840017] OpenCV is too exotic and weird. Provides many files but there is no good documentation and examples for Builder c++. I couldn't run it properly. [/QUOTE] First of all: OpenCV is [i]not[/i] exotic or weird. It is actually being used a lot, even by professional companies. The reason that …

Member Avatar for Abheek88
0
2K
Member Avatar for Narue

I think this thread has enough "advice" replied to the original post. Time for a lock.

Member Avatar for Smn
18
13K
Member Avatar for markdean1989

You're compiling for Unicode, so Visual Studio is using LPCWSTR (Long Pointer to Constant Wide String) instead of the "normal" strings. Try prefixing your strings with an "L" to tell Visual Studio to convert the string. So: ShellExecute(GetDesktopWindow(), L"open", L"c:\myTestFolder\myfile.exe", NULL, NULL, SW_SHOWNORMAL);

Member Avatar for markdean1989
0
340
Member Avatar for ahmadali

It's amazing how early on people just give up trying to learn C++ themselves and go online to beg for code. I mean, this is probably lesson 2 or 3?

Member Avatar for Henry Mark
0
169
Member Avatar for kirangentlebree
Member Avatar for LocoBird

Looks real good! Now for 3d :) . @mod Perhaps this thread would fit nicely into the 'game development' catagory?

Member Avatar for Tihami12
0
1K
Member Avatar for Dani

>Members would need to prove themselves based on reputation, solved thread statistic, endorsements, etc Also: based on activity. There are a few members (including me) with quite a high rank when it comes to reputation and solved thread, but who aren't really active anymore.

Member Avatar for Dani
0
2K
Member Avatar for Adnan S.

... Read [URL="http://www.daniweb.com/forums/post469568.html#post469568"]this[/URL], it applies to your program. (conio, void main(), getch clrscr are bad coding habits) Next: read [URL="http://www.daniweb.com/forums/thread78223.html"]this [/URL]to learn how to make a senseable post Then read [URL="http://www.daniweb.com/forums/thread93280.html"]this [/URL]about code tags And learning what [URL="http://en.wikipedia.org/wiki/Indent_style"]indention [/URL]is, will help you in the future regards Niek

Member Avatar for sneekula
0
960
Member Avatar for zapman2003
Member Avatar for J.C. SolvoTerra

Thank god the curse filter only filters American words or all of us would have been banned a long time ago ;)

Member Avatar for J.C. SolvoTerra
0
532
Member Avatar for veronicak5678

All your suggestions are appreciated, but this thread is 3,5 years old. The original poster is probably no longer interested in it. :icon_smile:

Member Avatar for bridgett.grace
0
2K
Member Avatar for manaog.aaronvici.7
Member Avatar for senaddor

[QUOTE=senaddor;840580]Any ideas how would this header file look like?[/QUOTE] It's in your book [URL="http://books.google.nl/books?id=HtgSvljvC7IC&pg=PA1126&lpg=PA1126&dq=d.s.+malik+mystack.h&source=bl&ots=SZZDotjQEC&sig=N_3fbvMIonXXfTdSjsWnW2dx7zY&hl=nl&ei=mA3aSaaqIJmv-AbJosjKBQ&sa=X&oi=book_result&ct=result&resnum=1"]according to google[/URL]

Member Avatar for yonela.yonce
0
2K
Member Avatar for Aya_3
Member Avatar for mike_2000_17
0
289
Member Avatar for iqra aslam

The easiest way is to use bitset #include <iostream> #include <bitset> int main () { std::bitset<16> foo(123); std::cout << foo << '\n'; return 0; }

Member Avatar for Sam_6
-1
228
Member Avatar for Jjajangmyeon

or if your compiler doesn't support c++11, you could do someting like int fu[] = {1, 3, 4, 5, 6}; std::vector<int> vect(fu, fu + 5);

Member Avatar for melissad
0
235

The End.