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++,...
Type: Posts; User: j0hnb
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++,...
alright, thanks...
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...
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...
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...
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...
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.
I had to make a few changes... to
while (true)
{
if (inFile.eof())
break;
else if (!inFile >> x)
{
break;
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...
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...
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...
What does this error mean?
Undefined first referenced
symbol in file
operator<<(std::basic_ostream<char, std::char_traits<char> >&,...
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?
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...
ok, i got it thanks.
char * p1;
char * p2;
char * tmp;
p1=(char *) malloc(sizeof(char));
p2=(char *) malloc(sizeof(char));
*p1='A';
*p2='B';
tmp=p1;
p2=tmp;
how would i make my program pause and wait for the user to hit any key to continue?
alright, thanks
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...
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...
I got it all workin... thanks
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...
alright it works now... thanks.
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:...
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...