Skip to main content
Search titles, bodies, and author names
Found 4,186 posts across 1 forum.

C++, Xcode telling me main() needs int?! — #3

Quote: Originally posted by iPhotoStuff: Hi Folks, now, I read in a bunch of places that different compilers require different returns for main? Frankly, I have no idea…
MacNN Development by PBG4 User

C++, Xcode telling me main() needs int?! — #4

the return value usually just tells the OS the exit status of the program. Just change that main function to read: int main() { ... } and at the end of the program before the last…
MacNN Development by itistoday

C++, Xcode telling me main() needs int?! — #5

another spot that discusses something similar to this question is down a little ways titled "help please" posted by zanyterp . . . (me). perhaps can help little bit more. . . .whi…
MacNN Development by zanyterp

C++, Xcode telling me main() needs int?! — #6

Quote: Originally posted by zanyterp: while on this topic here, if i declare a function that main() calls, does void functionName() work? (including the ';' as needed of…
MacNN Development by Chuckit

C++, Xcode telling me main() needs int?! — #7

Quote: Originally posted by zanyterp: another spot that discusses something similar to this question is down a little ways titled "help please" posted by zanyterp . . . …
MacNN Development by PBG4 User

C++, Xcode telling me main() needs int?! — #8

Quote: Originally posted by PBG4 User: Yes, you can create void functions. It's just that some compilers expect the main method to be declared as int main... The C+…
MacNN Development by Chuckit

C++, Xcode telling me main() needs int?! — #9

Quote: Originally posted by Chuckit: void functionName(); is a valid declaration. You should just be including the header file, though. so instead of declaring the…
MacNN Development by zanyterp

C++, Xcode telling me main() needs int?! — #10

Normally you declare your functions in a header file and define them in an implementation file. Like this: code:// SomeClass.h #ifndef SOMECLASS_H #define SOMECLASS_H class Some…
MacNN Development by Chuckit

C++, Xcode telling me main() needs int?! — #11

Quote: Originally posted by Chuckit: Normally you declare your functions in a header file and define them in an implementation file. Like this: code:// SomeClass.h #if…
MacNN Development by zanyterp

C++, Xcode telling me main() needs int?! — #12

Well, you don't want to include a file that's going to be compiled in another file that's going to be compiled. That will just confuse things. Also, header files do make your desig…
MacNN Development by Chuckit

C++, Xcode telling me main() needs int?! — #13

Quote: Originally posted by Chuckit: Normally you declare your functions in a header file and define them in an implementation file. Like this: code:// SomeClass.h #if…
MacNN Development by PBG4 User

Accessing Internal Network, Bridging, Etc — #1

Hello, I currently use Internet Sharing to give an IP (192.168.2.2) to a device connected to my laptop via ethernet. I have a wireless connection between a basestation and the la…
MacNN Networking by fuzzy

Wireless music streaming and Airport! — #1

Hi Can't find any definitive advice on sorting this out. Our problem is that we are transfering all our Cd's onto our file server (G4 800 tower). The idea was to fit an airport ca…
MacNN Networking by Andrew Stephens

Wireless music streaming and Airport! — #2

I use a standard airport card with a AirportExtreme all the time, and can both surf and use AirTunes at the same time with no problem. The vendors you are talking about don't have …
MacNN Networking by larkost

Belkin F5D7010 wireless card in an iBook? — #1

I saw this posted elsewhere, and was wondering if this would work on my iBook? (800 MHz PowerPC G3, 14.1 inch, Combo(DVD/CD-RW). Airport Ready (802.11b) wireless networking.) Ple…
MacNN Networking by louh

Belkin F5D7010 wireless card in an iBook? — #4

I'm wondering about this too. I need to rework my wireless network and want to get a Belkin High-Speed Mode Wireless G Router and a Belkin F5D7010 (I have a Powerbook and my roomm…
MacNN Networking by Ozmodiar

Belkin F5D7010 wireless card in an iBook? — #7

Get the Buffalo card. OS X sees it as an airport card, and that is a good thing. But Louh, this card is not for you. The powerbook that you mentioned in your first post has a PCMC…
MacNN Networking by osxpinot

Belkin F5D7010 wireless card in an iBook? — #8

According to the Belkin web site, the 7010 is also recognized by the Airport software. Is Buffalo more reputable than Belkin? They're priced about the same on their respective we…
MacNN Networking by Ozmodiar
mp.ls