Search:

Type: Posts; User: zach0616

Search: Search took 0.01 seconds.

  1. Thread: command line

    by zach0616
    Replies
    10
    Views
    1,818

    DevC++ uses gcc (MinGW) for compiling, so it...

    DevC++ uses gcc (MinGW) for compiling, so it should already be installed on your system. Just add it to your PATH or cd to the dir it's in (C:\devcpp\bin?) and run it.
  2. Replies
    3
    Views
    1,341

    This is what my code looks like: #include...

    This is what my code looks like:


    #include <iostream>
    #include <time.h>
    #include <stdio.h>
    using namespace std;
    int main() {
    time_t timedata;
    time(&timedata);
  3. Replies
    3
    Views
    1,341

    Comparing local time

    How would I get the local time (just time, not date) and compare it. I want to say something like if it is 12:00 run this code.
  4. Replies
    0
    Views
    1,158

    logging problem

    problem solved. sorry for the trouble.
  5. Replies
    3
    Views
    3,323

    Yes I'm using windows. Sorry for not stating...

    Yes I'm using windows. Sorry for not stating that.I understand that WM_LBUTTONDOWN is for a left click, but what about holding it for a certain amount of time?
  6. Replies
    3
    Views
    3,323

    Hold Mouse Click

    How would I write a function in c++ to hold a mouse click for a given amount of time and then release? Thank you in advance for any help.
  7. Thread: stringstreams

    by zach0616
    Replies
    1
    Views
    766

    figured it out i think. Sorry to bother.

    figured it out i think. Sorry to bother.
  8. Thread: stringstreams

    by zach0616
    Replies
    1
    Views
    766

    stringstreams

    I need to insert a character array to be part of string stream, but when I output the stream, the array does not appear as it was typed. It comes out as weird characters. This is basically what the...
  9. Replies
    4
    Views
    3,074

    Thanks. One more question: Is it possible to...

    Thanks. One more question:
    Is it possible to read a range of characters. Like say I want to read character 5-10 from a text file. How would I do that?
  10. Replies
    4
    Views
    3,074

    Opening a webpage with C++

    I need to write a program that will tell IE to open a webpage of my choice. The reason I need this is because it is one part of a larger program. Could anyone please help me? Thank you.
  11. Replies
    29
    Views
    2,062

    Read the tutorial. int num; cout

    Read the tutorial.


    int num;
    cout << "Enter num: ";
    cin >> num;

    That would ask the user for input and then store it as num.
  12. Replies
    29
    Views
    2,062

    If you switch languages as fast as you switch...

    If you switch languages as fast as you switch programs, you'll never learn anything. Just stick with C++.
  13. Thread: Parameters

    by zach0616
    Replies
    2
    Views
    1,288

    Thank you. Sorry for posting without checking the...

    Thank you. Sorry for posting without checking the FAQ first.
  14. Thread: Parameters

    by zach0616
    Replies
    2
    Views
    1,288

    Parameters

    Instead of my program executing by just typing it's name in the command prompt, how would i give it parameters. For instance, the user would execute the program by issuing the command progname...
  15. Replies
    11
    Views
    1,465

    Ok thanks. Everything works fine except the...

    Ok thanks. Everything works fine except the string msg will only hold the first word of your message. Can strings not hold space?
  16. Replies
    11
    Views
    1,465

    Maybe I'm just dense or something. :( Here's...

    Maybe I'm just dense or something. :(
    Here's part of the code.


    stream << "net send " << ipaddr << ' '<< msg;
    stream.str().c_str();

    system ("PAUSE");
    while (n < nummsg) {
    ...
  17. Replies
    11
    Views
    1,465

    Thanks. Seems to be working. Now I just have to...

    Thanks. Seems to be working. Now I just have to piece stuff together. Thanks everyone.
    EDIT: Damn. One more thing. :mad:


    stream << "net send " << ipaddr << ' '<< msg;
    std::system("stream");...
  18. Replies
    11
    Views
    1,465

    Thank you for all the help. I'm trying to do this...

    Thank you for all the help. I'm trying to do this with string streams thanks to ya'lls advise and I've almost got it. This is a pretty basic question, but how would I make theur be spaces in between...
  19. Replies
    11
    Views
    1,465

    Multiple NetSends

    Hi everyone. I would like a little help with this code I'm working on. It's purpose is to ask the user for a computer's IP, a message to be sent, and number of messages. Then it will net send that...
  20. Replies
    2
    Views
    1,059

    Recording Keystrokes

    I have searched these forums and read multiple topics, but none really answered what I am searching for. So here goes. First of all, I am not trying to code a keylogger, so no flames please. :)
    ...
Results 1 to 20 of 20