Thanks for that quick response.
Type: Posts; User: vikernes
Thanks for that quick response.
I've never really used this so I don't know how to do it, but anyway...
I want to be able to do this:
call the app like this -> C:\foo.exe 9
And be able to use that int in the program.
...
I'm trying to count how many times a number appears in an array. Basically you have something like this:
int array[3][3] ={ {'23', '31', '2349'},
{'7567', '1', '84'},
{'355',...
Lol. Thanks man!
Just a quick question.
Why is this crashing at last printout?
struct node
{
int data;
node *next;
I don't quite follow you. Why would you need a doubly linked list for a stack? Shouldn't a singly linked list work?
I have an assignment to do and I don't know what the term dynamic stack means. All I was given was the header and the rest is up to me.
class Stack
{
public:
Stack();
Stack(const Stack...
Ah, thanks.
Could you also tell me what would be the best way to set a timer of some sort to trigger an alarm at certain point? I've tried using the CreateWaitableTimer function but it locks up...
Hi,
How can I read from the date and time picker control? My DT picker is set to only show the time with the spin control. I need seperate data for the hour and minutes selected.
I've read...
Thanks everyone. I'm still learning and I need to get this done fast for school :)
Althought, Dante, your solution did work, I think the problem was that I used a common control, so I had to include...
Yeah, sorry about that. I forgot to write that you should try compiling it the way it is and run it. Then try adding an edit control, recompile it and see if it runs.
Yes I did that, but the problem was still there. After some fiddling around I found out the problem was with the text editor control. I don't know why or what but whenever I add a control to the...
Thanks about that, but I'm having a problem.
I did exactly like written in that tutorial and it worked OK. Then I opened the resource file to edit some code and renamed IDD_DIALOG1 to IDD_DLG...
Hi,
I need help in writing a simple Windows application. I'm just starting out with Win32 so I'm having a lot of problems with this.
I want an application that would only have one dialog box -...
Yes michaels that's what I wanted to do, but isn't || the OR operator? Meaning if i is divisible with 3 or 5 or 7, skip it?
Hi,
Sorry about this noob question, but I'm obviously retarded or too tired to know why this isn't working:
for(int i = 0; i < 20; i++)
{
if(i%3 || i%5 || i%7)
cout << i << endl;
Thanks a bunch hk_mp5kpdw, that settled it. But I'm getting some strange behavior in my code. Below is my entire code for this procedure:
#include <iostream>
#include <fstream>
#include...
I'm trying to write a program that would read any file (in binary mode) and print, or write as a text file, the bits of the program.
Is there a function in STD that would do something like that?
...