143 Posted Topics

Member Avatar for alfa2

It's best to assume that we're all overly paranoid. I'm not going to download anything from your site unless you can prove to me that it's completely harmless. The best way to do that is to post code and ask a detailed question about that code [i]here[/i]. Otherwise, you probably …

Member Avatar for alfa2
0
208
Member Avatar for martina74756
Member Avatar for Catweazle
0
177
Member Avatar for Robert G

> I have no idea what I'm doing. Clearly. You have serious design problems by using inheritance instead of containment for this project. It's much simpler if CartesianPoint (aside from being more concisely named) is a self-contained class, then Line and LineSegment contain CartesianPoint (henceforth to be referred to as …

Member Avatar for Dogtree
0
117
Member Avatar for Narue

>> Theres not much diff between the 2. Only if you limit yourself to a tiny subset of C++ and use poor style in C. When used correctly and to their fullest, there's a huge difference between C and C++. >> plus what u use in c can be easily …

Member Avatar for Electrohead
0
609
Member Avatar for rhogg

Ouch. Sounds like a serious corruption. You can try a live Linux CD like Knoppix to recover the data, but it's possible that it's a loss unless you want to pay for expensive professional recovery.

Member Avatar for techniner
0
107
Member Avatar for trafficman

I don't think this is the right forum for your question, unless you plan on writing this program in C or C++.

Member Avatar for trafficman
0
116
Member Avatar for sameersbn

You seem confused about the difference between threads and processes. To use processes you fork a child from a parent and use one of several methods for inter-process communication. To use threads you say the magic incantation: [code] $ man pthread [/code] Multiple processes don't share memory, so you're required …

Member Avatar for Dogtree
0
72
Member Avatar for trafficman

When it comes to pre-configured retail systems, I've always stuck with [url=http://www.powerspec.com/]PowerSpec[/url]. Then again, it's almost always better to build your own. That way you have complete control over price, scalability, and power.

Member Avatar for dewman
0
125
Member Avatar for LuKe_

Jedi Knight goes straight through a software or router based firewall, I've played every game in the series online and it never failed to work. But it does sound like you aren't getting out. Are you on a router or other hardware firewall?

Member Avatar for LuKe_
0
94
Member Avatar for Ghost
Member Avatar for william_stam
0
64
Member Avatar for JohnHull
Member Avatar for NeuronX24

#1) I would recommend that you reformat the drive and reinstall. But, since that's #2, I'll just mention that there are Linux installations on live CD that you can run and have access to your drives. For example, in bad situations like this I would use my Knoppix disk for …

Member Avatar for YoungCoder
0
164
Member Avatar for touchdasun

Symantec can be a brute sometimes. Were you running a scheduled background scan or update at the time? Those two operations are the only ones that should take up so much of your resources, and it shouldn't last more than an hour on average, though that depends heavily on your …

Member Avatar for touchdasun
0
95
Member Avatar for dcc

It's probably your ISP. If it happens again for any length of time, give them a call and see if there are any outages in your area. Otherwise, I wouldn't worry about it.

Member Avatar for dcc
0
186
Member Avatar for Narue

I'm there regularly. Maybe you're just there are a slow time. :)

Member Avatar for Dave Sinkula
0
146
Member Avatar for kitchendistrict

Try opening the image using the software most likely to view it. If it looks great in photoshop, but like crap in a browser or other image viewer than you you should be the first to know. :)

Member Avatar for axieaxie
0
125
Member Avatar for liliafan

twm, just because it was the first one I got a feel for and I never bothered to switch to another. ;)

Member Avatar for Dogtree
0
142
Member Avatar for bucwyld

Okay, rule #1 about dynamic content: Audio that you can't turn off is EVIL! Always give the client an option when it comes to potentially annoying features. The first thing I did when the page loaded was kill the browser. The second thing I did when the page loaded again …

Member Avatar for bucwyld
0
200
Member Avatar for GerryD

Maybe it's just me, but it seems like everyone is [i]trying[/i] to post in the forum that is least topical to their question.

Member Avatar for GerryD
0
183
Member Avatar for jenkins_t

>>My ? is, do all webs get attacked all of the time???? Not constantly, but webservers get attacked on a regular basis, especially corporate webservers. If you plan on running a webserver, security should be one of your primary concerns.

Member Avatar for catch
0
302
Member Avatar for winbatch

[code] template <> double ToDouble( double source ) { return source; } [/code]

Member Avatar for winbatch
0
182
Member Avatar for winbatch

>> So I guess to answer my own question, 'yes, I missed something' Yes, but it's an easy mistake to make. Since string literals are of type const char *, and it's not possible to overload built-in data types, "F" + "F" is trying to add two addresses, which is …

Member Avatar for Dogtree
0
79
Member Avatar for happyshub

You're on the right track. Try incorporating a temporary link into your function rather than trying to work just with head and its next links.

Member Avatar for happyshub
0
214
Member Avatar for Greenthumb

>> (certainly not C or C++). It looks like Managed C++. But I agree that this question would be better asked in a .NET forum.

Member Avatar for Dogtree
0
217
Member Avatar for maherddd

>> Why? Why not? It's concievable that there would be a default precision for the stream, one that would be valid everywhere so that it could be portable. It just so happens that that's the case. The default is 6: [code] #include <iostream> int main() { double d = 123.4567890123; …

Member Avatar for Dogtree
0
463
Member Avatar for nike123
Member Avatar for winbatch

There's not a common base class for map and hash_map since hash_map isn't even a standard container and they aren't commonly implemented in remotely the same way. set and map might have a common base class, but that's an implementation detail that you shouldn't rely on because the standard doesn't …

