3,183 Posted Topics

Member Avatar for clubr0cker

Is this an ASMX web service or a WCF web service? Is it active or do you just have the code/assembly?

Member Avatar for deceptikon
0
94
Member Avatar for new_developer

> how it is used and why we use it In theory you would use it just like char, and the purpose is to support extended character sets. The char type for character usage was really designed and intended for character sets (and language alphabets) that can fit into a …

Member Avatar for deceptikon
0
158
Member Avatar for ManishGaikwad

The error is precisely what it says: the file cannot be deleted until all processes have closed it and disposed of any references to it. I'd suggest downloading and running [Process Monitor](http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to find out which process still has a lock on that file. This will give you some direction …

Member Avatar for deceptikon
0
502
Member Avatar for virusisfound

> Daniweb rules clearly state that a thread cannot be requested to be deleted You can request for a thread to be deleted by either flagging the first post or PMing a mod directly, but that request most likely won't be granted.

Member Avatar for happygeek
0
345
Member Avatar for andrew12s

> Yes, but i still need to translate it to C++. Since it's already valid C++ (assuming compiler support for non-portable stuff), you'll need to define what *you* mean by "C++".

Member Avatar for rubberman
0
293
Member Avatar for andrew12s

> So, I need to implement the following class Okay. And? > Thanks you guys. For what? You completely failed to ask a question. I'll take the high ground and assume that you're not expecting us to do your homework for you.

Member Avatar for rubberman
0
148
Member Avatar for arunkishorres

You need to actually read every line, but you can ignore the lines at a specific "index" by simply not printing them.

Member Avatar for deceptikon
0
240
Member Avatar for nitin1

> can you please explain that how "hello" is working here ? Luck. :) Technically it's undefined behavior because you're passing an object of the wrong type to printf(). Functionally though, `"hello"`, `&"hello"`, and `&("hello"[0])` all evaluate to the same address, so it's not difficult to see why your output …

Member Avatar for deceptikon
0
204
Member Avatar for overwraith

> I am guessing however that the pointer in the while loop is always pointing to string data, until it > iterates on the final drive, and hits another \0 character, which causes the while test to be false. Good guess. However, there's a bit of a trick here because …

Member Avatar for overwraith
0
266
Member Avatar for Learningvinit

You can use a va_list twice, provided it's properly disposed of with va_end() and re-initialized with va_start() or copied with va_copy(). What you *can't* do is assume that va_list represents a bidirectional read-only collection. It could easily be a generated array or list of arguments that are modified or destroyed …

Member Avatar for nitin1
0
2K
Member Avatar for Ketsuekiame
Member Avatar for Ketsuekiame
0
371
Member Avatar for deceptikon

Here are my downloads and impressions in order of preference so far. The season just started though. * **Genshiken Nidaime**: By far my most anticipated of the new series. I regularly reread the Genshiken manga and fully intend to follow this one to the end. * **Watashi ga Motenai no …

Member Avatar for Ketsuekiame
0
202
Member Avatar for nitin1

n grows by a factor of 4 (`16384 / 4096 = 4`), right? And the run time also grows by a factor of 4 (`2048 / 512 = 4`), right?. While it's certainly not a conclusive test, from those two data points you really can't do much more than say …

Member Avatar for Gonbe
0
196
Member Avatar for ??!!

> P.S. Feel free to use new/delete if you never resize the array, they are faster operations for single allocations. I'd strongly recommend against using malloc(), calloc(), realloc() (and by extension free()) because they don't respect the presence of constructors and destructors. If you're working with any class type, you're …

Member Avatar for mike_2000_17
-1
238
Member Avatar for Labdabeta

Whew, a lot of questions. ;) I'll answer them, but before doing that I'll strongly recommend that you consider memory mapping your files if you go the route of file lists. That way you only need to manage the organization of the files themselves as well as the memory maps, …

Member Avatar for Labdabeta
0
213
Member Avatar for hassanalisalama

