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...
Type: Posts; User: swanley007
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...
Figured it out!!!!!!!!!!
_tmain should be just plain main
put an int before main
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.
//
...
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
I can't seem to get this to work
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...
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...
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:
//...
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...
Awesome Thx... Now do you know how to return the system date... I would like to use it as the filename.backup
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...
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...
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...
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...
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>
This should work
for(x=0;x<myVec.size();x++)
{
//do whatever with the element t myVec.at(x)
myVec.erase(x);
}
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...
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...
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);
Thanks to all for the help... here is the final working code:
#include<iostream>
#include<string>
#include<fstream>
#include<vector>
using namespace std;
Thanks for the info, especially the vector of vectors, but will the myfile >> intx work fo the negative and positive values?
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
Thank You this worked perfect
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...