Member Avatar for Dogtree
0
234
Member Avatar for cscotty

>> Are they the same? Kinda sorta, but not really. A switch is a control flow structure that directs execution through a certain block of code depending on an integral value. In other words, it's like door #1, door #2, and door #3 in the old gameshows. Those three doors …

Member Avatar for Dogtree
0
105
Member Avatar for nasaiya

>> ccin.open(data.dat); I think you mean [code] ccin.open("data.dat"); [/code] >> getline(ccin,str);//the problem :( Looks okay to me. What compiler are you using? Can you give us a short and complete program to compile that gives you the error? Can you post the error?

Member Avatar for nasaiya
0
634
Member Avatar for Zackery

>> Here is the compile log from Dev-C++: That's assuming that Zackery doesn't have Allegro installed, which he probably does. Almost all of those errors and warnings have to do with you not compiling and linking correctly with a third party library. >> i dont understand how Its not wiorking …

Member Avatar for Dogtree
0
321
Member Avatar for gimmy
Re: plot

I have no idea what your question is. Can you state it in a different way?

Member Avatar for gimmy
0
115
Member Avatar for Dave Sinkula

>> What are yours? Daniweb and newsgroups. My most frequently visited are comp.lang.c, comp.lang.c++, comp.lang.c++.moderated, and comp.std.c++. From what I've seen, the same people post to multiple forums, so there's really no need to visit more than one on a regular basis.

Member Avatar for Dogtree
0
165
Member Avatar for Mr.

>> can a context belong to more than one process? Why would you want it to? The context of a process is it's state at any given time. If two processes shared the same context then they would effectively be duplicates. That's not as useful as it may sound at …

Member Avatar for Dogtree
0
81
Member Avatar for JoBe

>> while (cin>> x >>" ">> y, !cin.fail()) Since you already know what the problem was, I'll tell you why it's a problem, just to be thorough. cin >> is strictly for formatted input. It doesn't accept formatting strings and it already skips whitespace by default. If you want to …

Member Avatar for JoBe
0
593
Member Avatar for mohsin

Um, can you be more specific? It sounds like you want us to give you the full code for an FTP server for Linux, written in C. That's not a request that will ingratiate you to us. ;)

Member Avatar for mohsin
0
179
Member Avatar for amura97

Post some complete code that breaks under Dev-C++. It looks like you wrote what you think is the same thing as the relevant parts of the program, but since the code you posted won't compile even after removing the .... parts and adding necessary headers. And rule #1 when your …

Member Avatar for typek
0
155
Member Avatar for Asif_NSU
Member Avatar for dragonray

>> I thought cin.get() didn't work with strings... or am I wrong? What kind of strings are you talking about? C++ supports two types of strings: the C-style string that's just an array of char terminated by '\0', and the std::string class. You're correct if you mean the std::string class, …

Member Avatar for Dogtree
0
150
Member Avatar for aaron_tan

An access violation means your code is broken. Post the relevant parts of your attempt and we can probably help you fix the problem.

Member Avatar for Dogtree
0
124
Member Avatar for ....

This is a forum for programming help, not for hiring programmers. If you want someone to write this for you then you can get someone cheap at [url]www.rentacoder.com[/url]. It's pretty clear that you have no intention of learning to program to get this working, so your thread is off-topic.

Member Avatar for kc0arf
0
155
Member Avatar for a7la_lolly

No offense, though it will seem that way, but if you're incapable of even starting this then you probably haven't been paying attention in class. Why should we work to help you when all you seem to want is a handout?

Member Avatar for Dave Sinkula
0
124
Member Avatar for sandesh_daddi
Member Avatar for winbatch

The diagnosis is accurate for the most part. Shared memory can't handle non-POD types. You could write a special purpose allocator for your standard containers, and unshared proxy objects that refer to a reasonable representation of the data in shared memory for everything else. I don't have a lot of …

Member Avatar for Dogtree
0
511
Member Avatar for winbatch

If you really need dates beyond 2038, you have no choice but to avoid time_t and the standard functions, which means either hand coding the algorithms or using a third party library. That's the solution that people use when they need very old dates (where they discover the "Satan's armpit" …

Member Avatar for Dogtree
0
257
Member Avatar for madt

You're calling the default constructor, not the two argument constructor: [code] #include <iostream> #include <string> using namespace std; class baseType { public: void decToBase(int num, int base); void print(); baseType(int b, int d); baseType(); private: int decimalNum; int base; }; int main() { int d; int b; cout << "Enter …

Member Avatar for madt
0
92
Member Avatar for jonnie83

>> while ( ! file.eof() ) You shouldn't use <stream>.eof() as a loop condition. Because the eofbit is only set after a request for input has failed, you'll increment the counter once more than necessary if the last line contains the search string. A better way to read input is …

Member Avatar for Dogtree
0
221
Member Avatar for madt

>> what must be added to convert between 2 and 36? How about using all letters of the latin alphabet rather than just the first 6?

Member Avatar for Dogtree
-1
105
Member Avatar for skprasat

>> i cant clearly get to ur point That's probably because the answer was assuming C++ when you clearly stated C. Arrays are just a bunch of blocks of memory strung together; you can fake a multidimensional array using a single dimensional array easily: [code] #include <stdio.h> #include <string.h> int …

Member Avatar for Dogtree
0
264
Member Avatar for bigbrother2000
Member Avatar for indianscorpion2

>> can anyone tell me what are the real time applications of C.? Take a look at any application you use. Chances are good that it's written in C, written in a language implemented in C, or written in a language derived from C.

Member Avatar for letmec
0
184

The End.