I see, I will look around for a third party library then, I was trying to use Microsoft libs were possible. I have a final question, does the data type array<unsigned char> with out the carrot exists...
Type: Posts; User: jlangfo5
I see, I will look around for a third party library then, I was trying to use Microsoft libs were possible. I have a final question, does the data type array<unsigned char> with out the carrot exists...
I see, so what would be the best way then to calculate md5 hashes using a C++ windows library? I was stumbling through msdn and that is what happened upon.
So the next question I pose, so I wasn't...
Hey guys, I have started exploring some programming concepts on my own,and in particular some that are special to the windows API. I am trying to use the function shown below as part of my class...
What if instead of using substr, if I was to check index 0,1,2, and 3 for the patteren "N" "o" "." " " I think that would take care of 99% of cases, and parsing insn't in nature always perfect is it?
Thanks for the help guys! I will be sure to let you guys know what happens either way!
Would it be valid for me to initialize at the start of the program after I set the buffers and reset the char *'s in the loop by using:
line = "";
chunk = "";
then that should enable me to use...
Chunk is not stored anywhere after I pass it to "newPacket", so the error is not the memory being freed to a pointer that is stored elsewhere. What I am atempting to do is as follows:
Read in the...
Hello! I am making a program to parse wire-shark dump files. This is my first foray into C, but I am fairly experience with C++. I am having some trouble with my character arrays.
I am wanting to...
Well, I was wanting to avoid posting the other 300 lines of code, luckily though, I was able to get the issue resolved, it turned out that I could not possibly test my function without having...
Here is the new and improved code, however I am getting an error about not being able to add a single input into the table.
// XOR and Double
else if(Fxn == 2 && Coll == 2){
...
Hey, I have been working on a program that is supposed to implement double hashing, but I have problems falling into an infinite loop, and Im not sure when to give the program the signal to say...
Thanks Elysia! It compiled after I used push back on the string instead of trying to assign to it like i was! Now I just have to fix a logic that error that isn't so bad, and it will be working...
Well thanks tabstop! I was able to fix that and it then compiled, but then everyone's favorite, the segfault appeared. I tried to test my function to see if it would work correctly, with this code...
Hey guys, I just finished semester one at school, and I have been doing some coding exercises to keep sharp over the winter break, and I have been some new errors on this exercise. This exercise came...
Hey guys! I am currently working on a random sentence generator that has possible applications for AI. I am trying to take a more natural approach to sentence generation than what we have seen in the...
Solved! I had the vectors assigned to be the wrong size, and when I was pulling a string out of them it was messing up because there wasn't the proper space in memory.
Oh, I forgot to mention, the letter grades are not strings, but are type char.
So, you would declare them like so. I like to always assign them a value for starts personally, then reassign it...
I don't think your line of code were you have
cin>> grade >> grade....
is going to work. I would instead write
cin>> gradeOne >> gradeTwo ...
Thank you Bubba, I have excluded the parts of the code that were not being used by the problem livingSentenceMaker function, I didn't want to exclude to much, so I still left everything in there that...
Hey guys, I am fairly new to C++ and very new to these forums here, and I'd like to start out by saying I love what you guys are doing here!
I have been working on a random sentence generator that...