Thread: ping Elysia, the VC++ expert :)

  1. #31
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    I found this PDF quite helpful in explaining the basics of Visual Studio Debugger, so I will think other VS newbies will also find it a good start too.

    http://webpages.uncc.edu/~rguzzo/Deb...l%20Studio.pdf

    And here is the .html version of the above PDF, without the diagrams(which you will need to see what is being discussed).

    http://209.85.175.132/search?q=cache...lnk&cd=1&gl=au
    OS: Linux Mint 13(Maya) LTS 64 bit.

  2. #32
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by matsp View Post
    SourceSafe is fine if you have a local server. Where I worked about 5 years back, they had problems when an office in the US got connected to the SourceSafe server in the UK - apparently, it doesn't have very good safety on the packets.

    --
    Mats
    Agree, working with SS over the internet link is head ache
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  3. #33
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391

    how to permanently turn of deprecation warnings?

    I have to keep using this code in every source file that I compile, to turn off VC++ 2008 deprecation warnings.

    Code:
    #define _CRT_SECURE_NO_WARNINGS
    EDIT:

    The types of deprecation warnings are:

    warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    Is there an option in VC++ where I can make it turn off the warnings as a default?

    Thanks.
    Last edited by happyclown; 01-30-2009 at 06:59 PM.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  4. #34
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by happyclown
    Is there an option in VC++ where I can make it turn off the warnings as a default?
    Yes. Project -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions. Write _CRT_SECURE_NO_WARNINGS in the corresponding input form control.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #35
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Quote Originally Posted by laserlight View Post
    Yes. Project -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions. Write _CRT_SECURE_NO_WARNINGS in the corresponding input form control.
    Thanks laserlight.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  6. #36
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    How do I set the debugger to target a specific directory? I normally put the executable into the target directory.

    I've tried putting all the files that my program needs to open into the Debug directories(why are there 2 Debug directories?) in the project folder, but the debugger isn't opening the files.

    It's giving the error message "no such files or directories".

    I tried playing with the project properties, "Working Directory" and "Environment", but that didn't work.

    Thanks in advance.

    EDIT: Ok, I tried "working directory" properties again, and now it works. No idea why it didn't work before.
    Last edited by happyclown; 01-31-2009 at 04:46 PM.
    OS: Linux Mint 13(Maya) LTS 64 bit.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ping script doesn't work?
    By userpingz in forum C Programming
    Replies: 3
    Last Post: 05-31-2009, 07:53 PM
  2. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  3. IPv6 ping in windows...problem..lots of ode:(
    By Neill KElly in forum C Programming
    Replies: 3
    Last Post: 04-27-2009, 11:50 PM
  4. ping client
    By cpp_is_fun in forum C Programming
    Replies: 4
    Last Post: 11-29-2006, 12:44 PM
  5. Ping
    By ZakkWylde969 in forum Tech Board
    Replies: 5
    Last Post: 09-23-2003, 12:28 PM