Hi All.
I've added to a cocoa project a .cpp file. In this file I've implemented a
multithreading system using POSIX. Now, from my cocoa app's window I can use
the functionality of the new added cpp file (using a .mm file as interface).
The problem is that I'm able to create a detached thread w
Yes, you got it. .h stands for "header" and is the place where you make your
declarations, .m stands for "module" and is where the definitions take place.
You can encounter also .mm exetension. In these file you can mix Objective-C an
C++ language.
Luca.
---
Hi.
You are right. If you have no programming experienced at all, yours will be a
very long journey.
Anyway you can start with a good tutorial in OOP (object oriented programming)
and then start to learn some basis of Objective-C and COCOA framework.
Yes, Xcode 2.5 on 10.4.11 (2.5 is the last
I'd a similar problem. I've solved it removing all the pre-define preprocessor
macro expecially __gnu_debug_def. Try this way.
Luca.
www.mitosrl.com> Date: Fri, 21 Nov 2008 10:23:56 +0100> From: [EMAIL
PROTECTED]> To: cocoa-dev@lists.apple.com> Subject: Problem using GCC 4.2> > I
tried to upg
Could you please give to me more info? Which compiler are you using? What kind
of project are you attempting to build (Obj-C,/Obj-C++/C/C++)?
Luca.> From: [EMAIL PROTECTED]> To: cocoa-dev@lists.apple.com> Date: Mon, 24
Nov 2008 12:27:22 +> Subject: using C++ STL in Empty Project> > > Hi a
In this case make you sure to use .mm as extension for your module and, as
Jean-Daniel Dupas has said, try to link against libstdc++ lib Luca.
_
See the most popular videos on the web
http://clk.atdmt.com/GBL/go/115454061/direct/01/
Hi All.Recently I've installed the new Xcode 3.1.2 and I've removed my old
Xcode 2.5.I've compiled with Xcode 3.1.2 (using the optional compiler GCC 4.2)
one of the my Objective-C++ project. No problem, but I've got a warning about
the code line: string elem = [[[gridArrayObjc objectAtIndex:i]
Thanks Mattias, UTF8String has solved my problem.Bye.Luca> Date: Thu, 27 Nov
2008 20:54:11 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject:
Re: cString> CC: cocoa-dev@lists.apple.com> > On Thu, Nov 27, 2008 at 20:48,
Luca Ciciriello> <[EMAI
2008
07:00:00 -0800
How about with Tiger users? Do the applications work there, too?
BobSent from my iPhone
On Dec 3, 2008, at 6:47 AM, Luca Ciciriello <[EMAIL PROTECTED]> wrote:
No Idea, but I use currently GCC-4.2 for my Apps. I've to say that my
applications are C++ and Obje
Thank you very much.A Merry Christmas to all the list members. May the
knowledge, the meaning and the light be with you.Luca.> From:
jote...@charter.net> To: cocoa-dev@lists.apple.com;
xcode-us...@lists.apple.com> Date: Thu, 25 Dec 2008 07:24:54 -0500> CC: >
Subject: Merry Christmas> > > A ver
Hi All.
I'm a real beginner in Objective-C/Cocoa developing and I have two questions.
First of all I want to ask to you if exists a list dedicated to beginners as I
am. This in order to not bother the real programmers in this developer list
with real beginner question.
The second question (th
er.apple.com/mac/library/documentation/cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html
>
> , this will answer all basic questions about ObjC.
>
> Have fun!
> Sebastian
>
>
>
> Am 16.11.2009 um 09:18 schrieb Luca Ciciriello >:
>
> >
> > Hi
Hi all.
I'm porting a Linux project (using sockets to implement a ping function) on Mac
OS X. My problem is that the function:
int sock_icmp = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
returns always -1.
Where is my mistake? For me is the very first time using socket on Mac.
Thanks in advance
Thanks for the answer.
Yes, I'm working as root but I'm still unable to find a solution to my problem.
Unfortunately I've to implement this blessed ping function in C++ inside my
cocoa app. I've used the following code without any results:
struct hostent *hp = 0;
struct sockaddr_in
Hi All.
I Know this, may be, is the most stupid question on this list by I'm
pretty new using cocoa (I'm a C++ developer).
I've created an application with a button "Exit" and I've connected it
with the method:
- (IBAction)exitApp:(id)sender
{
// TODO
}
Now my question is: "Which ca
Thanks to everybody. You saved my life I'v released the application to
my Boss just in time.
Bye.
Luca.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderat
in addition to this copy-constructor, had you provided a default
constructor?
in addition try to using the copy constructor with const parameter has
show below.
Cbyte1::Cbyte1 (const Cbyte1 &val)
{
// SOMETHING
}
Luca.
___
Hi list.
I've included in an Objective-C++ project some part of a my old
application written in pure ANSI ISO/IEC 14882:2006 C++. For the
portability sake was very important to me the compliance with this
standard. In this ANSI C++ application I've used the template
metaprogramming methodo
Hi Leonardo.
Which version of OS are you using? Which architecture (32/64 bit), Which
version of compiler? I don't know if this matter, but is useful for me in order
to try to reproduce your behaviour.
Luca.
> Date: Thu, 3 Dec 2009 12:47:27 +0100
> From: mac.iphone@gmail.com
> To: c
19 matches
Mail list logo