Forum: C++ Oct 11th, 2009 |
| Replies: 8 Views: 334 I think your easiest answer would be
vector<int>setlist;
setlist.push_back(3);
setlist.push_back(12);
setlist.push_back(4);
string s1 = ",";
cout << "{"; |
Forum: DaniWeb Community Feedback Sep 5th, 2009 |
| Replies: 74 Views: 4,827 Another small display error on the quick reply. Doesn't show gray boarder properly on right hand side.
Windows xp firefox 3.5.2 |
Forum: Visual Basic 4 / 5 / 6 Sep 3rd, 2009 |
| Replies: 2 Views: 2,842 This snippet shows you how to connect to a database using ODBC in vb.net 2005 |
Forum: C++ Aug 17th, 2009 |
| Replies: 12 Views: 711 Hi Tommy,
How's it going chicken? First, thank you for returning the red candy, I appreciate that.
Second, you are a good poster, no doubt about it. But the code you posted serves no purpose... |
Forum: C++ Aug 17th, 2009 |
| Replies: 2 Views: 375 Why would you want to learn MFC under than maintaining old code? |
Forum: C++ Jul 21st, 2009 |
| Replies: 8 Views: 355 #include <cmath>
#include <iostream>
using namespace std;
int main ()
{
cout << ( log ( 100000000.0 ) / log ( 2.0 ) ) + 1;
getchar();
} |
Forum: C++ May 27th, 2009 |
| Replies: 24 Views: 834 Sorry I have customers to serve at McDonald's.
Good luck though.
However, if I didn't I might do something like:
#include <iostream>
#include <fstream>
#include <string> |
Forum: C++ May 22nd, 2009 |
| Replies: 7 Views: 530 #include <string>
#include <iostream>
using namespace std;
class Fools
{
public:
void bar ( void )
{ |
Forum: C++ May 11th, 2009 |
| Replies: 5 Views: 298 Yeah, with a recursive function perhaps:
#include <iostream>
#include <deque>
#include <string>
using namespace std;
class Fools
{ |
Forum: C++ May 7th, 2009 |
| Replies: 8 Views: 356 #include <iostream>
#include <iomanip>
class Fools
{
public:
void bar()
{
int a;
do
{ |
Forum: C Jul 30th, 2008 |
| Replies: 12 Views: 1,529 I do believe post #3 was counter productive, at least, for the OP. |
Forum: C++ Apr 22nd, 2008 |
| Replies: 3 Views: 392 Read it in, then cout it. But the console window will only display the last part. You can't scroll up to the very beginning. |
Forum: PHP Jan 21st, 2008 |
| Replies: 11 Views: 3,281 Yes install wamp it saves a lot of trouble. Unless you enjoy wasting time. |
Forum: C++ Jan 20th, 2008 |
| Replies: 5 Views: 5,321 Why aren't you using stringstreams.
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1046996179&id=1043284385 |
Forum: Java Jan 9th, 2008 |
| Replies: 9 Views: 2,272 I used to use netbeans, but now I use eclipse. |
Forum: DaniWeb Community Feedback Dec 22nd, 2007 |
| Replies: 16 Views: 2,100 >The point is, I don't like red spots on my profile
Sorrie jishnu, I can't give you any more neg reputation today, but I'll be sure to remember to give you some tomorrow. That way you'll have two... |
Forum: C Dec 17th, 2007 |
| Replies: 6 Views: 914 I think you need to go back to basics. |
Forum: Geeks' Lounge Dec 3rd, 2007 |
| Replies: 108 Views: 11,721 > Do you consider the quote below racist?
> The AVERAGE black person is less intelligent than the AVERAGE white person
Fixed...
The AVERAGE black person can run faster than the AVERAGE white... |
Forum: C++ Sep 7th, 2007 |
| Replies: 3 Views: 2,394 |
Forum: Geeks' Lounge Aug 29th, 2007 |
| Replies: 49 Views: 4,163 Yeah well that's our government and their namby pamby pinko liberal rhetoric. |
Forum: C# Aug 22nd, 2007 |
| Replies: 5 Views: 816 > It's not counting whitespace, it's relying on a fixed width column format.
Nah, that is just stupid. And he never said he's using fixed width column if you reread the original thread so you are... |
Forum: C++ Aug 8th, 2007 |
| Replies: 7 Views: 1,348 |
Forum: C++ Aug 1st, 2007 |
| Replies: 5 Views: 787 Since you never mentioned OS I'd go for OpenGL. |
Forum: DaniWeb Community Feedback Jul 25th, 2007 |
| Replies: 28 Views: 3,796 I agree with Dani, it doesn't make any sense to bad rep newbies for not using code tags.
The moderators instead should be more diligent, and take the time to not only add code tags but also... |
Forum: Java Jul 17th, 2007 |
| Replies: 22 Views: 7,175 Erm how does heap permute remove duplicates or help when removing duplicates? |
Forum: C Jul 16th, 2007 |
| Replies: 17 Views: 1,923 >In the name of `just for beginners' we get burried into a pile of worthless practices hard to break later on.
We are not talking about you. You are specially challenged, learning new habits will... |
Forum: C++ Jul 12th, 2007 |
| Replies: 10 Views: 2,344 #include <iostream.h>
#include <conio.h>
struct customerType
{
char name[21];
int pin;
float balance;
customerType *link;
}; |
Forum: C++ Jun 29th, 2007 |
| Replies: 8 Views: 20,028 Creating a web browser, especially in c++, is not an exercise newbies should be attempting. |
Forum: Geeks' Lounge Jun 25th, 2007 |
| Replies: 59 Views: 8,249 Does that mean she won't be able to wear her ankle bracelets anymore? |
Forum: Posting Games Jun 11th, 2007 |
| Replies: 354 Views: 26,729 |
Forum: Java Jun 11th, 2007 |
| Replies: 2 Views: 909 >want to link include java applet from A to Z
Wuh? |
Forum: Java Jun 3rd, 2007 |
| Replies: 68 Views: 18,756 >Umm..so has anyone of them objected after I posted their approximate addresses
Yeah, let's ask em later? Did you ask Peter Budo or the dude? And so what if it is only an approximate address?
... |
Forum: Posting Games Jun 2nd, 2007 |
| Replies: 354 Views: 26,729 |
Forum: C++ May 30th, 2007 |
| Replies: 15 Views: 3,273 This is c++, why aren't you using std::strings for starters? |
Forum: C++ May 9th, 2007 |
| Replies: 21 Views: 3,500 Are you back at work narue? |
Forum: C++ May 9th, 2007 |
| Replies: 21 Views: 3,500 How do you get an animated avatar? |
Forum: C++ Apr 22nd, 2007 |
| Replies: 3 Views: 1,623 Why can't you figure it out yourself. |
Forum: Computer Science Apr 1st, 2007 |
| Replies: 29 Views: 6,493 http://en.wikipedia.org/wiki/Sorting_algorithm |
Forum: C Dec 30th, 2006 |
| Replies: 19 Views: 4,113 Hint
You need to hold down the left mouse button over the blank parts then drag the mouse down. |
Forum: Site Layout and Usability Dec 17th, 2006 |
| Replies: 12 Views: 2,741 Just one other thing, do you plan to change your entire site design from an xp theme to a vista theme when vista ships?
Just thought I'd mention it. |