2,839 Posted Topics

Member Avatar for christina>you

We don't get gifts with Christmas. We celebrate the original holiday of [URL="http://en.wikipedia.org/wiki/Sinterklaas"]Sinterklaas [/URL](yes, Santa-Claus is the lame rip-off :) ) The biggest advantage is that I get gifts on the 5th of December [i]and[/i] two days of with Christmas! But on topic: I'm hoping for a nice bottle of …

Member Avatar for techbound
0
484
Member Avatar for praveen_dusari

[QUOTE=scru;698014]You mean like someone who isn't monogamous, unbeknown to his sex partner?[/QUOTE] Nah, I think he meant MP3-player :)

Member Avatar for techbound
0
169
Member Avatar for Ancient Dragon

I bought a new machine a month ago because my 1800 celeron deserved his retirement. So I was thinking: "If I'm going to buy something, I better buy something good" So I'm now the proud owner of a quad-core with 4 gb ram etc etc... That was where the trouble …

Member Avatar for Jen0608
3
401
Member Avatar for lulusweety

And if you want to build your own: [URL="http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_rbtree.aspx"]eternallyconfuzzled[/URL]

Member Avatar for haider_up32
0
155
Member Avatar for pizzafiend
Member Avatar for michael1201
Member Avatar for mynameisor
0
274
Member Avatar for NekoGráfico

Sounds like a good idea. Give us some rules, make this thread a sticky and let's go :)

Member Avatar for MosaicFuneral
0
163
Member Avatar for naina_gill

[QUOTE=naina_gill;590371]in fact i teach some languages. [/QUOTE] Do you teach in l33t-speak ? :icon_wink: l33t is against the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL]. [QUOTE=naina_gill;590371]who really wanna guide..instead of pulling my leg[/quote] Ancient Dragon wasn't pulling your leg, he gave the best advice he could give you, because you didn't tell us anything about …

Member Avatar for vandenzergen
0
255
Member Avatar for Dani

In addition to the things already said, Daniweb isn't really known for it's blogging possibilities. I visit sites like reddit and digg etc frequently, but Daniweb's articles are seldom featured on these kind of sites, so the average blog reader (someone like me) doesn't even know that Daniweb-blogs exist. So …

Member Avatar for Dave Sinkula
0
140
Member Avatar for RenjithVR

The conf file is just a textfile, so you can use standard c++ file-acces: [code=cplusplus] #include <fstream> [....] std::ifstream in_file("/etc/resolv.conf"); if (!in_file.is_open()) std::cout << "error opening file"; else // do stuff [/code]

Member Avatar for stephen84s
0
196
Member Avatar for M^2

[QUOTE=M^2;747848]heloo can anyone plz tell me how use functions like power and setw.... [/QUOTE] Probably. What did you try? With what do you have problems?

Member Avatar for davids2004
0
128
Member Avatar for karang

And show some code. Although we have many superpowers here on daniweb; reading minds is not one of them.

Member Avatar for cikara21
0
163
Member Avatar for riahc3

[QUOTE=Narue;745450] take [ICODE]int r = rand() % N;[/ICODE] and turn it into [ICODE]int r = rand() % 4;[/ICODE] [/QUOTE] [QUOTE=riahc3;745476]So what: N is now 4? But because you say so? And why 4/n?[/quote] You asked for 0-3 right? How many numbers are that? Holy ****! It's four! [QUOTE=riahc3;745476] If there …

Member Avatar for Narue
0
222
Member Avatar for Fox Hound

[QUOTE=Fox Hound;744654] i want to make a 3rd person to first person shooter, kinda like Metal Gear Solid; it will have online capabilities but also a story mode. So what i need is: 1 Good/decent programmer that either knows C++/ C# if experienced in the Irrlicht Engine/ Irr-EDIT that's a …

Member Avatar for jbennet
0
167
Member Avatar for Awaivadrailla

Completely off-topic, but Dave: I really think that Sarah won't become Obama's Vice president, so perhaps a change of avatar might be in order ;)

Member Avatar for jbennet
0
166
Member Avatar for vatsa.devil

Perhaps. You could also add breakpoints in you program to see exactly where (and why) it crashes.

Member Avatar for jbennet
0
212
Member Avatar for DavidB

Last week Daniweb was updated with a few new features (like the new look). All the lounges (except the geek's) were merged into the [URL="http://www.daniweb.com/forums/forum5.html"]IT professionals lounge[/URL] [QUOTE=The Dude;746149]I see all the bases here.......[/QUOTE] Clear your cache

Member Avatar for The Dude
0
210
Member Avatar for bit-streamer

On the subject of code-snippets: I would really like a 'preview' button with them just as normal posts have. It's not a big deal, but I would be very grateful ;) [edit] Also: Why can't we attach pics to snippets? If I'm posting a visualc++ snippet for example, it would …

Member Avatar for ddanbe
0
384
Member Avatar for jntn

Sounds like the lyrics from a 90's rapsong to me. [quote=mc hammer] You can get it icq [/quote]

Member Avatar for jbennet
0
8
Member Avatar for Nick Evan

This site may come in very handy when dealing with lazy newbies: [URL="http://letmegooglethatforyou.com/"]http://letmegooglethatforyou.com/[/URL] Example: [quote=noob] what is search-algorithm ?!!!111 lolzwtf fbi [/quote] Click [URL="http://letmegooglethatforyou.com/?q=search+algorithm"]this [/URL]link and see

Member Avatar for Obeledeveloper
5
358
Member Avatar for GrimJack

[QUOTE=jbennet;745139]Please dont use .... all-lowecase.....[/QUOTE] Hmm... I remember someone else who did this for his first 10.000 or so posts .... ;)

Member Avatar for Obeledeveloper
0
85
Member Avatar for dise652

[QUOTE=jbennet;744232]Wht is thanksgiving?[/QUOTE] [URL="http://lmgtfy.com/?q=thanksgiving"]Click[/URL] What the hell is wht?

Member Avatar for Jen0608
0
134
Member Avatar for Jason123

You're using istringstream without including <sstream> Also 'debris' is undeclared. You're reading 5 or 6 times from your file per loop, are you sure you want to do that....

Member Avatar for Jason123
0
205
Member Avatar for BioHazard90

I have a bachelor in Embedded systems engineering. I don't know anyone from my class that had to start with a helpdesk, but the situation might be different here in the Netherlands. The start salary here is between 1800 euro (1500 pound/2300 usd) and 2100 euro (1750 pound/2700 usd), but …

Member Avatar for vmanes
0
183
Member Avatar for elsa87

You can start a new thread everytime someone doesn't give you the answer you like, but you could also try solving some of the errors yourself. I bet you didn't change anything I suggested in the "ItemType.h" file right? In your [URL="http://www.daniweb.com/forums/post744130-35.html"]other thread[/URL] I also mentioned that you had missing …

Member Avatar for Salem
0
102
Member Avatar for ALAZHARY

[QUOTE=ALAZHARY;745035]thank you minas1, but I think you need to read carefully what is the problem?[/QUOTE] Actually: YOU need to read the replies carefully. MattEvans already told you what the problem is: [QUOTE=MattEvans;744286]The behaviour when dereferencing an invalid pointer is undefined. [/QUOTE] So just use the code posted by him and …

Member Avatar for ALAZHARY
0
655
Member Avatar for kimax

[QUOTE=Ezzaral;744520]I think this poster is just starting threads to stamp their sig links.[/QUOTE] I agree, I flagged his posts so it's up to the mods.

Member Avatar for jbennet
0
128
Member Avatar for XxAaronxX

2 things. Change : [icode]namespace std;[/icode] to [icode]using namespace std;[/icode]. Your code shouldn't compile without changing it. then change: [code=cplusplus] int Meters; int Yards;[/code] to: [code=cplusplus] double Meters; double Yards; [/code] Int can only be integer values So: 1, 4 , 300, 5632 etc etc. But you need some digits …

Member Avatar for XxAaronxX
0
100
Member Avatar for sisse56

[QUOTE=sisse56;744219]Help how can you sort[/QUOTE] [URL="http://www.eternallyconfuzzled.com/tuts/algorithms/jsw_tut_sorting.aspx"]The art of sorting[/URL]

Member Avatar for sisse56
0
1K
Member Avatar for kevintse

There seem to be a few bugs in the class: try comparing this: [code=cplusplus] String a = "abcdef"; a = a + "ghij"; cout << a; [/code] with this: [code=cplusplus] String a = "abcdef"; a+="ghij"; cout << a; [/code] But the most important questions is: why? There's a perfectly fine …

Member Avatar for ArkM
0
127
Member Avatar for elsa87

There are so many errors, I don't even know where to begin... Let's take your headerfile for example: [code] struct NodeType { ItemType info; [COLOR="Red"] //class Itemtype not defined yet.[/COLOR] NodeType* next; }; class ItemType { public: Stack();[COLOR="Red"] //What??! Are you trying to call the constructor from here?[/COLOR] bool IsEmpty() …

Member Avatar for cikara21
0
513
Member Avatar for preet4fun
Re: help

This line is causing the troubles: [icode]incode.open[COLOR="Red"](" C:\[/COLOR]\Dev-Cpp\\inventory.txt");[/icode] Do you see the space between the ' " ' and ' C '? Delete that one. Of course the file should still exist at the given locating :) The proper way to check if a file is open if with the …

Member Avatar for preet4fun
0
168
Member Avatar for Se7Olutionyg

Read Vernon's previous post instead of begging for help: [QUOTE=Se7Olutionyg;743256]Help me please[/QUOTE] That's just pathetic. Did you change the things Vernon mentioned? If no: do it and do it now. if yes: What are your new problems and show some code. Also learn how to use [URL="http://www.daniweb.com/forums/misc-explaincode.html"]code-tags[/URL] correctly

Member Avatar for cikara21
0
396
Member Avatar for vahny

This: [icode]for(k=0;k<=;k++;)[/icode] Should be this: [icode]for(k=0;k<=;k++)[/icode] ( no semicolon after k++)

Member Avatar for cikara21
0
178
Member Avatar for Tank50

How about the very first thread in this forum: [URL="http://www.daniweb.com/forums/thread50370.html"]Starting C[/URL] ?

Member Avatar for William Hemsworth
0
146
Member Avatar for maxicube

[QUOTE=maxicube;741429] i fond the key which might be useful. (how would i open it? [/QUOTE] How about using [URL="http://letmegooglethatforyou.com/?q=get+registry+keys+c%2B%2B"]this [/URL]incredible site ? :)

Member Avatar for maxicube
0
128
Member Avatar for Lokolo

Are you deleting the previous transactionlog.txt somewhere? Else rename will fail because the file already exists. You should also avoid using eof(). If you change this: [code=cplusplus] while(!myfile.eof()) { getline(myfile,temp); cout << temp; tempfile << temp << endl; } [/code] to this: [code=cplusplus] while(getline(myfile,temp)) { cout << temp; tempfile << …

Member Avatar for brechtjah
0
173
Member Avatar for mshefa

When posting code always use [URL="http://www.daniweb.com/forums/misc-explaincode.html"]code-tags[/URL]! You have two functions that should return a value, but don't: [ICODE]int CelsiustoFahrenheit()[/ICODE] and [ICODE]int FahrenheittoCelsius()[/ICODE] After calculating the values you'll have to return them from the function, because it makes no sense in calculating them if you're not going to use them right? …

Member Avatar for mshefa
0
2K
Member Avatar for alias120

it isn't "end1" but "endl" (with an "el" not a "one") :) The endl is short for "endline" and makes the console jump to a new line. [icode]cout << "Hello world.\n"; [/icode] would have the same effect. For future posts: if you post code here please use [URL="http://www.daniweb.com/forums/announcement8-3.html"]code-tags[/URL]

Member Avatar for davids2004
0
160
Member Avatar for burhanms

I'm not sure if I understand the question correctly, but if you want a bunch of numbers which you can choose from, you could use vectors. Example: [code=cplusplus] vector<int> diameters; /* load a few bogus values */ diameters.push_back(1); diameters.push_back(5); diameters.push_back(7); /*display available numbers */ cout << "numbers available: "; for …

Member Avatar for MosaicFuneral
0
99
Member Avatar for bondo

[quote] Oh also, how do you specify what kind of syntax you are using with the CODE tags?[/QUOTE] for c: [noparse] [CODE=C] /*code goes here */ [/CODE] [/noparse] also explained [URL="http://www.daniweb.com/forums/announcement8-3.html"]here[/URL]

Member Avatar for bondo
0
174
Member Avatar for kingy55

[QUOTE=kingy55;740385], do I get extra rep points lol[/QUOTE] You want the green or the red kind? ;)

Member Avatar for jbennet
2
63
Member Avatar for xlx16

[ICODE]gotoxy()[/ICODE] is a function developed by Borland for Turbo C. It was never standard C to begin with, so to get your program back to standards and up to date, try using: [URL="http://msdn2.microsoft.com/en-us/library/ms686025.aspx"]SetConsoleCursorPosition()[/URL] Here's another usefull [URL="http://msdn2.microsoft.com/en-us/library/ms682073.aspx"]link[/URL] other things that are non-standard in your program are: [ICODE]#include <conio.h>[/ICODE] Just delete …

Member Avatar for ajay.krish123
0
119
Member Avatar for risa

I'm not sure that that's even possible with the standard MFC-listctrl. Have a look at this (free) [URL="http://www.codeproject.com/KB/list/Extended_List_Control.aspx"]extended one[/URL]

Member Avatar for Nick Evan
0
93
Member Avatar for jwaldron82

[URL="http://images.google.nl/images?hl=nl&q=Gantt%20Chart&um=1&ie=UTF-8&sa=N&tab=wi"]3 seconds of google[/URL]

Member Avatar for Nick Evan
0
171
Member Avatar for nisha_fortune

What you're programming is C++, not C. So you should use a C++ compiler like G++. What OS are you using?

Member Avatar for Nick Evan
0
157
Member Avatar for kux

I'm not sure, and I haven't done this for a few years, but you could try a [icode]this->refresh()[/icode] when you're done resizing

Member Avatar for kux
0
175
Member Avatar for sillyboy
Member Avatar for cutedipti

[URL="http://www.eternallyconfuzzled.com/tuts/algorithms/jsw_tut_sorting.aspx"]The art of Sorting[/URL]

Member Avatar for Nick Evan
0
110
Member Avatar for mabpest

[QUOTE=mabpest;737298]can anyone review this flowchart and tell me if it will count print the numbers from 1 to 10?[/QUOTE] No it won't. If you would just draw out a table on paper with "count", "factoral" and the product of both, you could have easily found out that it counts from …

Member Avatar for Nick Evan
0
272

The End.