Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. including 2 user defined header files

including 2 user defined header files

Scheduled Pinned Locked Moved C#
tutorialquestion
13 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr Cully
    wrote on last edited by
    #1

    when i include more than 1 user defined header file eg #include "tcplib.h" #include #include #include "big.h" tcplib.h and big.h..... the second header file doesnt include in that it gives me errors saying its not included, any ideas on how to solve this? are you able to include more than one user defined header file?

    M C L 3 Replies Last reply
    0
    • M Mr Cully

      when i include more than 1 user defined header file eg #include "tcplib.h" #include #include #include "big.h" tcplib.h and big.h..... the second header file doesnt include in that it gives me errors saying its not included, any ideas on how to solve this? are you able to include more than one user defined header file?

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      I think you're in the wrong forum. You might get a better response in the C++ forum: http://www.codeproject.com/script/comments/forums.asp?forumid=1647[^] Good Luck, Colin. --Colin Mackay--

      "In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with C#

      1 Reply Last reply
      0
      • M Mr Cully

        when i include more than 1 user defined header file eg #include "tcplib.h" #include #include #include "big.h" tcplib.h and big.h..... the second header file doesnt include in that it gives me errors saying its not included, any ideas on how to solve this? are you able to include more than one user defined header file?

        M Offline
        M Offline
        Mr Cully
        wrote on last edited by
        #3

        i also get this error LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library

        M 1 Reply Last reply
        0
        • M Mr Cully

          i also get this error LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library

          M Offline
          M Offline
          Mr Cully
          wrote on last edited by
          #4

          good point thanks

          1 Reply Last reply
          0
          • M Mr Cully

            when i include more than 1 user defined header file eg #include "tcplib.h" #include #include #include "big.h" tcplib.h and big.h..... the second header file doesnt include in that it gives me errors saying its not included, any ideas on how to solve this? are you able to include more than one user defined header file?

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #5

            Mr. Cully wrote: any ideas on how to solve this? Some glasses perhaps.... :doh: leppie::AllocCPArticle("Zee blog");
            Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

            C 1 Reply Last reply
            0
            • L leppie

              Mr. Cully wrote: any ideas on how to solve this? Some glasses perhaps.... :doh: leppie::AllocCPArticle("Zee blog");
              Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              I'm sitting staring at this trying to figure out where my reply went, then I see I'm in the C# forum.... :P Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

              N 1 Reply Last reply
              0
              • C Christian Graus

                I'm sitting staring at this trying to figure out where my reply went, then I see I'm in the C# forum.... :P Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                N Offline
                N Offline
                Nick Parker
                wrote on last edited by
                #7

                The STL can solve this too CG. ;P -Nick Parker

                Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                C 1 Reply Last reply
                0
                • N Nick Parker

                  The STL can solve this too CG. ;P -Nick Parker

                  Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #8

                  Nick Parker wrote: The STL can solve this too CG. Well, now that goes without saying, right ? I recently discovered that Array has static functions for sorting and so on. Nowhere near what the STL has, but at least it's something..... Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                  N 1 Reply Last reply
                  0
                  • C Christian Graus

                    Nick Parker wrote: The STL can solve this too CG. Well, now that goes without saying, right ? I recently discovered that Array has static functions for sorting and so on. Nowhere near what the STL has, but at least it's something..... Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

                    N Offline
                    N Offline
                    Nick Parker
                    wrote on last edited by
                    #9

                    Christian Graus wrote: I recently discovered that Array has static functions for sorting and so on. Nowhere near what the STL has, but at least it's something..... I find it interesting to use Reflector[^] and just go through the namespaces and pick a class to see everything. The Marshal class in System.Runtime.InteropServices is my current read, when I have free time that is. -Nick Parker

                    Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                    D 1 Reply Last reply
                    0
                    • N Nick Parker

                      Christian Graus wrote: I recently discovered that Array has static functions for sorting and so on. Nowhere near what the STL has, but at least it's something..... I find it interesting to use Reflector[^] and just go through the namespaces and pick a class to see everything. The Marshal class in System.Runtime.InteropServices is my current read, when I have free time that is. -Nick Parker

                      Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                      D Offline
                      D Offline
                      David Stone
                      wrote on last edited by
                      #10

                      Nick Parker wrote: I find it interesting to use Reflector[^] and just go through the namespaces and pick a class to see everything Whew, I'm not the only one then...:-D


                      When I can talk about 64 bit processors and attract girls with my computer not my car, I'll come out of the closet. Until that time...I'm like "What's the ENTER key?" -Hockey on being a geek

                      N J 2 Replies Last reply
                      0
                      • D David Stone

                        Nick Parker wrote: I find it interesting to use Reflector[^] and just go through the namespaces and pick a class to see everything Whew, I'm not the only one then...:-D


                        When I can talk about 64 bit processors and attract girls with my computer not my car, I'll come out of the closet. Until that time...I'm like "What's the ENTER key?" -Hockey on being a geek

                        N Offline
                        N Offline
                        Nick Parker
                        wrote on last edited by
                        #11

                        David Stone wrote: Whew, I'm not the only one then... Just don't try to use that as a pick-up line, k David? ;P -Nick Parker

                        Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                        D 1 Reply Last reply
                        0
                        • D David Stone

                          Nick Parker wrote: I find it interesting to use Reflector[^] and just go through the namespaces and pick a class to see everything Whew, I'm not the only one then...:-D


                          When I can talk about 64 bit processors and attract girls with my computer not my car, I'll come out of the closet. Until that time...I'm like "What's the ENTER key?" -Hockey on being a geek

                          J Offline
                          J Offline
                          J Dunlap
                          wrote on last edited by
                          #12

                          David Stone wrote: Whew, I'm not the only one then... Nope - and I use it too. It's such a help to be able to see exactly what will happen when you call a certain method or property. :cool:

                          **"A journey of a thousand miles begins with a single step." -- Confucius

                          FLUID UI Toolkit | FloodFill in C# & GDI+**

                          1 Reply Last reply
                          0
                          • N Nick Parker

                            David Stone wrote: Whew, I'm not the only one then... Just don't try to use that as a pick-up line, k David? ;P -Nick Parker

                            Last time I checked, all programmers have selective ignorance. I know nothing about 3D graphics. I know a lot about COM. VB gets under people's skin because one can be ignorant of computer architecture and ASM and still get a lot done. - Don Box

                            D Offline
                            D Offline
                            David Stone
                            wrote on last edited by
                            #13

                            Nick Parker wrote: Just don't try to use that as a pick-up line, k David? Stupid geek one-liners:

                            • Hey baby...wanna go back to my PC and reflect over your System.Reflection.Assembly?
                            • If you're having trouble with that, I could give you a few IntPtrs...
                            • You know, I really feel like we're communicating on the same System.Runtime.Remoting.Channels.IChannel here...
                            • Mmmm...I'd love to get a Peek() at that System.Collections.Stack...

                            What's sad is that I can think of a lot more...and they get dirtier... :rolleyes:


                            When I can talk about 64 bit processors and attract girls with my computer not my car, I'll come out of the closet. Until that time...I'm like "What's the ENTER key?" -Hockey on being a geek

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups