-
Replied To a Post in Difference
> It would appear that Ahmad is most adept at copy and paste. And here I thought he was asking stupid questions because he couldn't use Google. Color me wrong. … -
Replied To a Post in Difference
> Sadly no one could answer this simple question If you already know the answer such that you know it's simple, why not enlighten us and put the Daniweb geniuses … -
Replied To a Post in c# Array.Copy
According to the [documentation](http://msdn.microsoft.com/en-us/library/z50k9bft(v=vs.110).aspx), it's the index in the source array at which copying begins. Presumably the underlying question is *why* is that overload being used when the source index … -
Replied To a Post in Can't Update Avatar Because I am 100 years old...
> And also, out of curiousity, are we allowed to put .gifs up as our avatars? Provided the GIF is within our size restrictions, you can upload it fine, but … -
Replied To a Post in How do I structure C# projects on github?
Structure it however you want. It takes time and experimentation to find a project structure that works for you though. As an example, I tend to use something like this: … -
Replied To a Post in How Many People on this Forum watches Naruto Original and Shippuden
> Talk to deceptikon. Naruto is soooo last decade. ;) -
Replied To a Post in which one is faster?
> Which is faster and why? It's difficult to say, but I'd wager the first would be fastest because the compiler is likely to be substantially better at unrolling loops … -
Replied To a Post in stdio.h getline conflict
Compiler vendors are allowed to add onto the standard C libraries. We sometimes refer to those additions as an extension. -
Replied To a Post in textbox1.Appendtext("|")
e.Handled = true; -
Replied To a Post in textbox1.Appendtext("|")
In your `KeyPressEventArgs` object is a `Handled` property. Set that guy before returning from the event handler to disable subsequent control logic on the event. -
Replied To a Post in Matrix Inversion
Daniweb is not a homework service. Please provide evidence that you've attempted a solution on your own, as per our [rules](https://www.daniweb.com/community/rules). -
Replied To a Post in Programing
`cout << thingie` is symbolic for "send `thingie` to `cout`". `cin >> thingie` is symbolic for "send something to `thingie` from `cin`". The angle brackets denote the direction that data … -
Replied To a Post in stdio.h getline conflict
`getline` isn't a standard function, so your book is correct. The problem is your compiler supports that function as an extension, so the easiest approach would be to change the … -
Replied To a Post in Cosmetic form controls naming convention?
Assuming you're using the Visual Studio designer, what I do is keep part of the default name and replace the useless number with the same tag as the related control. … -
Edited How can i increse alexa site linking ?..
How can i increse alexa site linking -
Replied To a Post in i need a help with my C++ project
You say you need help, but only posted your homework assignment. Please be more specific about what you want help with. -
Replied To a Post in help me !
Posting actual code might help instead of paraphrasing lines onesie twosie. -
Replied To a Post in Do While + Tryparse testing
> Why doesn't this work in C#? Because you should be using `||` in your loop rather than `&&`. With `&&`, `jaar` will only be compared to 1582 if `TryParse` … -
Replied To a Post in cannot implicitly convert string to string[]
The error is correct. `nameLabels` is a `string` (as denoted by your `ToString` call earlier to convert the cell value), and `string` is most certainly not a compatible type with … -
Replied To a Post in Controlling other Winform apps with mouse
> The design of how this works is really bad. It kind of depends on what controls and how the controls can only be operated by the keyboard. But I'll … -
Edited Application get's stuck when minimized
I'm using a WPF Textbox in Winforms using elementhost to get the SpellChecker feature. I loaded a large text file with at least 100,000 + characters and over 2,000 lines. … -
Replied To a Post in STUDENT GRADING SYSTEM USING EITHER VB6 OR MS ACCESS
We can't really help unless you ask a specific question. -
Replied To a Post in Coding C++
Hopelessly vague question and mention of a file with no details or examples. Please try again, kthxbye. -
Replied To a Post in How to safley give my function without making my main form stuck
You'd want to execute a long running method in a separate thread to avoid the UI thread becoming unresponsive. Just make sure that there's something for the user to look … -
Replied To a Post in Run CLR in SQL query from Embedded Resource
Hmm, either my understanding of CLR integration in SQL Server is woefully out of date, or there's a disconnect somewhere. CLR functions are *server side* entities. You still need vanilla … -
Replied To a Post in Simple database access wrapper class
> Have to say, the approach you took, and your design is somewhat different then what I would have thought The key design aspect is simplicity of usage and implementation, … -
Replied To a Post in Need help
> You could count the number of zeroes inside a number N with the following algorithm And if the number *begins* with zeroes? What if the number exceeds the range … -
Created Simple database access wrapper class
I'm sure I've mentioned this type of wrapper class for accessing databases in a provider-agnostic manner before, but never posted a functional implementation. So here it is. Questions, comments, and … -
Replied To a Post in Connect with ms sql server database from Visual Studio Express
Ditto cgeier. I'm not a fan of directly managing data sources in Visual Studio; it just feels too inflexible compared to doing it manually with ADO.NET. -
Replied To a Post in package for work management
Um...what? Convert how? And does the picture of the dress need to be processed in some way? Your question is exceptionally vague. -
Edited Output numbers from 1 to 12 and exclude number 2 & 9?
This is what I have so far :/ #include <iostream> using namespace std; int main() { int i; for (i = 1; i <= 12; i++) { cout << i; … -
Replied To a Post in Best way to declare paths
> How bout putting the database file into the same directory as your .exe file? That's risky. If the application isn't run with administrative rights, extraneous files may not be … -
Replied To a Post in How to Find First day of the Year that on 1st January which day was?
Well, the most widely supported method would be the ctime library: #include <ctime> #include <iostream> #include <utility> #include <string> using namespace std; pair<string, int> weekday(int month, int day, int year) … -
Replied To a Post in serializing a vector attribute of an object in c++
Define "easier" for your needs. With a vector, I'd probably do the same thing you've done, but there are serialization libraries ([Boost](http://www.boost.org/doc/libs/1_57_0/libs/serialization/doc/index.html) comes to mind), but they can be non-trivial … -
Replied To a Post in Deck of cards
The problem seems to be in your `ToString` override in that you want a format that's difficult to attain using enumerations. It can be done, of course. I'd probably approach … -
Replied To a Post in Easy Database?
Well, a database *is* the way to go, but that's really a pointless statement. What you really want is a [CMS](http://en.wikipedia.org/wiki/Content_management_system). They'll use a database on the back end, but … -
Replied To a Post in Strings in Nasm
It sounds like your professor wants you to play with different string representations. Specifically, how to determine length at any given time as that's the usual difference between string types. … -
Replied To a Post in C or C++
It seems like we largely agree. :) > However, C++ is a super set of C, so if you know C++ you know C. C++ was originally a superset of … -
Replied To a Post in Deck of cards
> my first question is whether a deck of cards should have a base class of card It doesn't make sense to me, personally. A deck of cards is not … -
Replied To a Post in .Net Targeting
[Clickie](http://msdn.microsoft.com/en-us/library/ff602939(v=vs.110).aspx) -
Replied To a Post in Linked list
[This](http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_linklist.aspx) tutorial may help. -
Replied To a Post in Code formatting VS2010
It's valid syntax, but guaranteed to be confusing and very likely to become incorrect as more members are added to the class. The `private` qualifier only explicitly applies to `suit`, … -
Replied To a Post in a curiosity about const
Off the top of my head, the C standards don't disallow that code in any way. Further, my tests with gcc don't mesh with your results. Please post a complete … -
Replied To a Post in C or C++
> Learning C is the long way to C++98 to C++03 to C++11 and do not have any benefit. You realize that C is more than just an intermediate step … -
Replied To a Post in popup I keep getting
Click the Chat button on the bottom bar. This will open the chat window and reset your pending chats count. It will also turn off the inline chat popup until … -
Replied To a Post in read from file - and write to another
> I tried but it dosn't work ... "Doesn't work" is not a helpful problem report. Please be specific about *how* it doesn't work. However, at a glance there are … -
Created Image auto-orient with Tesseract and ImageMagick
*Warning: This code is tested, but not as-is. I combined multiple files to simplify the snippet.* One of my specialties is document imaging, and custom tools to handle it. A … -
Replied To a Post in Contruct Binary Tree with Preorder and Inorder.. Plz Help.. Plz
[This](http://www.eternallyconfuzzled.com/tuts/datastructures/jsw_tut_bst1.aspx#traverse) may help. -
Replied To a Post in C or C++
Depending on how familiar you are with Java (and programming in general), both should be relatively simple to pick up. All three are in the same family, after all. However, … -
Replied To a Post in Placement of hash/salt code in ASP.NET project?
> Isn't the hash/salt value stored in the database table when the user first registers Yes. When the user registers, you generate the salted hash and store it in the …
The End.