Search:

Type: Posts; User: j0hnb

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,624

    MD5 Hash Generation

    I did a search for how to generate MD5 hash's through C++ or even C, but I was unable to find a answer as to how this is done. It appears that there isn't a standard function for MD5 in C or C++,...
  2. Replies
    2
    Views
    1,107

    alright, thanks...

    alright, thanks...
  3. Replies
    2
    Views
    1,107

    dynamic arrays in class's???

    I'm trying to figure this out with no luck so far. How do I dynamically allocate a character array within a class? Do I have to set a pointer in the private secion and then link to that pointer...
  4. Replies
    2
    Views
    913

    array trimming...

    Lets say I have an array like this:

    char str[30] = " Hello ";
    How would I trim off all the leading and trailing whitespaces?
    I tried doing this with a cnt of all non ' ' then...
  5. Replies
    4
    Views
    1,976

    I read the site, and already understood that part...

    I read the site, and already understood that part of it.
    Let me give you an example of what my problem is...
    I am using


    inFile.getline(temp, 10, ' ');

    to scan in a list like...
  6. Replies
    4
    Views
    1,976

    getline with a dual delimiter?

    How would I make the this


    inFile.getline(temp, 10, ' ');

    stop at both a ' ' and a newline. Right now it is reading in a file and when it hits the end of a line without a space it will read...
  7. Replies
    2
    Views
    1,300

    string of numbers into int?

    How would I turn a string with regular numbers in it into an int. I need to turn something like char tmp[3] into int x.
  8. Replies
    3
    Views
    834

    I had to make a few changes... to while...

    I had to make a few changes... to


    while (true)
    {
    if (inFile.eof())
    break;
    else if (!inFile >> x)
    {
    break;
  9. Replies
    3
    Views
    834

    Ifstream, problems.

    I'm using ifstream to scan in integers from a file, but I come into a problem when there is a character mixed up within the integer list. It will read correctly till it hits the character then loop...
  10. Replies
    2
    Views
    1,313

    Deleting Dynamic array's of an object

    I'm trying to dynamically create an array of objects, then have them delete later on but for some reason i'm getting an error with the delete line. I'm still confused with the whole dynamic object...
  11. Replies
    8
    Views
    1,711

    Friend operator saving problem

    For some reason my operands are not storing the values in the private class, but they are all friends of the class... Where did I go wrong on this code?





    class Diamond{
    friend bool...
  12. Replies
    1
    Views
    1,209

    What does this error mean?

    What does this error mean?


    Undefined first referenced
    symbol in file
    operator<<(std::basic_ostream<char, std::char_traits<char> >&,...
  13. Replies
    4
    Views
    1,148

    Do they make any type of small converter box for...

    Do they make any type of small converter box for that, or are you talking about running it into something like an ALL IN WONDER graphics card?
  14. Replies
    4
    Views
    1,148

    VGA to cable converting???

    I don't know if this is even possable but can I convert my computer monitor into a TV monitor. Not like a win tv type of thing but like convert the cable to an video cable from an A/V cable set? In...
  15. Replies
    5
    Views
    1,267

    ok, i got it thanks.

    ok, i got it thanks.
  16. Replies
    5
    Views
    1,267

    What is wrong with this statement???

    char * p1;
    char * p2;
    char * tmp;
    p1=(char *) malloc(sizeof(char));
    p2=(char *) malloc(sizeof(char));
    *p1='A';
    *p2='B';
    tmp=p1;
    p2=tmp;
  17. Thread: Pause?

    by j0hnb
    Replies
    1
    Views
    1,134

    Pause?

    how would i make my program pause and wait for the user to hit any key to continue?
  18. Replies
    4
    Views
    4,578

    alright, thanks

    alright, thanks
  19. Replies
    4
    Views
    4,578

    stacks and queues

    I'm having a hard time understanding stacks and queues. I was woundering if anyone could help me out with this or show me a good example of them so i could fully understand how I am going to use...
  20. Replies
    1
    Views
    918

    I'm so confused...

    Alright, i'm going to try to explain this assingment the best that i can... we have to write a program that will scan in #'s of large integers into a link list and then make it so the user can add...
  21. Replies
    15
    Views
    3,516

    I got it all workin... thanks

    I got it all workin... thanks
  22. Replies
    0
    Views
    2,066

    Minesweeper errors...

    I'm trying to recreate minesweeper in C and I am pretty sure that i have finished the program but i have 2 problems with it. The game runs but it will only let me inter the coordinates 2 time before...
  23. Replies
    15
    Views
    3,516

    alright it works now... thanks.

    alright it works now... thanks.
  24. Replies
    15
    Views
    3,516

    I fixed the type-o of "floodFill" but I am still...

    I fixed the type-o of "floodFill" but I am still recieving these erros...

    C:\programming\ms2.c(11) : error C2087: '<Unknown>' : missing subscript
    C:\programming\ms2.c(101) : warning C4048:...
  25. Replies
    15
    Views
    3,516

    Recreating Minesweeper.

    I'm in the process of recreating minesweeper in C. This is what I have so far, it's not complete i'm still testing it out. I am haveing a big problem with the floodfill which is ment to turn all...
Results 1 to 25 of 45
Page 1 of 2 1 2