Forum: C Aug 3rd, 2009 |
| Replies: 3 Views: 725 I'm assuming you mean a console program?
You'll have to know the width of the screen, typically is is 80x25, but it can always be different.
You can't do a gotoxy function in pure C, you'll have... |
Forum: C Aug 3rd, 2009 |
| Replies: 6 Views: 529 You will have to know how a stack frame is implemented on your system. I don't know if it is the same for all (or most) x86 systems, but from looking at this article on wikipedia... |
Forum: C May 23rd, 2009 |
| Replies: 5 Views: 362 >> I was also under the impression that VB passed BSTR strings to C/C++.
You're right, but I just designed my function around the hex output that I got... I decided before I went to documentation... |
Forum: C May 22nd, 2009 |
| Replies: 5 Views: 362 Well, back when I used VB a lot, I know if I tried to use anything but a basic character, it would show up as a question mark--also, the function I have written here is to change an ASCII string into... |
Forum: C May 22nd, 2009 |
| Replies: 5 Views: 362 alright, I did this without the help of documentation or help forums, I just sorta, figured it out on my own--and hacked together some code to make it work, and I'm super proud, so bare with me:
I... |
Forum: C May 17th, 2009 |
| Replies: 23 Views: 1,339 Clearly he has duplicated Narue's answer,
however, I don't agree with your second point...
I see no problem with contributing something to a solved thread, especially if there's more than one way... |
Forum: C May 14th, 2009 |
| Replies: 23 Views: 1,339 alright, just throwing it out there |
Forum: C May 14th, 2009 |
| Replies: 23 Views: 1,339 okay wait, even though this thread is solved, if it's a string couldn't you use strlen? Or just int length = 0; while(length++,*myString++);? |
Forum: C May 11th, 2009 |
| Replies: 3 Views: 886 |
Forum: C May 11th, 2009 |
| Replies: 3 Views: 886 What's the main difference between while(){ } and do{ }while() loops? From looking at it, it looks like the former evaluates before it performs the iteration and the latter does the evaluation after... |
Forum: C Jan 9th, 2009 |
| Replies: 10 Views: 6,696 wat?
make some kind of activation key algorithm. Sell the software online, when a user orders a copy just send out a CD containing your software with an activation key on it? It doesn't have to be... |