Jump to content

duckwithanokhat

Member
  • Posts

    376
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

1,406 profile views
  1. @L.Lawliet Thanks for the suggestion, the m40x's look a lot more appealing for someone on a budget like me!
  2. Let me preface this by saying I'm basically an audio noob so I'm open to anything new. I want to invest in ATH-M50x's but I only have my on board audio (Realtek ALC892) and my iPhone 6 to plug the headphones into. I can't afford anything external if I were to buy the headphones but at the same time I don't want to waste money and not be able to enjoy the full experience.
  3. @Unimportant str1 is a char * that receives it's string from strtok. An example would be like if the user inputted "Hello world". I would use strtok() to remove the spaces and str1 would get "Hello" and then "World".
  4. Nah your fine, but I need 500 because the program I'm writing translates English sentences into pig Latin.
  5. The thing is str1 is also a char * because it's actually a string from strtok() (if you know what that is), would it still work?
  6. So I want to remove the first character of a char *. Stack overflow gave me the solution that: //str1 is the original char *str2 = str1 + 1; The thing is this works, but every time I change str2, str1 also changes. So is there a way to not change remove the first char without changing str1?
  7. How would this assign the address of input and input2 to the array?
  8. In C, how do I make an array of pointers that point to multiple strings. For example: char input[10]; char input2[10]; And then an array where the first element points to input and the second one points to input2.
  9. In my C program I'm doing simple float subtract and addition. The problem is if I do something like 25.00 - 24.99 my float variable would get something like 0.0099.... . While that is sufficient for displaying, I need the number stored to be 0.01. Is there a way to do more accurate float calculations?
  10. No the 1060 6gb is around the 980 performance wise.
  11. Sorry for the assumption, looks like my teenage mind betrayed me again.
×