Search:

Type: Posts; User: swanley007

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: MD5 Hash

    by swanley007
    Replies
    1
    Views
    1,727

    MD5 Hash

    Hello All;

    Hope this is an easy one. I use Bloodshed Dev C++, not Visual C++, so please take into consideration when answering.

    I need to create a MD5 hash from a string like the...
  2. Replies
    9
    Views
    1,910

    Figured it out!!!!!!!!!! _tmain should be just...

    Figured it out!!!!!!!!!!

    _tmain should be just plain main
  3. Thread: main()

    by swanley007
    Replies
    12
    Views
    1,933

    put an int before main

    put an int before main
  4. Replies
    9
    Views
    1,910

    My output remains the same, and i have commentted...

    My output remains the same, and i have commentted everything out but the command line stuff...here is the code:



    // test-app.cpp : Defines the entry point for the console application.
    //
    ...
  5. Replies
    9
    Views
    1,910

    I think the problem is in my use of getline...can...

    I think the problem is in my use of getline...can you give me the correct syntex to test your theory. My c++ is a little rusty!

    Thanks
  6. Replies
    9
    Views
    1,910

    I can't seem to get this to work

    I can't seem to get this to work
  7. Replies
    9
    Views
    1,910

    C++ arguments problem

    Hello all;

    I am running windows...developing a windows command program.

    I am having some problems with my command line arguments though.

    Here is my code:


    // test-app.cpp : Defines the...
  8. Replies
    7
    Views
    1,342

    Passing Arguments in windows

    Hello all;

    I was wonddering how to pass commands from the command line to my program in c++.


    I have done this successfully in Fedora Core 3 using argv and argc, but I can't seem to get...
  9. Replies
    4
    Views
    1,484

    system() problem

    Hello All;

    I am almost done...

    Below is my code. notice how I build toDo. I need this built string to be executed by system(). I will not compile. Here is the code and error:



    //...
  10. Replies
    1
    Views
    1,078

    Time and pg_dump info

    Hello all;

    i have two more for ya!

    First I would like to get the current time and/or date in a string format usin c++.
    This is because I will be creating a filename that will use this...
  11. Replies
    6
    Views
    1,762

    Awesome Thx... Now do you know how to return the...

    Awesome Thx... Now do you know how to return the system date... I would like to use it as the filename.backup
  12. Replies
    6
    Views
    1,762

    Update... it seems to be that the \'s are not...

    Update... it seems to be that the \'s are not working correctly, bc even if I specify a directory like c:\smbtest\... it still gives the same error and i am getting a successful compile, with this...
  13. Replies
    6
    Views
    1,762

    That is great.. it compiles now!! When executing...

    That is great.. it compiles now!! When executing though this is what I get;

    Trying to execute command PG_DUMP
    The filename, directory name, or volume label syntax is incorrect.
    Command...
  14. Replies
    6
    Views
    1,762

    Directory and System Problem

    Hello All;

    This is a two part problem...

    First, i am trying to execute the call
    C:\Program Files\PostgreSQL\8.1\bin>pg_dump focus > \\10.1.65.30\smbtest\backup.
    backup

    AND the seccond...
  15. Replies
    3
    Views
    1,329

    Checking for ' in an if

    Hello all;

    Having a brain fart here.

    I want to check if a char is == to an ' or not.


    the statement if(char == ''') does not work bc the compiler sees the second ' as the end and the third...
  16. Replies
    2
    Views
    3,615

    Here is my full code Please Take a look: (it is...

    Here is my full code
    Please Take a look: (it is a work in progress)



    #include <GL/glut.h>
    #include <cstdlib>
    #include <iostream>
    #include <cmath>
    #include <time.h>
  17. Replies
    9
    Views
    1,135

    This should work ...

    This should work



    for(x=0;x<myVec.size();x++)
    {
    //do whatever with the element t myVec.at(x)
    myVec.erase(x);
    }
  18. Replies
    3
    Views
    1,660

    What I would do, is to fill the matrix by row. ...

    What I would do, is to fill the matrix by row. Go across the entire row, and then to the next one down and so on.

    At the beginning of each row, I would have 9 boolean values.

    IE bool...
  19. Replies
    2
    Views
    3,615

    OpenGL Linux Line Drawing Problem

    Hello;

    I am having a problem in openGL. I use the GLUT lib. I am trying to draw som lines using glVertex3f(x,y,z). Once these lines are drawn, I wna to manipulate them with the...
  20. Replies
    2
    Views
    1,256

    Vector of Vectors

    Hello;

    I need to know how to declare a vector of vectors and how to access.

    vector <int> int_vec;
    #need a vector containing vectors.


    Then I need to do
    int_vec.push_back(integer);
  21. Replies
    4
    Views
    861

    Thanks to all for the help... here is the final...

    Thanks to all for the help... here is the final working code:



    #include<iostream>
    #include<string>
    #include<fstream>
    #include<vector>

    using namespace std;
  22. Replies
    4
    Views
    861

    Thanks for the info, especially the vector of...

    Thanks for the info, especially the vector of vectors, but will the myfile >> intx work fo the negative and positive values?
  23. Replies
    4
    Views
    861

    File Parsing

    Hello;

    I am having problems inputting a file and getting it the way I want it. The followin is an example of the file


    8
    -1 -1 -1
    1 -1 -1
    1 1 -1
    -1 1 -1
  24. Replies
    3
    Views
    1,915

    Thank You this worked perfect

    Thank You this worked perfect
  25. Replies
    3
    Views
    1,915

    Float to string

    Hello;

    I have a float in the variable

    float x_lab;

    I need to convert this value to a string and store the string as a variable for later use. The precision needs to be to two decimal places...
Results 1 to 25 of 86
Page 1 of 4 1 2 3 4