6,741 Posted Topics

Member Avatar for wally_lawless
Member Avatar for lew26
0
135
Member Avatar for purple rainx

>So, any other females here besides myself and Dani I'm having trouble deciding how to categorize your motivation in asking that. I've settled on one of these three: 1) You couldn't think of anything better to talk about. 2) You're trolling by subtly bringing up a topic that will divide …

Member Avatar for Chaky
0
697
Member Avatar for John A

>And I'm only going with the boy/girl guess based on the name. And I wouldn't be so cruel as give a boy a girl's name. >Will she return to daniweb after the baby or will she take a while out? I lurk when I have a spare moment, but Daniweb …

Member Avatar for Narue
0
136
Member Avatar for krazywasabi
Member Avatar for gamesnmore

[url=http://search.microsoft.com/search/results.aspx?qu=LNK2022&View=msdn&st=b&c=0&s=1&swc=0]Documentation is a good thing.[/url]

Member Avatar for Xorn27
0
2K
Member Avatar for The Dude

1) I like cream soda. 2) Despite being small and weak, people fear me. 3) I like reading about Japanese history. 4) I have an inch long scar on my leg from when I was 12 and got hit by a spear. 5) I'm hopelessly addicted to Everquest 2.

Member Avatar for cecil.vera
0
714
Member Avatar for Jessehk

FASM Assembly: [code] format PE console entry start include 'C:\fasmw\include\win32a.inc' ;====================================== section '.data' data readable writeable ;====================================== num_fmt db '%d',10,0 ;======================================= section '.code' code readable executable ;======================================= start: mov ebx,10 .again: lea eax,[ebx-11] neg eax ccall [printf],num_fmt,eax dec ebx jnz .again stdcall [ExitProcess],0 ;===================================== section '.import' import data readable ;===================================== …

Member Avatar for Maidomax
0
990
Member Avatar for senguptapallab

That's an admirable goal. You'll probably want a good book (I recommend Accelerated C++), a good compiler (Visual C++ 2005 Express is good and easy to use and it scales well as you learn), and a good community (such as this one) to help you with tougher problems.

Member Avatar for JoBe
0
147
Member Avatar for purple rainx

Daniweb is a way for me to help people more easily learn the things that I've had to struggle through.

Member Avatar for The Dude
0
147
Member Avatar for the Queen

>it is very clear that is no one can help me When you ask such incoherent questions, it [i]should[/i] be obvious that no one can help you.

Member Avatar for jwenting
0
104
Member Avatar for green_oasis

>There's only one private function in B. What made the size to be 4? Member functions don't generally apply toward the size of an object. If they do, I would question the quality of your compiler. The thing that made the size be 4 is the internal object stuff that …

Member Avatar for ~s.o.s~
0
171
Member Avatar for Junyah

>What is your favorite comfort or theme food? What do you like about it? What are your memories of it? A glass of milk reminds me of family and the beach because when I was a kid, my grandmother always made me drink milk at meals. Now I don't need …

Member Avatar for JJ___
0
143
Member Avatar for himanjim

>My header file time.h is being corrupted.. Dare I ask how you managed that? >I can't find it on the internet... It's an implementation header. Reinstall your compiler, because you can't just ask someone to paste theirs and expect it to work.

Member Avatar for Narue
0
63
Member Avatar for Rooro

We're not going to do it for you. Please try it yourself and see what you can come up with. You'll learn more that way. Also, the algorithm is called QuickSelect, if you want to do some research on it.

Member Avatar for Rooro
0
109
Member Avatar for jamaicandods

Did you even try to do it yourself? I'm not against borrowing code to get the job done, but this is clearly homework, and homework is meant to be solved so that you can learn to be a better programmer.

Member Avatar for TylerSBreton
0
234
Member Avatar for GuruGhulab

>one problem i m getting is it's only reading 19 numbers (0 to 19) If you're only expected to read up to 20 numbers, that's correct. 0 to 19 is exactly 20 numbers. >and the rest i think u can see from the output (preety messed up) Reading from a …

Member Avatar for GuruGhulab
0
137
Member Avatar for Ryan Steyn

>I downloaded the microsoft visual studio and it confused the hell outa me. Anything will at first. Either you have to deal with the complexity of an IDE (that's a compiler, debugger, editor, etc.. all rolled up into one graphical application), or the complexity of learning command line tools. You …

Member Avatar for jbennet
0
109
Member Avatar for hugoboss2

>i dont know how to write the code ? Do you know how to do a preorder traversal? Once you have that, it's just a test whether both children are either null or not null. It's a short solution, so I can't give you example code without solving the problem …

Member Avatar for WaltP
0
81
Member Avatar for sdillinger

>I really think this should just work. It takes work to get things to work. Your pieces don't fit together because you don't define functions. The default constructor, destructor, and operator>> are never given bodies. That's the core of your problem.

Member Avatar for sdillinger
0
149
Member Avatar for skeet123
Member Avatar for Narue
0
345
Member Avatar for B.H

Printing in .NET is funky, but simple. Once you get the hang of it it's no problem, but that first hurdle is figuring out how the heck the parts all fit together. Printing multiple pages is handled inside the PrintPage event handler. The handler selects which page to print and …

Member Avatar for Narue
0
408
Member Avatar for snedan

>return(intFirst, intSecond, intThird); This doesn't actually return three values, it just seems that way because intFirst, intSecond, and intThird are global. What this expression actually does is evaluate (and subsequently ignore) all but intThird, which it then returns. So only intThird is returned, but because all of them are global, …

Member Avatar for ~s.o.s~
0
129
Member Avatar for kcdclan

>usingnamespace I'm reasonably sure you need a space between those two keywords. :) Actually, you have tons of similar syntax errors. This compiles: [code] #using<System.dll> using namespace System; using namespace System::Diagnostics; ref class B { public: virtual void F(){ Console::WriteLine("B::F"); } }; ref class D : B { public: virtual …

Member Avatar for Narue
0
104
Member Avatar for martinig

>What is the situation at your location? We adhere closely to standards and enforce correct behavior. >Does this lack of control really hurt? It can, very easily. One of the most important guidelines in programming style is consistency. That includes project-wide consistency even when multiple people are working on different …

Member Avatar for Narue
0
63
Member Avatar for mattyd

>Which is your favorite Star Wars and why? Return of the Jedi. Because. :)

Member Avatar for ~s.o.s~
0
105
Member Avatar for lavicool

>the only way to be sure that your code is completely portable is to return 0 when the program exits. EXIT_SUCCESS is completely portable. The language standard defines it as such, along with EXIT_FAILURE and 0.

Member Avatar for ~s.o.s~
0
124
Member Avatar for chuck577

The SET clause can be a comma separated list of assignment expressions: [code] string command = @"update Appointments " + "set [startDate] = @Start" + " , [endDate] = @End" + " , [title] = @Title " + "where ([appointment_id] = @Record)"; [/code]

Member Avatar for Narue
0
86
Member Avatar for Cnaly

>I think that you shouldn't be that mean. There was nothing mean about his post. It was politely worded as far as I can tell. The problem is that when you create a new thread for the same problem as your other thread, we basically lose all of the work …

Member Avatar for Bench
0
115
Member Avatar for pugg09

>Well after two semesters and three absolutely 'horrible' teachers I've >decided to drop my C, C++ courses and move over to a different line of study at college. To be perfectly frank, if that's all it takes for you to quit, you wouldn't have made a good programmer anyway. >If …

Member Avatar for pugg09
0
186
Member Avatar for WoBinator

>i just read a thread here that had some interresting talk and people...it was called 'Virus Programming' I'm sure it was interesting if it's the thread I'm thinking about. ;) >Do i have to be in uni to learn a programming language Most certainly not! Anyone with a computer and …

Member Avatar for WoBinator
0
203
Member Avatar for shadowmoon
Member Avatar for jim mcnamara
0
154
Member Avatar for Mushy-pea

>Does anyone know why Unix developers seem to have an obsession with the words foo and bar? [url]http://catb.org/jargon/html/M/metasyntactic-variable.html[/url]

Member Avatar for Infarction
0
108
Member Avatar for iubike

>I am not so good at the whole function thing so Functions are very simple. You can think of them as a named block of code. Let's walk through a few steps of factoring your code into a function. First, take the code you want in a separate function and …

Member Avatar for Narue
0
145
Member Avatar for jessiegirl

>I still have some errors and I can't seem to figure out the mistakes TY for all your help I refuse to read your code until you format it and put it in code tags.

Member Avatar for WaltP
0
159
Member Avatar for viv_mbbs

>can anybody gimme an algo for reversing the words in a string in O(n) time.... Recursively copy the words to a new string. ;)

Member Avatar for John A
0
92
Member Avatar for clevername
Member Avatar for jaguar founder
0
71
Member Avatar for mattyd

There are essentially two ways to extend a language. The first way is through libraries and other modules that don't break the rules of the language but still add functionality. An example of this is the Python/C API that let's you use Python from a C or C++ program. The …

Member Avatar for Narue
0
127
Member Avatar for ashneet

>i am trying to make the program to ask user if he or she wants to continue >when they click anywhere on the program. That's extremely unconventional behavior. If I may offer a recommendation, how about using a progress bar and a cancel button? Naturally the encryption should be done …

Member Avatar for Killer_Typo
0
106
Member Avatar for DeadDrunk

>and it HAS to use a recursive function to insert the new node into the list Just so you know, recursion is a piss poor way to work with linked lists. As for the algorithm, it would go something like this: [code] node *add_end ( node *list, int data ) …

Member Avatar for Narue
0
83
Member Avatar for vicky_dev

>What is the coding standard here? Different people/standards do different things. It's a stylistic issue. >And what could be wrong with the first version? Well, it adds unnecessary clutter that distracts from the meat of the code. I would also ask why that information is important enough to add [INLINECODE]this->[/INLINECODE] …

Member Avatar for vicky_dev
0
119
Member Avatar for mattyd

>* What is your favorite genre(s)? Science fiction/fantasy, technical, manga, history, and the occasional mystery. >* Who is your favorite author(s)? J.R.R. Tolkien, Orson Scott Card, Anne McCaffrey, C.S. Lewis, and Tom Clancy. >* How much do you read per week? 20ish on average, more if I have a book …

Member Avatar for Narue
0
197
Member Avatar for Abraj

>whether me being from a management background is it advisable? Lessons learned from management will be very beneficial as a software developer. Actually, that can easily be a selling point for you because a lot of developers looking for jobs are a little weak on the social skills that you …

Member Avatar for Narue
0
37
Member Avatar for toomuchfreetime

>Well, they were wrong. It depends on what they were referring to, but I'm going to assume they were correct if it was comp.lang.c. Wrong information doesn't last long on that group. >Name one. I can name three: 1) Take the sizeof a dynamically allocated array. 2) Take the address …

Member Avatar for Narue
0
150
Member Avatar for Fooksan

>I've heard C is pretty popular to program in. For the enlightened, yes. :) >I want to make a simple window, with a search bar. By putting in either >Hiragana, Romanji or English, it brings a pop-up with all 3. You can certainly work toward that goal, but it's best …

Member Avatar for Narue
0
225
Member Avatar for DeadDrunk

>Each node is like "00343068", etc. when it's suppose to be like 123 Those are addresses. You're printing the value of the node itself rather than the Value member: [code] cout << temp[COLOR="Blue"]->Value[/COLOR] << endl; [/code]

Member Avatar for Narue
0
117
Member Avatar for purple rainx

>Who celebrates Hanukkah and who celebrates Christmas? How do YOU >celebrate the holidays and what do they mean to you? I celebrate Christmas largely because I was raised to a Methodist family. However, due to my atheist leanings, the holiday really doesn't mean anything to me beyond a chance to …

Member Avatar for jwenting
0
127
Member Avatar for GreenDay2001

>what does using namespace std mean. Please tell me. haven't taught about it yet. In 1998, C++ was standardized. The old headers that end with .h (iostream.h, fstream.h, etc..) were removed and replaced with headers of the same name without the .h extension. Also, a feature called namespaces was added …

Member Avatar for Ancient Dragon
0
210
Member Avatar for purple rainx

>What's your favorite cartoon....? Just about anything anime. :) For more cartoonish cartoons, I couldn't help but enjoy any X-Men series.

Member Avatar for anupam_smart
0
96
Member Avatar for Asif_NSU

That's twice this thread has been bumped unnecessarily. :rolleyes:

Member Avatar for WaltP
0
186
Member Avatar for bala24

>I believe sarcasm was supposed to be out of Daniweb.. What made you think that? >And ya, if i need sarcasm , i would go, listen to my boss. What you quoted wasn't sarcasm, it was a legitimate complaint about the readability of what you posted. Since we'd rather assume …

Member Avatar for JRM
0
153

The End.