-
Replied To a Post in HELP :*
Please read our rules concerning homework assignments. -
Replied To a Post in "Flushing" the input stream
> I am not able to flush stdin here,is there a way to flush stdin? The only portable way in C (ie. using the stdio library) is to read characters … -
Replied To a Post in help me with this urgent......!
The linked image is nonsensical. Please elaborate on your assignment. -
Replied To a Post in Program received signal SIGSEGV, Segmentation fault at line 66.
A segmentation fault typically means you tried to access memory outside of your address space. The most common causes of this are a bogus index or invalid pointer. Also note … -
Replied To a Post in member function inlining
> What's the rule that determins if it's an inline function or not? If a member function is defined inside the class definition, it's marked as inline implicitly. If a … -
Replied To a Post in fscanf vs fgets with sscanf
> More control, you know you have exactly 1 line the are no extra characters interfering with your parsing of the data With the caveat that your second advantage interferes … -
Replied To a Post in Which is best operating system windows vs ios Apple ?
> because windows operating system get corrupt instantly There seems to be more here than meets the eye. If Windows gets corrupt "instantly", that's suggestive of a deeper problem unrelated … -
Replied To a Post in member function inlining
> I'm a little confused about inlining member functions. It would help to understand how regular functions typically work. A single definition of the code is created, then calling code … -
Replied To a Post in Converting PDF to images
> because you said it's "free" Very true, I should have qualified "free". > and keep referring to having developed software for your "clients" / "customers" with it As clearly … -
Replied To a Post in 1102
Helpful answer to problem. -
Replied To a Post in Converting PDF to images
> Wouldn't have been easier to use iTextSharp instead? Last I checked, iTextSharp didn't support PDF rasterization directly. -
Replied To a Post in Converting PDF to images
As a side note, Ghostscript is the back-end for ImageMagick's PDF conversion. I'm a huge fan of ImageMagick and its variants. Not sure what the other products use under the … -
Replied To a Post in std::endl vs newline
> Are any particular one which should be used at specific times? I favor the guideline that you should use `'\n'` unless you know that the stream must be flushed … -
Replied To a Post in Associate unique user to desktop application
I'm not sure I understand the need for this restriction. Could you elaborate? -
Replied To a Post in Need help with code
Is this WPF or WinForms? -
Replied To a Post in Need help
My primary concern would be what kind of pictures are you trying to display? A picture box control may not support them, in which case you need to find an … -
Replied To a Post in how can i check if path is valid or not
Depending on your needs, it could be as simple as: if (Directory.Exists(path) || File.Exists(path)) { // Yuppers } But it's somewhat hard to answer your question because it's a little … -
Replied To a Post in Which One to Choose!
Without looking at the specs, or knowing your needs, I've had good experiences with both brands (my current mobo is ASUS). To properly answer your question, I'd need more details. -
Replied To a Post in Why do most Java people use this style
> The second method is obviously easier to read. Provided blocks are indented correctly and at a reasonable depth, the location of braces doesn't really matter...to a certain extent. I … -
Replied To a Post in what is the logical meaning of (return;)
> It depend on the compiler designers I guess. Language designers, rather. Allowing no return statement at the end of a function returning void is a hard rule in C++ … -
Replied To a Post in what is the logical meaning of (return;)
> why they put it ?? They're being explicit, I suppose. If a function returns `void`, there's no need to place a return at the end. Falling off the closing … -
Replied To a Post in Just how about open is C# in creation?
> Another way round, is it possible for super-experienced C# programmer to create (when given enough time) advanced browser (like Mozilla), advnaced text/document editing program (like Word) and advanced verbal … -
Replied To a Post in Just how about open is C# in creation?
> it consists out of multiple files including *.vshost.*, I don't see such files in Word, Skype of Firefox The vshost files are specific to your installation of Visual Studio … -
Replied To a Post in A Very General Question
Put simply, ASP.NET does web pages and WCF does client/server communication. -
Replied To a Post in A Very General Question
Were I writing something like that, I'd link the web access and application access with a web service. * Web Service: WCF * Web Access: ASP.NET * Application: WinForms or … -
Replied To a Post in Solve This If u can!! (Singly Linked List- Deletion-C++)
Consider this: Swap the data with the next node, then delete the next node. This is what I mean by thinking outside the box. Thinking through these types of problems … -
Replied To a Post in What's wrong with this code?
Welp, since ddanbe covered the second error, I'll mention the first. You have a name conflict. The class and method are both called `Main`. Since the method has to be … -
Replied To a Post in Solve This If u can!! (Singly Linked List- Deletion-C++)
Did you figure it out? As mentioned before, I really am trying to help, but without flat out giving you the answer. -
Replied To a Post in Solve This If u can!! (Singly Linked List- Deletion-C++)
> Make the next node at first?? I'm having trouble deciphering what you mean, but it sounds like you're thinking in the right direction. Here's a hint: the problem doesn't … -
Replied To a Post in Solve This If u can!! (Singly Linked List- Deletion-C++)
But you won't learn anything by being given the answer. The trick is to think outside the box a little bit. Naively deleting a node from a single linked list … -
Replied To a Post in Solve This If u can!! (Singly Linked List- Deletion-C++)
Done. Show me your solution and I'll show you mine. -
Replied To a Post in What's wrong with this code?
A good start in determining what's wrong is asking what it's doing versus what you expect it to do. So...what's it doing that's different from what you expected? :) I … -
Replied To a Post in What is ... in C ??
`...` at the end of a function's parameter list says that the function takes a variable number of arguments. I'll leave it at that so you can try to figure … -
Replied To a Post in Windows , C , pointer arithmetic and little endian-ness
> Can you elaborate that part a bit ? It's a common misunderstanding that arrays and pointers are equivalent, which causes confusion when you reach a point where object context … -
Replied To a Post in Forum Members Read First
> Only OP Kudos members can ask every type of questions without showing their efforts. On the contrary, our rules apply across the board. Everyone is required to adhere to … -
Replied To a Post in Windows , C , pointer arithmetic and little endian-ness
On a side note, the technique you're showing is called [type punning](http://en.wikipedia.org/wiki/Type_punning). It's rather common in lower level code. If you're feeling frisky, an example of union-based punning to break … -
Replied To a Post in Forum Members Read First
> oh yeah.... What is OP? Original poster or original post, depending on the context. -
Replied To a Post in binary files
> In the first one, why would we start writing to the file at position n \* recsize instead of position 0? Judging from the code, the intention is to … -
Replied To a Post in Forum Members Read First
> So I decide that this is my last posting in DANIWEB and never try to help anyone. Good luck to you in your pursuits. Hopefully one day you'll realize … -
Replied To a Post in Forum Members Read First
> I also think it maybe best if DaniQueen introduce a way to decrease points to those who are doing this I'm not entirely sure what you mean by "points", … -
Replied To a Post in Form output in MSG box not working as expected
The compiler is correct, `varying` doesn't exist at that point. You declare it in `textBox1_TextChanged`, but try to use it in a completely different method. Why not just use `textBox1.Text` … -
Replied To a Post in Can't hundle double
Would you be kind enough to explain what exactly the problem is? It's too early for guessing games here. ;) -
Replied To a Post in How to debug in Console C#
Richard, are you using Google Translate, or something? -
Replied To a Post in Reversing a string in a different manner
This is actually a common exercise, with well known solutions. But the neatest trick is to make two passes over the string: 1. First Pass: Reverse all characters in the … -
Replied To a Post in ++++x - undefined behavior?
> Or do you just not ask that question and automatically stay away from any undefined operations? No and yes, respectively. Undefined behavior is super bad, but questioning *why* something … -
Replied To a Post in Buffer overflow video jmp *%esp
Note that Daniweb prohibits discussion of hacking. I'll allow this thread because the question is very specific and more about C in general, but take care in asking for details … -
Replied To a Post in C++ Programming
Since this is a final project, I tend to agree with your teachers. You should have all of the building blocks available at this point to complete the project, they … -
Replied To a Post in Preferred Method For Saving Program Settings
> Perhaps it's just me but it seems like a lot of trouble to go through to avoid using the builtin My.Settings. After a fashion. Certainly naive use of My.Settings … -
Replied To a Post in Preferred Method For Saving Program Settings
> What's your preferred method for saving your program's settings? It depends on the settings and the complexity of the program in my case. For simpler things, I prefer app.config. … -
Replied To a Post in Fractional Decimal to Binary gives wrong value (sometimes garbage value)
> I think that long double is not supported in many (most?) C compilers ... `long double` is required to be supported. However, on some platforms it has the same …
The End.