Search:

Type: Posts; User: jimblumberg

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: EXE file

    by jimblumberg
    Replies
    11
    Views
    178

    I'm not talking about that error message. I'm...

    I'm not talking about that error message. I'm talking about the compiler error messages in your IDE, not the "runtime" message.

    For example the code you supplied gives the following errors in my...
  2. Thread: EXE file

    by jimblumberg
    Replies
    11
    Views
    178

    Probably because the build failed. Cut and...

    Probably because the build failed.

    Cut and paste the error messages from the IDE, the picture is pretty much unreadable.

    If all else fails cut and paste the complete code, inside code tags in a...
  3. Replies
    1
    Views
    137

    What do you think the values should be? Did...

    What do you think the values should be?

    Did you plug the snippet into a program and print the values?

    Are you sure that you copied the code correctly?
  4. Well I can't reproduce either of the "results",...

    Well I can't reproduce either of the "results", because the code you provided fails to compile.

    Perhaps you left off some important code, ie. header files?
  5. What operating system are you using? What...

    What operating system are you using?

    What parameters are you using with md5sum?

    What is md5sum returning?
  6. However when I do the same with binary ones there...

    However when I do the same with binary ones there is sth wrong as md5sum doesnt match.

    Could the problem be due to different line endings?

    But really you're not showing near enough content....
  7. You should really consider using std::string...

    You should really consider using std::string instead of the error prone C-strings.

    In your setName() function you should first verify that the passed C-string is small enough to fit into the name...
  8. Replies
    5
    Views
    204

    The problem is that the pointer is local to the...

    The problem is that the pointer is local to the function and will only be valid in that function.

    Instead of "returning" a pointer it would be better to pass the pointer into the function.


    ...
  9. All input should be coming from that input file....

    All input should be coming from that input file.


    That structure seems wrong. What about the first entry?
  10. Please show your input file "contacts.txt". Do...

    Please show your input file "contacts.txt".

    Do you realize that your run line ("./project1 <contacts.txt") is using input redirection? Which means that the above file should contain all your input...
  11. Replies
    2
    Views
    126

    A couple of things. First line 12 is...

    A couple of things.

    First line 12 is incorrect (look at line 16 for a hint).

    Second line 21 is invoking undefined behaviour, you're attempting to increment the same value twice without a...
  12. Double post...

    Double post. Please don't post the same question in multiple sub-forums.

    Also this is a C++ question not a C question.
  13. Also posted here...

    Also posted here.
  14. That was already suggested in the link pointed...

    That was already suggested in the link pointed out by Salem.

    By the way this topic should really be in the Windows forum, since using the Windows api is a requirement.
  15. Replies
    4
    Views
    188

    So how does "I'm really bad at it" relate to the...

    So how does "I'm really bad at it" relate to the problem at hand?

    What exactly don't you understand?
  16. Replies
    4
    Views
    188

    Do you realize that in main() x and y are single...

    Do you realize that in main() x and y are single doubles, not two arrays of double as your function expects?
  17. Replies
    1
    Views
    168

    A couple of things, first in C you shouldn't be...

    A couple of things, first in C you shouldn't be casting the return value from malloc(), second what is "s"? Third did you look up some documentation for free, pay particular attention to what you're...
  18. Replies
    3
    Views
    166

    Okay, do you realize that that is what getch()...

    Okay, do you realize that that is what getch() should do?

    Also do you know that getch() is a non-standard function only available on certain compilers?

    Perhaps you should consider either...
  19. Or maybe this one...

    Or maybe this one even, or this one maybe?
  20. It is a single invalid int value.

    It is a single invalid int value.
  21. Also note that the space between the format...

    Also note that the space between the format specifiers is not necessary, ("%d%d") is adequate.
  22. What type of system is this LCD connected to? ...

    What type of system is this LCD connected to?

    It doesn't look like you're initializing the LCD properly for 4 bit operation. Re-check the data sheet for more information about proper...
  23. It's been a while since I played with an LCD but...

    It's been a while since I played with an LCD but if I remember correctly you have to repeat one of the commands twice (the first I think).
  24. Have you tried placing your "wait" between each...

    Have you tried placing your "wait" between each of the commands. When placing a LCD into four bit mode the timing is quite critical, and waiting for the LCD busy flag is not always reliable for the...
  25. The problem is that 1. scanf() leaves the end of...

    The problem is that 1. scanf() leaves the end of line character in the input buffer and 2. when using the "%c" format character leading whitespace is not skipped.

    To fix the problem you can either...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4