CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Alterah

Page 1 of 18 1 2 3 4

Search: Search took 0.13 seconds.

  1. Re: My "if" statements will not compile correctly

    You've only gotten input for guessW. Your cars variable has been declared, but not initialized to anything. So, it likely has garbage data which is why regardless of what you enter for guessW, it...
  2. Replies
    7
    Views
    5,501

    Re: Code for merging isn't doing anything

    How are you trying to use the array? And what do you mean by not working?
  3. Replies
    4
    Views
    1,402

    Re: Help creating a do-while loop.

    I'd take a look at: http://www.cplusplus.com/doc/tutorial/control/
  4. Replies
    8
    Views
    1,936

    Re: Linked List problem

    I'm going to chime in and say that I agree with 2kaud and laserlight's assessment of where the bug likely lies with your code. Getting angry at them and claiming they don't understand what a linked...
  5. Replies
    33
    Views
    7,827

    Re: Question for Rock Paper Scissors game program

    You should post what you have, explain where you are stuck or what is confusing. That way we can help you.
  6. Replies
    33
    Views
    7,827

    Re: Question for Rock Paper Scissors game program

    I'm with 2kaud. Throw it in. It adds complexity (though not much, really). I'd just be sure to output and comment the code with the rules. Not everyone may know about that variation of the game.
  7. Replies
    20
    Views
    9,528

    Re: isvowel function

    I'd work on fixing your indenting. it will make reading your code much easier.
  8. Thread: Pseudopointers

    by Alterah
    Replies
    55
    Views
    12,594

    Re: Pseudopointers

    I haven't been following this thread in depth, but if you have to change your code to work on a new compiler, it's buggy code. Not only that, you now have two points in your code to maintain, making...
  9. Replies
    12
    Views
    2,160

    Re: Pyramid of stars with spaces

    So, what exactly is the assignment?
  10. Replies
    15
    Views
    9,530

    Re: Stack overflow on function call

    This thread is over four years old. I'm sure the issue has been resolved.
  11. Replies
    27
    Views
    3,991

    Re: [Advice Needed] Noob Code!

    The main problem I have with your class is that it doesn't make much sense to me. I understand what you are doing with the class, but it's backwards. Your class does one thing, and that's find the...
  12. Replies
    16
    Views
    2,760

    Re: I cannot print on an output file

    I agree with GCDEF on the formatting. One thing I want to point out is that your counts function should probably have an int return value. You are counting the number of times a character appears...
  13. Replies
    16
    Views
    2,760

    Re: I cannot print on an output file

    Look at how you come up with counts_chr within your frequency function. Once you have that bit of information you can figure out what counts_chr is. Or, and probably a better solution, is to pass...
  14. Re: C struct as class member variable, zero "init" data in class constructor

    I'd have to say C++ because we use both C and C++ files when we build the executable.
  15. Re: C struct as class member variable, zero "init" data in class constructor

    True, but I am dealing with a C struct and so wasn't quite sure.
  16. C struct as class member variable, zero "init" data in class constructor

    Hello,

    So, at my work we use a static analysis tool and it is pointing out some uninitialized variables. One of which is a class member variable which is a C struct. Now, that variable is already...
  17. Re: I need very fast help, like within the hour, please!

    Well, I can only recommend C++ sources that have helped me out. Here's another: http://www.learncpp.com/. You might try using Google to search C++ arrays and see if it can return results in your...
  18. Re: I need very fast help, like within the hour, please!

    You can use Google for a resource. I know if you search C++ Arrays the first link is a good source: http://www.cplusplus.com/doc/tutorial/arrays/

    In addition, that site is a good resource for...
  19. Re: I need very fast help, like within the hour, please!

    That's not your problem right now.
  20. Re: I need very fast help, like within the hour, please!

    That's not a good way to look at the problem. Because of all the extra code, you have too much to look at. On top of that your indention is off, making it even harder.

    Here's the basic setup,...
  21. Re: I need very fast help, like within the hour, please!

    That is way too much code to do that. You should only need 2 for loops. One to iterate through a column, and then the other to move you to the next column.
  22. Re: I need very fast help, like within the hour, please!

    If you were going to print out the numbers in the array, column by column, how would you do that?
  23. Re: I need very fast help, like within the hour, please!

    SwiftXShadow, there isn't much more we can do without giving you the answer. GCDEF has given plenty of hints.
  24. Re: I need very fast help, like within the hour, please!

    If I understand the problem correctly, you have one matrix, A[4][7]. So, it's 4 rows and 7 columns. You need to then add the numbers starting at the third column going through the 7th column for each...
  25. Re: I need very fast help, like within the hour, please!

    SwiftXShadow, you really need to take the time to read that tutorial. I know you are feeling pressured right now, but if you can't grasp the concept of loops, then future assignments will just be...
Results 1 to 25 of 440
Page 1 of 18 1 2 3 4





Click Here to Expand Forum to Full Width

Featured