Search:

Type: Posts; User: Hexxx

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,444

    @nanothief : Thanks, I never heard about that, I...

    @nanothief : Thanks, I never heard about that, I would look into it.

    @OnionKnight : Why does your profile picture section take up half the space while the body of your post takes up the other...
  2. Replies
    3
    Views
    2,444

    Matching string by a percentage?

    Hi there, haven't been coding for a while, but I think I should start back as I have been away from it for too long.

    I have a set of files in two different directories, say DirA, and DirB. The...
  3. Replies
    7
    Views
    1,769

    In reference to my searched, I was talking about...

    In reference to my searched, I was talking about SlyMaelstrom 'previous' post on the subject, as the link said. It is interesting that this is so difficult to find. I didn't find it under the Windows...
  4. Replies
    7
    Views
    1,769

    tried searching, but only this post came up....

    tried searching, but only this post came up.
    http://cboard.cprogramming.com/search.php?searchid=519988
  5. Replies
    7
    Views
    1,769

    Dealing with windows files

    I looked aroud but never saw any tutorial on how to deal with file in windows, Such as renaming a file. My current project involves using a program to extract some info (the title field) from a pdf...
  6. Thread: Arrary Size

    by Hexxx
    Replies
    2
    Views
    1,158

    Arrary Size

    I might just be too over accustom to vectors, but how do I get the size of an array in C++ again?

    I had to do this


    int num[] = {0, 0, 0, 0};

    to fill up an arrary with only 4 zeros...
  7. Replies
    1
    Views
    847

    Putting multiple structures in a vector

    I have a struct


    struct Point {
    int x;
    int y;
    };


    I also have another struct called
  8. Replies
    4
    Views
    1,034

    but that is outputting the string directly to the...

    but that is outputting the string directly to the screen, i want to be able to store it as a string as i wouldbe using that to display via another function. I thougt if u you the concat operator +...
  9. Replies
    4
    Views
    1,034

    A simple printing question

    Okay I know somtimes we make a mistake with even the simplest thing!

    Im trying to print out a string followed by an integer value, but don't want to print it out directely to the screen as I am...
  10. Thread: XML Parser

    by Hexxx
    Replies
    1
    Views
    1,968

    XML Parser

    I need to create a simple XML parser using a state machine. I know I'm going to be user push_back when i get a valid tag and pop_back to start verifying the tag when I reach </ but I am unsure as to...
  11. Replies
    1
    Views
    922

    Iterator _ erasing from a vector help

    I have a user created struct (named Nze), composed of int x co-ordinate, int y co-ordintate, and int a_value. A series of these structs have been inserted into a vector (named result) which was...
  12. Replies
    4
    Views
    2,537

    Reading a file again

    Hi, how can I start back from the beginning of a file after I have already read through it to read it again? Right now I have read through each line and closed it and re-opened it with a different...
  13. Replies
    7
    Views
    1,771

    ok i figured out the cin.eof by myself. thanks a...

    ok i figured out the cin.eof by myself. thanks a lot for the signal part!
  14. Replies
    7
    Views
    1,771

    we are suppose to use a do while loop because we...

    we are suppose to use a do while loop because we are only suppose to prompt once! Our lecturer said prompting for the samething more than once was 'inefficient', so I can't use


    cout << "Enter...
  15. Replies
    7
    Views
    1,771

    how can i do that? the code im delaying with is :...

    how can i do that? the code im delaying with is :


    do {
    cout << "Enter data: ";
    cin >> data}
    while (!validData);
    }
  16. Replies
    7
    Views
    1,771

    Block Control Characters

    I'm making a payroll application which takes input from cin, it validates the data (has a while loop in it). The problem is if I 'accidently' press Ctrl+Z it just keeps looping the prompt on the...
  17. Replies
    7
    Views
    2,103

    Validating Monetary Input

    the user needs to enter a monetary value only into the program with with no extraneous cents, for example, 56, 56.32 178654.44, but not 123.223 etc.

    I'm reading the data input via the keyboard...
  18. Replies
    13
    Views
    1,442

    Does this hold for other languages like Java and...

    Does this hold for other languages like Java and C? Because im sure (at least right now I think!) that I aligned numbers using leading zero's.... or maybe that was just for prepending the '0'...
  19. Replies
    13
    Views
    1,442

    so what's the difference between that octal above...

    so what's the difference between that octal above and entering a decimal with a leading zero? So u mean when I enter any number with a leading zero it's realy in base eight!! :O
  20. Replies
    13
    Views
    1,442

    Writing different bases in C

    How do I write A in the program do the compiler knows it's a hexadecimal number?
  21. Replies
    6
    Views
    2,426

    ok that's it, I know the problem has something to...

    ok that's it, I know the problem has something to do with linking...how do I link to "shell32.lib" ? I'm a beginner on MS Visual Studio 2005
  22. Replies
    6
    Views
    2,426

    well I don't know what you mean by that... I...

    well I don't know what you mean by that...

    I want to be able to show some stuff on the screen (well the console screen anyway), and then make the program load.
  23. Replies
    9
    Views
    10,241

    ok cool, I belive the msdn fuction should help me...

    ok cool, I belive the msdn fuction should help me on my way...
  24. Replies
    6
    Views
    2,426

    Run A Program from within a cpp code

    I want to execute a program (say test.exe). But I want to do it from inside a C++ file as I want to have a delay after the program executes, how can I execute a program on disk from inside cpp? it's...
  25. Replies
    9
    Views
    10,241

    Read and set\change system time

    I want to be able to set the time on my comp, (saving the time it was before setting would be nice too!), I looked around and found stuff with time.h, the most usefull thing I found had sys/time.h in...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4