Search:

Type: Posts; User: blindchicken11

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Counting different types of keys in Windows registry

    Hey all. I haven't done C programming in awhile, and right now I'm getting into malware analysis. I want to make a simple C program that for a each key in a specified hive, the program counts how...
  2. Replies
    2
    Views
    728

    Ohhhhhhh alright. Yeah I see. I figured it out....

    Ohhhhhhh alright. Yeah I see. I figured it out. Thank you for the tip!
  3. Replies
    1
    Views
    851

    Stuck on this kinda long code

    Hello. I've been working on this code that simulates a fishing tournament. There's 14 teams (although there is no "team 14", goes from team 13 to team 15), each team picks 5 fish, and the program...
  4. Replies
    2
    Views
    728

    Stuck on this kinda long code

    Hello. I've been working on this code that simulates a fishing tournament. There's 14 teams (although there is no "team 14", goes from team 13 to team 15), each team picks 5 fish, and the program...
  5. Sorry, still having some trouble. Alright here's...

    Sorry, still having some trouble. Alright here's what I have so far, I just put in the printf to see what it does (displays each line of the .txt file). Not sure where to go from here. Would I put in...
  6. Counting/displaying number of letters per line?

    Hello! I'm reading in a .txt file into a program and I'm trying to get it to count how many letters are in each line, and then display them. I'm not exactly sure what to use though.

    Here's my code...
  7. Pulling numbers from a .txt file and displaying certain things (averages, etc.)

    Hello. I'm gonna try and explain this the best I can. Pretty much I'm working on something that simulates a fishing tournament. I made a .txt file with four columns. Column 1 is team number, column 2...
  8. Ah that helped. Thank you very much!

    Ah that helped. Thank you very much!
  9. How to count number of spaces, certain letters, etc. in strings?

    Hello, I was wondering if anyone knew how to get a program to count the number of certain elements in a string.

    Here's an example code I made. How would I determine the number of spaces in line1...
  10. Yep that fixed it! Thanks you two!

    Yep that fixed it! Thanks you two!
  11. passing character arrays into function

    Hello. For this program I'm doing I'm trying to get a user to enter two words, have those words passed into a function which compares the two words and sets a char pointer to a certain sentence based...
  12. Replies
    5
    Views
    1,609

    Yep, that fixed it. Thanks a lot guys!

    Yep, that fixed it. Thanks a lot guys!
  13. Replies
    5
    Views
    1,609

    Shoot. I forgot about it starting at 0. Is there...

    Shoot. I forgot about it starting at 0. Is there a way to make it so it would make [1] equal to sunday, 2 = monday, etc.? Or would I have to put some other value before 'sunday' so [0] is equal to...
  14. Replies
    5
    Views
    1,609

    Array of character pointers

    Could anyone check out this code and give me a hint of what I'm doing wrong? I'm trying to make a code that has the user enter a number 1-7, and it displays a day corresponding to that number. For...
  15. Replies
    5
    Views
    880

    Thank you very much guys!

    Thank you very much guys!
  16. Replies
    5
    Views
    880

    Thanks for the reply! Haven't done much with...

    Thanks for the reply! Haven't done much with putchar yet. Is there a way to do it with just printf ?
  17. Replies
    5
    Views
    880

    Character array question

    Hello, I was wondering if anyone knew how to display each letter of a character array on a separate line without doing a printf for each one.

    I made an example in the code below. If I wanted to...
  18. Replies
    2
    Views
    1,272

    thank you!

    thank you!
  19. Replies
    2
    Views
    1,272

    Can you place two arrays in one loop?

    Hello, I was wondering if there's a way to place two arrays in one loop. For example, say I had an integer and double array of the same size, let's say 30. I want to place 30 random values in each of...
  20. Ugh I finally got it. Thanks a lot for your help...

    Ugh I finally got it. Thanks a lot for your help man, I really appreciate it.
  21. Okay. I've been trying to figure this out but I'm...

    Okay. I've been trying to figure this out but I'm out of ideas. This is the last thing I promise!


    #include <stdio.h>#include <math.h>


    double posQuadraticEquation(int a, int b, int c);

    ...
  22. Ah once again, something simple. I really need to...

    Ah once again, something simple. I really need to focus on catching simple things like that. Thanks a lot for your help though, I appreciate it!
  23. Okay here's what I have now. #include...

    Okay here's what I have now.


    #include <stdio.h>#include <math.h>


    double posQuadraticEquation(int a, int b, int c);


    int main()
  24. Crap. For some reason I'm getting -nan for an...

    Crap. For some reason I'm getting -nan for an answer regardless of what the user picks for a, b, and c. Anyone have any guesses as to why this is? I'm supposed to only return the POSITIVE portion of...
  25. Ugh I always miss something small like that....

    Ugh I always miss something small like that. Thank you!
Results 1 to 25 of 32
Page 1 of 2 1 2