Thread: Project settings

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    88

    Project settings

    I am not exactly sure what I am looking for, but in Microsoft visual C++, there is something called project settings where I need to change the way ints are read in. Normally 4 bytes are allocated for info and then an extra 4 bytes go at the end of that. I need to change the extra 4, but not exactly sure where to do this in project settings.

    Sorry I don't know more technical terms, I am kind of an idiot.

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Project Settings -> C/C++ -> Code Generation ->Struct member alignment

    edit: at least I think that's what you're talking about.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    88
    that is exactly what I am talking about. Thank you so much
    Does that setting stay the same if I were to transport the source file to another computer and run it or does it need to be set everytime?

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    it's stored in the dsp file. If you transfer it along with the cpp it will stay.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    88
    ok thanks for all of your help, now if only my program would work

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sorting the matrix question..
    By transgalactic2 in forum C Programming
    Replies: 47
    Last Post: 12-22-2008, 03:17 PM
  2. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  3. Replies: 5
    Last Post: 09-14-2006, 09:47 PM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM