3,183 Posted Topics

Member Avatar for Mike Askew

I think it should work on all pages. Consistency is important, for one thing. For another, I often move to another forum from within a thread and that currently involves jumping to the top of the page for the dropdowns. So it's also enlightened self interest based on my own …

Member Avatar for diafol
0
377
Member Avatar for game06
Member Avatar for shanki himanshu

Pass the size in using two more parameters. There's no standard way to determine the size of an array when given nothing but a pointer to the first element.

Member Avatar for shanki himanshu
0
379
Member Avatar for Xantipius
Member Avatar for mattster
-1
545
Member Avatar for Ekerichard101

> its a site that makes a registered user ask questions to the world, with interest points that links those questions to other users. and a user can also direct the question to another user... How is this different from, say, Stack Overflow?

Member Avatar for deceptikon
0
203
Member Avatar for lucky banda
Member Avatar for AmrMohammed

> The data inside the object is guaranteed to remain unchanged. Unless it's mutable, or the function does something tricky to bypass constness. Rule \#1 of C++ is that there are *no* guarantees. Stupid or malicious code can get around any language restriction. ;)

Member Avatar for deceptikon
0
161
Member Avatar for michael.yeh.18062

> Is there any program out there where you can customize a programming language and compiler? What exactly do you mean by "customize"?

Member Avatar for Assembly Guy
0
307
Member Avatar for jithinjohny

Welcome. I'm sure you'll find our Java community both willing and adept at helping you reach your goal.

Member Avatar for jithinjohny
0
96
Member Avatar for mayankjain05
Re: bool

*If* you're using C99 or later, then the underlying type is called `_Bool`, and you can include <stdbool.h> for macros that define the more convenient `bool` along with `true` and `false`. Prior to C99, there's technically no boolean type, though the integer types all work well as a facsimile. In …

Member Avatar for mayankjain05
0
163
Member Avatar for Dani

> OK Ive been able to post it but without the text that I put after. What is wrong with it? Cross posting your question makes it more likely that you'll miss the answer. Please see your *other* thread on the subject for my response.

Member Avatar for Dani
6
3K
Member Avatar for entry_level_IT

> Which require stronger social skills Programmer or Network Administration Having done both, I'd say suck it up and work on your social skills, or find a different field. In all seriousness, social skills are needed as either a programmer or a network admin. If you don't have them and …

Member Avatar for AranTomoy
0
221
Member Avatar for AranTomoy

> How difficult will it be for a 41 year old, former CPA but recently graduated Computer Science major, to find a good programming job? Probably as difficult as it would be for anyone with your level of experience. Age generally isn't that big of a deal in our field, …

Member Avatar for AranTomoy
0
152
Member Avatar for nisbusiness

You can, but it violates the EULA and thus constitutes an illegal action. Therefore discussion of such is not allowed on Daniweb. You can find plenty of information on Google.

Member Avatar for deceptikon
0
82
Member Avatar for kubyk

> The potential exists for someone to log onto my old account, and please don't tell me about passwords, since it would seem that the hack occurs down the line, so anything I enter is likely to be captured So your solution is to avoid fixing the actual security issue …

Member Avatar for <M/>
0
390
Member Avatar for robert.speciale

It really would be best to use word granularity rather than character granularity. Collect all of the words in a list and then you can use a simply greedy word wrapping algorithm to display them in a bounded area. For example: #include <algorithm> #include <fstream> #include <iostream> #include <regex> #include …

Member Avatar for deceptikon
0
150
Member Avatar for csss
Member Avatar for csss

I'm afraid that given the apparent attitude of your question I'm forced to say this for your benefit: **help yourself first**.

Member Avatar for deceptikon
0
80
Member Avatar for usmmnn

On a side note, if you reply to a thread then that ties our hands in terms of deleting it (unless it's supremely offensive or flat out illegal), even if the thread should have been deleted in the first place as a violation of the rules. If you feel a …

Member Avatar for deceptikon
0
75
Member Avatar for Clan Onion

> In Assembly there's not going to be much insight on linked lists, B trees, arrays, etc. Um...what? > In fact those don't even exist at the bit level. They don't exist at any level. Data structures are an *abstract concept* that get implemented using available language features. You can …

Member Avatar for mathematician
0
298
Member Avatar for <M/>

> What is your best high school achievement(s)? I tore down then rebuilt an automatic transmission...and it worked.

Member Avatar for <M/>
0
329
Member Avatar for ScarWars9

One of my company's products is a check 21 scanning, processing, and delivery suite. I'd say it's one of the more complex projects I've worked on given the *many* moving parts, combination of scanning, OCR/ICR, image processing, X9.37 management, a robust plugin system for delivery, and finicky banks who reject …

Member Avatar for <M/>
0
296
Member Avatar for IIM

Unfortunately, that's what will happen if there's no place to deterministically place a word wrap. This is a case where you should proofread your posts in the live preview and make sure they're formatted the way you want, even if you have to add a space in that long line …

Member Avatar for Dani
0
274
Member Avatar for AmrMohammed

> While you are in the development phase you can specify the connection string but when the application is on the client server you cannot determine the connection string there as you do not know the server name or ip address of the server. For a desktop application you can …

Member Avatar for deceptikon
0
104
Member Avatar for stanslous.mubaiwa

Your question seems sketchy. However, I'll give you a chance to elaborate rather than simply deleting it as illegal activity.

Member Avatar for Esobe
-1
684
Member Avatar for NardCake

> In desktop mode it's so similar to Windows 7 I can't tell the difference. For the most part. The only annoyance I feel the need to voice when people ask is that I unintentionally invoke the charms bar when moving my mouse from screen to screen. It's just slow …

Member Avatar for jwenting
0
466
Member Avatar for keval_hack
Member Avatar for chiragkhimani
0
299
Member Avatar for imBaCodes

The ultimate pickup line: "Hi." Rationale: Canned pickup lines are a fantastic way to fail early in the game. Just confidently approach the man or woman you're interested in and strike up a conversation.

Member Avatar for <M/>
1
409
Member Avatar for somjit{}

> I hope they weren't "Americanized". I've seen what they do to perfectly good anime. It's gotten better over the years, but I was turned off to any kind of modification ("americanizing", or even dubbing) since the travesty of Sailor Moon in the English adaptation.

Member Avatar for alyssa.wilkins.77
0
397
Member Avatar for WDrago

> they don't explain clearly what the benefit of using them is, why I need them Say you have two libraries, each in a separate assembly. Neither use namespaces, but both define a class called Widget. How do you know which Widget is which without some way to categorize them? …

Member Avatar for Ketsuekiame
0
205
Member Avatar for solomon_13000

> why is it not necessary for a method to declare an exception when coding in C++? Because the designers of C++ chose to use unchecked exceptions rather than checked exceptions while the designers of Java chose the opposite. Attempts have been made to introduce checked exceptions into C++, with …

Member Avatar for mike_2000_17
0
228
Member Avatar for jhon1987

> I did Google search on this, but could not find any algorithm/code by which I can do it. I imagine the best approach would be a lookup from a database of names and gender probability. At its simplest the gender neutral names would be 50% confident and the strongly …

Member Avatar for David1123
0
1K
Member Avatar for ~s.o.s~

> Unfortunately, this season looks a bit meh That's what I thought when looking at the summaries, but I have 8 on the "3 episode" test right now, which is exceptional given that the last year or so I've only kept at most 3 on the line: * Yahari Ore …

Member Avatar for deceptikon
0
272
Member Avatar for owenransen

Yes, you can use nullptr everywhere as a replacement for NULL. Even in the places where NULL was actually a degenerate case and didn't work as expected...unless you *want* the degenerate behavior, of course. ;)

Member Avatar for Tumlee
0
700
Member Avatar for MasterHacker110

fgets() includes the newline that terminated input for a successful call. If it's there you need to remove it: #include <stdio.h> #include <string.h> char *fgets_trim(char *s, int n, FILE *in) { char *p = fgets(s, n, in); if (p) { s[strcspn(s, "\n")] = '\0'; } return p; } int main(void) …

Member Avatar for MasterHacker110
0
219
Member Avatar for MasterHacker110

If you're using LPCWSTR in the first place, you should also be using std::wstring rather than std::string. Then you can just use the c_str() method from std::wstring directly. It's certainly possible to convert the latter into the former, but it's fair to say that not having to do a conversion …

Member Avatar for MasterHacker110
0
4K
Member Avatar for MasterHacker110

I'd suggest [this](http://www.eternallyconfuzzled.com/tuts/datastructures/jsw_tut_linklist.aspx) tutorial as it covers a lot of information, but builds up to it with just enough code to get the job done. It's written in C, but a conversion to C++ is trivial. Concerning your immediate problem, I notice that you never modify `p`, even though it …

Member Avatar for MasterHacker110
0
189
Member Avatar for Kirielson

> I was thinking that maybe I have to do something extra, like create a special case of the quicksort algorithm. What would you suggest? The problem is that the comparison callback accepts pointers to void, which then need to be cast into the correct type before you can do …

Member Avatar for deceptikon
0
703
Member Avatar for Suzie999

As long as the vector object itself is in scope, it takes up memory. But if you want to well and truly destroy the items stored by the vector and release the allocated memory, you use the swap trick: vData.swap(std::vector<std::wstring>()); You could also copy assign an empty vector, which can …

Member Avatar for Suzie999
0
321
Member Avatar for coolbeanbob

At a glance, ExpressionTree doesn't appear to respect whitespace. Try using "4+8" instead of "4 + 8".

Member Avatar for deceptikon
0
343
Member Avatar for mustafaali382

> i get many programs form different web but i didnt got it..... We won't do your homework for you. However, if you post the code that you sto^H^H^Hacquired from the web and point out the parts that you don't understand, we'll be happy to help you "get it".

Member Avatar for tinstaafl
-1
129
Member Avatar for ekenechukwu.maduagwuna
Member Avatar for CutP

> Should be easy few lines of code but I'm a Beginner! I'd suspect that the problem is you don't understand how to reduce a fraction using the gcd, or normalize two fractions from the lcm. Like you said, it's an easy few lines, but if you don't know how …

Member Avatar for deceptikon
0
280
Member Avatar for somjit{}

You probably want the SQLEXPRWT version for your OS, so depending on whether you're using 32-bit or 64-bit, choose one of these: [ENU\x86\SQLEXPRWT_x86_ENU.exe](http://download.microsoft.com/download/8/D/D/8DD7BDBA-CEF7-4D8E-8C16-D9F69527F909/ENU/x86/SQLEXPRWT_x86_ENU.exe) [ENU\x64\SQLEXPRWT_x64_ENU.exe](http://download.microsoft.com/download/8/D/D/8DD7BDBA-CEF7-4D8E-8C16-D9F69527F909/ENU/x64/SQLEXPRWT_x64_ENU.exe) They include the database engine and basic tools like Management Studio, so it's what I'd consider to be the minimum install for a server. You may …

Member Avatar for somjit{}
0
194
Member Avatar for Vimal123

> how to write the code for show the data from the server using vb.net That's...a very vague question. What data? What server? How are the server and the application connected (eg. web service or local network)? Is this a web application or a desktop application? As ddanbe mentioned, what …

Member Avatar for deceptikon
0
64
Member Avatar for ddanbe

No, ultimately the sequence you get is still bound by the randomness of the library. But if that process produces a reasonably random seed for the library, it's a net win, though I'm not sure it's worth the effort over something simpler and probably faster like taking a hash of …

Member Avatar for deceptikon
0
116
Member Avatar for cproger
Member Avatar for Troy III
0
137
Member Avatar for shakayu

Please use our job offers forum, since that seems like what you want. Thanks.

Member Avatar for deceptikon
0
73
Member Avatar for peymankop

It sounds like you haven't read the [documentation](http://msdn.microsoft.com/en-us/library/xfhwa508.aspx) on the Dictionary class, because retrieving stored values by key is one of the most basic and fundamental operations. Specifically, what you want is the [Item](http://msdn.microsoft.com/en-us/library/9tee9ht2.aspx) property or the [TryGetValue()](http://msdn.microsoft.com/en-us/library/bb347013.aspx) method.

Member Avatar for tinstaafl
0
345
Member Avatar for IIM

> There might be option that only person in the conversation can downvote because if he/she is downvoting then they must have reason for that and solution for that. People outside of a conversation aren't allowed to have an opinion?

Member Avatar for deceptikon
0
275

The End.