Search:

Type: Posts; User: Jaymond Flurrie

Search: Search took 0.01 seconds.

  1. I like the way you answered (I mean, made me...

    I like the way you answered (I mean, made me think a bit).

    I fixed it to be now:

    concatenated[i] = secondpart[i-startofsecond];

    Thanks for the help!
  2. Concatenate arrays, what's wrong here?

    So this is supposed to print two arrays concatenated, but what's wrong here? The later part doesn't show up correctly (prints some nonsense). I'm not looking for a "from scratch" answer, just info...
  3. Replies
    23
    Views
    22,017

    Just remembered why I changed away from Dev-C++....

    Just remembered why I changed away from Dev-C++. It had that
    "'for' loop initial declaration used outside C99 mode" error,
    so I didn't see any advantages using Dev-C++ over VS2010.
  4. Replies
    23
    Views
    22,017

    I used Dev-C++ first, but ran into some problems...

    I used Dev-C++ first, but ran into some problems with it and decided to go back to Visual Studio, since I know Visual Studio so much better otherwise.
  5. Replies
    23
    Views
    22,017

    Ok, I'll keep that in my mind. Thanks for the...

    Ok, I'll keep that in my mind. Thanks for the heads up!
  6. Replies
    23
    Views
    22,017

    It can run on Windows, yes, but the huge reason...

    It can run on Windows, yes, but the huge reason why I use VS2010 here is
    1) I happen to have VS2010
    2) The thing that I'm trying to do here is to just learn the C as well as possible



    One...
  7. Replies
    23
    Views
    22,017

    Yeah, this works. Thanks!

    Yeah, this works. Thanks!
  8. Replies
    23
    Views
    22,017

    It's good enough for me if I can just write and...

    It's good enough for me if I can just write and test the code with Visual Studio. It's ok if the system knows absolutely nothing about Visual Studio.
  9. Replies
    23
    Views
    22,017

    C++ is too advanced for the embedded systems...

    C++ is too advanced for the embedded systems we're using. It has to be C.
  10. Replies
    23
    Views
    22,017

    It gives me IntelliSense: invalid combination...

    It gives me
    IntelliSense: invalid combination of type specifiers
    error C2065: 'false' : undeclared identifier
    error C2065: 'true' : undeclared identifier

    What I find strange is that it has...
  11. Replies
    23
    Views
    22,017

    Visual Studio 2010 and stdbool.h

    I'm pretty sure this is again something about C99, but how do I use booleans in C code in Visual Studio 2010?
  12. Replies
    2
    Views
    963

    Yeah, I think using struct might prove to be...

    Yeah, I think using struct might prove to be easier.

    When using C "not comfortable with pointers" is a pretty darn big flaw in my opinion ie. anyone using C should learn to use pointers in my...
  13. Replies
    2
    Views
    963

    Is 2D array enough?

    In C# or C++ it would be enough to use 2D array, but how about in C? The data I want to have in array is a directory listing like this


    File name Date Size ...
  14. Yeah, absolutely, just C, not C++.

    Yeah, absolutely, just C, not C++.
  15. Ok, I thought so too. Thanks to all of you, I...

    Ok, I thought so too.

    Thanks to all of you, I got a flying start into C programming with VS2010 now!
  16. Does VS2010 support C99? If so, how do I enable...

    Does VS2010 support C99? If so, how do I enable it?

    Also, what's the smartest way in VS2010 to break the program before exiting (I mean in a simple program usually the program is finished before I...
  17. Now it works but I don't understand why. Is it...

    Now it works but I don't understand why. Is it about declaring all the variables in the beginning of main?
  18. Better, but not good enough - Now I get only four...

    Better, but not good enough - Now I get only four errors, which of three points to that for-loop initialization line.

    Error 1 error C2143: syntax error : missing ';' before 'type'
    Error 2 error...
  19. C in Visual Studio 2010, simple code fails

    So, first of all, could someone give me a very short tutorial how to program C in Visual Studio 2010?

    I have this code, a direct copy from a book:



    #include <stdio.h>
    int main(void)
    {...
Results 1 to 19 of 19