> i tried to free()mem i allocate in prog using malloc But you don't. You try to free the result of fun(), which is a pointer to int that corresponds to the address of x in main(). In other words, you're trying to free something that should not be freed. …

Member Avatar for deceptikon
0
764
Member Avatar for nitin1

> but still can you tell me the way in which it is mostly implemented ? rand() is usually implemented with some form of [linear congruential generator](http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_rand.aspx).

Member Avatar for deceptikon
0
134
Member Avatar for delta_frost

> what do you think makes a better programmer ? It depends on the ultimate goal. If the goal is to be a programmer who can win competitions, the answer is clearly a. If the goal is to be a viable programmer in the working world, b is the answer. …

Member Avatar for jwenting
0
234
Member Avatar for mgold

> And finally, I also share Ancient Dragon's concerns about security. Likewise. If you look at history, you'll see a distinct pattern of alternating between centralizing and decentralizing when it comes to data storage and retrieval. Right now with the whole Cloud nonsense we're in a decentralization period, but I'd …

Member Avatar for james.lu.75491856
0
454
Member Avatar for Suzie999

> I see on some other forums, they have a button to mark all as read if you need, and then only the individual threads are marked if you don't use it. That's available on Daniweb as well, but from the forum list [here](http://www.daniweb.com/). > But I'm quite sure that …

Member Avatar for Suzie999
0
281
Member Avatar for mc.sQr

It's impossible to say since study time to a working knowledge of programming varies greatly from person to person and "working knowledge" is such a nebulous term. Can you be more specific?

Member Avatar for JamesCherrill
0
279
Member Avatar for fhau013

> C# is a Microsoft specific language and relies on the Microsoft compiler, so your options are very limited. .NET is a Microsoft specific implementation of the CLI that includes C#. C# is an internationally standardized language whose evolution is driven solely by Microsoft presently, but there's nothing stopping someone …

Member Avatar for fhau013
0
237
Member Avatar for Dashien
Member Avatar for deceptikon
0
264
Member Avatar for MasterHacker110

There are good tutorials out there if you search for them. I started writing a cryptography library a couple of years ago and abandoned it, so all of my supplementary bookmarks and references are gone, unfortunately. However, I can at least offer you a basic implementation. :) I wrote it …

Member Avatar for MasterHacker110
0
233
Member Avatar for phorce

Just use a vector internally and copy the array into it as an alternative constructor. Or you could have the underlying collection type be a template argument to the class. Or you could use inheritance from an interface to define both an array-based class and a vector-based class. But I'd …

Member Avatar for vijayan121
0
200
Member Avatar for arunkishorres

Given that "how to develop software" is extremely broad, I'll answer the specific question you asked. > how can i make the program to remember the value the user assigned to its variables without erasing it everytime i close the exe file running the program?? Persistant data would be saved …

Member Avatar for arunkishorres
0
252
Member Avatar for fadlegas
Member Avatar for BeyvKoYy

> I will do your homework for you after you deposit $10,000.00 USD in my PayPal account. You may want to qualify that, or you could end up doing a college student's "homework" from day one to a PhD thesis. That's not something you want to do for a mere …

Member Avatar for deceptikon
-1
183
Member Avatar for nitin1
Member Avatar for Banfa

> Are ProjectConstants::CONSTANT1 and ProjectConstants::CONSTANT2 declared in the global namespace or not? A using declaration introduces names to the current namespace, so in this case yes, they are indeed in the global namespace for that particular translation unit.

Member Avatar for mike_2000_17
0
232
Member Avatar for enuma.cynthia
Member Avatar for Ancient Dragon

localhost or not, the machine must have a mail server installed and running or SMTP simply won't work.

Member Avatar for Ancient Dragon
0
322
Member Avatar for eldiablo1121

A character literal uses single quotes, string literals use double quotes. There's a difference, and it's rather significant. ;)

Member Avatar for eldiablo1121
0
2K
Member Avatar for eldiablo1121

> but what does my output need to be. According to the requirements you posted, output is not specified. Do what you want, or output nothing at all.

Member Avatar for eldiablo1121
0
425
Member Avatar for nitin1

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf Navigate to section 7.16.1.1-2 and you'll find this sentence: "*The parameter type shall be a type name specified such that the type of a pointer to an object that has the specified type can be obtained simply by postfixing a * to type.*"

Member Avatar for nitin1
0
191
Member Avatar for D1SS1D3NT
Member Avatar for m_ishwar
0
242
Member Avatar for Abhinisha

> Also, argv should be a `const char*` not a `char*`. No, it should be `char*` to be strictly conforming. Did you know that the strings in argv are modifiable? > The other is to loop through from 1 to argc and call the function getopt(). getopt() is not a …

Member Avatar for NathanOliver
0
213
Member Avatar for usamaasghar.asghar

Don't run the .exe file? Anyway, that's not a "trick", it's legitimate code. There are innumerable ways a programmer can "trick" you with their code, and the solution is to avoid running programs from such programmers rather than expecting to somehow introspectively recognize the tricks in object code and "dodge" …

Member Avatar for pritaeas
0
188
Member Avatar for annabrichard

> Could you explain me what a Keylogger is A background program than catches and logs keystrokes. > how that kind of software works It's not especially difficult to intercept keystroke messages, log them, and then pass them on to the intended destination. > how a user can protect from …

Member Avatar for falkopartey
0
196
Member Avatar for happygeek

If you're talking about the PM notification where your private messages link turns yellow, there's not presently a way to turn it off. Further, there's an item on my bug list about that notification not being entirely accurate in all cases, but it's low priority since it doesn't happen often …

Member Avatar for happygeek
0
288
Member Avatar for subash sonar

> Can it be possible to give the header file windows.h in turbo c ? Note that simply getting that header would do a whole lot of nothing. A header typically contains delcarations and requires linking with a static or dynamic object library for those declarations to be useful in …

Member Avatar for Moschops
0
358
Member Avatar for fafa70
Member Avatar for soche123

`distance` is the name of a function in the standard library, use it for something else at your own risk. Check your spelling and choice of operators as well.

Member Avatar for tinstaafl
0
380
Member Avatar for cocopium

> But just for fun-- run it a few times with different combinations and see what happens. There are only 4! permutations. It's trivial to test this algorithm rigorously by hand.

Member Avatar for cocopium
0
503
Member Avatar for mahesh113

Paragraph 15.3.15 of the standard: "*The currently handled exception is rethrown if control reaches the end of a handler of the function-try-block of a constructor or destructor.*"

Member Avatar for deceptikon
0
350
Member Avatar for dstoltz

> Do people use tools that have FTP built in, or another piece of software for getting the files up to the server? It's largely personal or based on choices made by the company. I use NetBeans as the IDE and FileZilla to handle FTP stuff. Dani uses Zend Studio, …

Member Avatar for pritaeas
0
303
Member Avatar for Labdabeta

Try posting in the Hardware & Software category with appropriate tags. That's the "wave of the future" as far as forums and categories go.

Member Avatar for Dani
0
218
Member Avatar for charlowiz

> Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results. I'm done, but I don't have your teacher's email so that I can turn it in for a grade. Could you post that, please?

Member Avatar for deceptikon
0
154
Member Avatar for deceptikon

I was asked this in an interview today: Q: `malloc(0); /* What does it do? */` It's a great question because it covers a subtlety in the standard and a condition that not many people will consider. Unfortunately, I wasn't 100% confident that I remembered what the standard said about …

Member Avatar for deceptikon
5
224
Member Avatar for nitin1

> I saw this one coming as soon as Dani gave members the ability to delete their account. They got the power what they wanted, now they have to deal with the responsibility. I find myself lacking any sympathy at all, especially given how hard we make it to delete …

Member Avatar for happygeek
0
790

The End.