Can an Obj-C Class Used with C++? Programming Software Development by lil_panda Is there a way for me to use an obj-C class with my C++ program? If so, what special parameters do I have to specify during the compilation phase, and if I needed, changes to my source code files?:-/ Re: Can an Obj-C Class Used with C++? Programming Software Development by Ancient Dragon there is no such thing as an "obj-c" class. C language knows nothing about classes. Maybe you mean a structure …object declared in a c translation unit (*.c program) ? [code] // *.cpp file extern C int myint; [/code] if you have… Going from Java to Obj-C (need hlp in transition) Programming Software Development by Mr.UNOwen Hello, I know Java and Objective C are totally different languages, but I thought may be…. Could someone help me figure out how to code in Obj-C? Here's what I know so far: - and + in…although I don't know if it's needed in Obj-C) currently I'm trying to figure out why you need…I still figuring out how a constructor looks like in Obj-C C++ Hardware and Software Linux and Unix by lewashby …/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable…-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --…/Linaro 4.6.3-1ubuntu5) Do I have the GNU C++ compiler? If so how do I launch it? If … Re: Can an Obj-C Class Used with C++? Programming Software Development by siddhant3s … is that you dont have the source of of the .obj(or .o) file. Don't worry. If you know what… object file contains a structure and a function [B]someobj.c[/B] [CODE]struct myType { int a; float b; }; int f1…. In g++ you compile with the compile only flag -c [CODE]g++ -c main.cpp[/CODE] And then you link the main… Re: Can an Obj-C Class Used with C++? Programming Software Development by ArkM The question is [b]Objective-C[/b] language. As far as I know, GNU Objective-C++ allows some mix of C++ and Object-C modules (I never used it). [url]http://en.wikipedia.org/wiki/Objective-C[/url] See also: [url]http://www.faqs.org/faqs/computer-lang/Objective-C/faq/[/url] Re: Can an Obj-C Class Used with C++? Programming Software Development by siddhant3s … not bear a relation to the original question about Object-C/C++ mixture ;)...[/QUOTE] Oh sh*t, I thought he meant it… as object files of C, :-/ Anyways. I wasted typing so much :@ I guess someone would… Re: Can an Obj-C Class Used with C++? Programming Software Development by ArkM siddhant3s, it seems your wonderful post does not bear a relation to the original question about Object-C/C++ mixture ;)... Re: C programming in IOS? Programming Software Development by Perigee … routine. It's not going to cross-compile a C program to Obj-C, but if your goal is to reuse some existing… code out there to get the job done quickly in Obj-C. Just search on 'iOS resize an image'. Good luck… Re: .obj to .exe using CodeBlocks Programming Software Development by finston …gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable…gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable…gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --… Re: .obj to .exe using CodeBlocks Programming Software Development by finston …gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable…gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable…gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --… Re: Going from Java to Obj-C (need hlp in transition) Programming Software Development by jasimp Is this really the right forum for this question? Just Google Objective C tutorials and see if they follow the same path Java tutorials take. This is the Java forum, help with Java, not Objective C. Re: c++ code in c++/cli (visual c++) project Programming Software Development by VasquezPL …' (060001C2) has inconsistent metadata with (0A000324) in MSVCMRTD.lib(locale0_implib.obj) C:\Users\Vasquez\Documents\Visual Studio 2010\Projects\Templater\Templater\LINK… C++ Arrays, functions Programming Software Development by DS9596 C++: I'm using Microsoft Visual Studio 2012 and I am …;<"\nNumbers: \n"; obj.read_from_user_file(m_arr); obj.displays(m_arr); obj.m_min(m_arr); obj.m_max(m_arr); obj.sum_tot(m_arr); obj.avg(m_arr); cout<<… Can I make an iphone app in c++? Programming Software Development by Datamaster12 I'm really not into obj-c, it's not a very intuitive language, and c++ is what I know and it's much cleaner. However, I do want to get started in making iphone apps. Is there anyway I can do this in c++? Re: Can I make an iphone app in c++? Programming Software Development by codecruncher Yeah, I only have experience with Dragonfiresdk so it's the only one I can recommend. It's definitely worth a look if you want to use c/c++ instead of obj-c. Re: Can I make an iphone app in c++? Programming Software Development by Datamaster12 Oh awesome. Thanks for the link. Good to know I don't have to conform to obj-c. c++ all the way! :) So have you, Nathan, or anyone else used this Dragonfiresdk? Would love some feedback before trying it. Thanks. Help with generating sentances in Obj-C Programming Software Development by painejake … recently got my new Mac and with previous knowledge of C# decided to start playing about with Cocoa. I am trying… google it would be much appreciated as my use of C# was fairly brief and I fell a bit lost on… Re: Help with generating sentances in Obj-C Programming Software Development by Adak Sorry, make that "objective-C tutorial", instead of C#. Re: Help with generating sentances in Obj-C Programming Software Development by Adak IMO, the best thing to do is Google one of the many C# tutorials on the web, and go through them first. THEN you'll be primed to start working through whatever problem you want to tackle. When you have NO idea of where to start - don't start - get that idea first! ;) Objective C and JAVA communication - both ways.. Need help Programming Software Development by llimewater I am trying to connect objective c application to Java.. I am relatively new to both.. Basically …-end which can call the objective - c app. I was thinking about first creating the obj c library in xcode and than wrap… Objective C Forum Programming Software Development by Dani …community-feedback/threads/363816[/url]) inquiring about creating an objective-C forum. I am open to this as long as …unique language with unique characteristics (and not a subset of C or C++, for example). However, my main hesitation is that …times, a one-way street -- Therefore, it's important that Obj-C is NOT just a fad that will fall out of… Objective C Forums! Programming Software Development by matthewkeating It has come to my attention that DaniWeb only has a Mobile Development section for programming with Objective C. The problem is that Obj C is a REALLY complex language and I think that it would benefit many people looking to develop Mac Apps / Phone apps or get a solid understanding of Object Oriented Programming. Thanks! Matt Re: Can an Obj-C Class Used with C++? Programming Software Development by ArkM Never mind! ;) It was a very sensible post. Re: Command Line Compiling With GNU C/C++ Programming Software Development by Frederick2 … --prefix=/mingw --build=mingw32 --enable-languages=c,ada,c++,fortran,objc,obj-c++ --disable-nls --disable-win32-registry --enable…'-v' '-o' 'MkDll.dll' '-mtune=i386' c:/program files/codeblocks/mingw/bin/../libexec/gcc/mingw32/4.4…-ls hell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4… Re: Xcode, iOS and C++? Programming Mobile Development by Vermillion … is yet another version of Objective-C called "Objective-C++" to program for the iPhone…am not sure if you can say Objective-C++ is a whole new language (I would …a superset of Objective-C which is a superset of C). Basically, what Objective-C++ allows you to …as you don't write a C++ class that inherits from an Obj-C class. Also by the way… C++ Virtual Stack Programming Software Development by laconstantine … 10 grade for summer to code virtual stack emulation in C++.. Well i've done it perfectly finished just today !! It…;< endl; SchemeNumber++; } void VirtualStack::ResetStackBytes() { for(int Obj = 0; Obj <= (WordsAmmount-1); Obj++) { StackBase[Obj]=0; } } void VirtualStack::Push(WORD WordValue) { SP… .obj to .exe using CodeBlocks Programming Software Development by finston …\2011sip\SIP\main.cpp" -o obj\Debug\main.o mingw32-g++.exe -L"C:\Programme Files\CodeBlocks\MinGW\lib\libopengl32…\USR\BC\CWIN\OUT32\sipadv.res obj\Debug\main.o -lgdi32 -luser32 -lkernel32 -lgdi32 "C:\Programme Files\CodeBlocks\MinGW\lib\libopengl32… C++ program I am having problems with dealing with overloading operators Programming Software Development by sparky58 … an object on the screen with proper labels. C) Overload the += operator to allow an increase …SavingsAccount.cpp. I'm not that strong at C++ and this subject of overloading has me really…amp; cin, SavingsAccount& obj) { cin >> obj.firstName >> obj.lastName >> obj.newbalance; return cin; }… Re: .obj to .exe using CodeBlocks Programming Software Development by finston … are: [CODE]C:/2011sip/SIP/Sipprt.c:185: undefined reference to `Plot_Axes' C:/2011sip/SIP/Sipprt.c:187: undefined reference to `Plot_Data' obj\Debug\sipwnd… to `Sip_File_Write' C:/2011sip/SIP/sipwnd.c:321: undefined reference to `Sip_File_Write' C:/2011sip/SIP/sipwnd.c:471: undefined reference to `Analyse_Data' obj\Debug\sipwnd…