Search:

Type: Posts; User: jlangfo5

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    3,282

    I see, I will look around for a third party...

    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...
  2. Replies
    6
    Views
    3,282

    I see, so what would be the best way then to...

    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...
  3. Replies
    6
    Views
    3,282

    array^ vs char[ ]

    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...
  4. Replies
    9
    Views
    2,465

    What if instead of using substr, if I was to...

    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?
  5. Replies
    9
    Views
    2,465

    Thanks for the help guys! I will be sure to let...

    Thanks for the help guys! I will be sure to let you guys know what happens either way!
  6. Replies
    9
    Views
    2,465

    Would it be valid for me to initialize at the...

    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...
  7. Replies
    9
    Views
    2,465

    Chunk is not stored anywhere after I pass it to...

    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...
  8. Replies
    9
    Views
    2,465

    Re Using char*'s Parsing Wireshark Dump

    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...
  9. Replies
    4
    Views
    4,248

    Well, I was wanting to avoid posting the other...

    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...
  10. Replies
    4
    Views
    4,248

    Improved?

    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){
    ...
  11. Replies
    4
    Views
    4,248

    Double Hashing Infinite Loop

    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...
  12. Replies
    4
    Views
    8,976

    Thanks Elysia! It compiled after I used push back...

    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...
  13. Replies
    4
    Views
    8,976

    Well thanks tabstop! I was able to fix that and...

    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...
  14. Replies
    4
    Views
    8,976

    assignment of read-only location (vectors)

    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...
  15. Replies
    1
    Views
    4,510

    Random Sentence Generator

    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...
  16. Replies
    3
    Views
    1,630

    Solved! I had the vectors assigned to be 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.
  17. Thread: gpa calc

    by jlangfo5
    Replies
    3
    Views
    4,710

    Oh, I forgot to mention, the letter grades are...

    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...
  18. Thread: gpa calc

    by jlangfo5
    Replies
    3
    Views
    4,710

    I don't think your line of code were you have ...

    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 ...
  19. Replies
    3
    Views
    1,630

    Thank you Bubba, I have excluded the parts of the...

    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...
  20. Replies
    3
    Views
    1,630

    Segmentation Fault Random Sentece Generator

    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...
Results 1 to 20 of 20