Forum: DaniWeb Community Feedback 12 Hours Ago |
| Replies: 8 Views: 142 I did! See attachments (now added) in previous post. This is a bit weird or am I going stupid? |
Forum: DaniWeb Community Feedback 12 Hours Ago |
| Replies: 8 Views: 142 Ok, maybe I'm not understanding this. Here's the screenshot from the post JBennet described. As you can see I have no tags whatsoever in "plaintext". :-/
[edit] Forgot to add the attachments... |
Forum: C++ 13 Hours Ago |
| Replies: 6 Views: 191 This may very well be the best post I have ever read on Daniweb. :icon_mrgreen: |
Forum: DaniWeb Community Feedback 14 Hours Ago |
| Replies: 8 Views: 142 I clicked the link you provided, went to the second post and saw all the "printf" in bold. When I click "toggle plain text", no HTML code whatsoever is shows. No <strong> or <bold> .
I'm using ff3... |
Forum: C++ 16 Hours Ago |
| Replies: 8 Views: 114 Because it makes the code easier to read? All major IDE's have syntax-highlighting. What IDE/compiler are you using? |
Forum: C++ 17 Hours Ago |
| Replies: 8 Views: 114 It's magic!
Example:
int number = 0;
cout << "hello" << number << '\n';
now the exact same text but in tags:
int number = 0; |
Forum: C++ 17 Hours Ago |
| Replies: 8 Views: 114 For the entire block of code indeed. |
Forum: C++ 23 Hours Ago |
| Replies: 13 Views: 15,175 Read post no. 11.
Thread closed due to multiple useless resurrections in the last 3 years. |
Forum: C++ 1 Day Ago |
| Replies: 2 Views: 97 So what exactly is your question? |
Forum: C++ 1 Day Ago |
| Replies: 3 Views: 144 strlen and char-arrays in C++? :icon_eek:
Why not use the functions provided to us:
#include <iostream>
#include <string>
#include <algorithm>
int main() |
Forum: C++ 1 Day Ago |
| Replies: 1 Views: 85 Tada (http://en.wikipedia.org/wiki/Bubble_sort) |
Forum: DaniWeb Community Feedback 1 Day Ago |
| Replies: 8 Views: 142 The problem is that the OP put color-tags in his post. Then Adatapost came along and saw that the post needed code-tags and encased the code (with the color-tags in them!) in code-tags. This resulted... |
Forum: DaniWeb Community Feedback 1 Day Ago |
| Replies: 6 Views: 232 Click (http://www.daniweb.com/forums/thread194321.html) |
Forum: Geeks' Lounge 1 Day Ago |
| Replies: 19 Views: 335 The number now only represents "registered members". In the past non-registered users also added to this number (like google-crawlers etc).
The difference is this:
In the past the line meant... |
Forum: C++ 1 Day Ago |
| Replies: 14 Views: 274 I haven't posted any major projects here. But when I make project with > 100.000 lines for example, you can be sure that there are a few namespaces in it :)
Saying: "I haven't seen them here", "They... |
Forum: C++ 1 Day Ago |
| Replies: 14 Views: 274 Interesting point of view. Would you like to explain why you think namespaces are outdated? (I know this is going off-topic, but perhaps it'll trigger some interesting discussion and I'll break this... |
Forum: C++ 2 Days Ago |
| Replies: 14 Views: 274 I am using namespaces. And I'm using them the way they were intended. Let's say you have 2 namepspaces: foo and bar and they both have the function toString() in them. How are you supposed to know... |
Forum: C++ 2 Days Ago |
| Replies: 14 Views: 274 Oh wow! Then I'll help you immediately:
#include <iostream>
int main(){
int number = 30;
std::cout << std::hex << number;
}
don't forget to put the credits in the codez! |
Forum: C++ 2 Days Ago |
| Replies: 5 Views: 128 You need to change this line:
cout << “ ‘s bonus is ” << bonus << endl;
to:
cout << " bonus is " << bonus << endl;
without the fancy quotes, but with the plain old ones.
also: What... |
Forum: C++ 2 Days Ago |
| Replies: 14 Views: 274 This is slightly confusing. You say:
But you also say:
Why would you need the code, when you're making it yourself? And to make matters even more confusion, your signature says:
So why... |
Forum: C++ 2 Days Ago |
| Replies: 6 Views: 108 Logic appears to be right :) |
Forum: C++ 2 Days Ago |
| Replies: 6 Views: 108 1. Install the Gnu Compiler Collection.
2. Create a new project and select GNU GCC compiler as your compiler |
Forum: C++ 2 Days Ago |
| Replies: 1 Views: 124 Does it show the cvNamedWindow or close immediately?
You could also try something like this (with cvCaptureFromAVI):
CvCapture* capture = cvCaptureFromAVI( "MGC_RC_ATV.avi" );
if( !capture )... |
Forum: C++ 2 Days Ago |
| Replies: 6 Views: 108 You can select gcc/g++ to be your compiler for Code::blocks, yes. |
Forum: C++ 2 Days Ago |
| Replies: 4 Views: 130 Problem with this code is that when 'i' reaches 'roman.length()', roman.at(i+1) will be out of bounds. -> Crash
@OP:
have a look at this (http://www.daniweb.com/code/snippet227036.html) |
Forum: C++ 3 Days Ago |
| Replies: 3 Views: 296 Explain what your problem is? |
Forum: C++ 3 Days Ago |
| Replies: 5 Views: 183 Polite reference to google (http://www.google.nl/#hl=nl&safe=off&q=lame+mp3+tutorial+%2Bc%2B%2B&meta=&aq=&oq=lame+mp3+tutorial+%2Bc%2B%2B&fp=8de2ccb2d9eed743). :)
The third hit looks like a... |
Forum: DaniWeb Community Feedback 3 Days Ago |
| Replies: 7 Views: 478 For some reason, she never reads them :icon_confused:
I'll try to bring this thread under her attention however. |
Forum: Geeks' Lounge 3 Days Ago |
| Replies: 4 Views: 446 The last post by this user had a link in it to some site (and it got snipped). I guess they forgot to put the link in this time :D |
Forum: Visual Basic 4 / 5 / 6 3 Days Ago |
| Replies: 3 Views: 180 Discussion continued here (http://www.daniweb.com/forums/post1049772.html#post1049772).
[closed] |
Forum: Visual Basic 4 / 5 / 6 3 Days Ago |
| Replies: 3 Views: 180 When you see posts like this in the future, just click the "flag bad post" link. This will send a notification to the moderating team and a moderator can change the snippet to a forum-thread. |
Forum: VB.NET 3 Days Ago |
| Replies: 3 Views: 79 |
Forum: Game Development 3 Days Ago |
| Replies: 6 Views: 513 What am I doing? :icon_wink: |
Forum: C 3 Days Ago |
| Replies: 1 Views: 184 Beej (http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html)is your friend |
Forum: C++ 3 Days Ago |
| Replies: 1 Views: 161 It appears that your shift key is broken and your dot-key is stuck. You might want to consider buying a new keyboard.
Here's a 'getting started (http://www.daniweb.com/forums/thread63827.html)'... |
Forum: Python 4 Days Ago |
| Replies: 2 Views: 134 You're using the pop() method of a list. It pop's a value from a list at INDEX x, not a VALUE x. So when you say that if i is smaller then 0: pop i You're removing the item at INDEX i. So when i ==... |
Forum: C 4 Days Ago |
| Replies: 9 Views: 240 |
Forum: C++ 4 Days Ago |
| Replies: 5 Views: 183 wxWidgets has very good tutorials (http://www.wxwidgets.org/docs/tutorials.htm) for setting up projects with all major IDE's on their website.
Most libraries will have demo-projects on their... |
Forum: Computer Science 4 Days Ago |
| Replies: 20 Views: 21,182 |
Forum: C++ 4 Days Ago |
| Replies: 4 Views: 167 |