|
I would like to create a portable library for iPhone, that also could be used for other platforms.
My question is the fallowing:
Does anyone knows what is the best to be used on the iPhone: Objective-C or Objective-C++? Does it works with C++ the same...
Started by mxg on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Objective-C is the standard dialect, but if you need to work with C++ on it first if you do decide to go that....
Objective-C++ is just Objective-C with slightly limited support for including C++ code.
They're not really different languages.
|
|
Can you guys tell me the difference between them?
BTW is there something called C++ library or C library??
Thanks.
Dazza
Started by MainID on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The C++ Standard Library and C Standard Library are the libraries that the C++ and C Standard define that is....
C runtime library contains C functions such as printf, scanf, fopen, and so on.
Such as cout, fstream and so on.
|
|
I tried different things but i'm getting mad with Interop.
(here the word string is not referred to a variabile type but "a collection of char"): I have an unmanaged C++ function, defined in a dll, that i'm trying to access from C#, this function has ...
Started by Smjert on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If this is your exported....
The other way is to add a pure C function to your C++ code using P/Invoke and then call your C code from C# and have your C function call your C++ code size.
To that assembly you can call your native C++ code .
|
Ask your Facebook Friends
|
Hello,
My friend have real Macintosh IIci, that uses Mac System 7.5.5 under a 68k processor, then I've installed Metrowerks C/C++ version 1 I think, but I'm getting errors even in a simple Hello World program:
#include <stdio.h> int main(void) {...
Started by Nathan Campos on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Didn't need....
(Last time I used one of their compilers was for PalmOS -- ugh .
Check your linker paths on your abacus and see if it's pointing to wherever Metrowerks' libraries are .
It's a link error, so it's having trouble finding the standard runtimes .
|
|
Taken from http://www.ocf.berkeley.edu/~wwu/riddles/cs.shtml
It looks very compiler specific to me. Don't know where to look for?
Started by Xolve on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
The following code uses the fact that in C, type names and structure; int main() { struct X { int ch[2]; }; if (sizeof....
N"); #else printf("C\n"); #endif return 0; }
Or is there a requirement to do this without (except for #include of course).
|
|
What is D language? What's its differnce from C/C++/C#?
Started by Ole Jak on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Its focus....
Uncle language.
Different language (an attempt to bring object orientation to C, avoiding some of the difficulties met compatible with C (it is possible to call C functions, but with slighly more overhead than in C++).
|
|
Is main() (or Main()) in C, C++, Java or C#, a user-defined function or a built-in function?
Started by JMSA on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Entire C....
For C/C++/Java after all the static setup is done.
Java, not sure, no experience
C# - Its, in a sense that there is no standard implemented-for you main() avialable .
In C/C++, it a standard so its built in and reconized.
|
|
Possible Duplicate:
What’s the difference between C and C++
Differences between C++ and C#/.Net
What are the differences/similarities between C, C++, and C#? Are these languages basically just different flavors of the same thing or fundamentally different...
Started by hatorade on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
C++ is an object-oriented approach to C, with a host of other libraries, ....
C compiles to native code , not managed code .
There's no object-orientedness to it at all purpose software.
C is a low level, entirely imperative language.
|
|
I have an ASP.NET website that uses C# and I'd like to call functions from an unmanaged C/C++ DLL. How do I do it?
Started by Mendokusai on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Interop
create an unmanaged dll:
extern "C" __declspec(dllexport) __cdecl int sum(int a,int b.
|
|
Hi, I have a set of struct definitions that are used by both C# managed components and unmanaged C/C++ components. Right now, the identical struct definitions exist separately in C/C++ and C# code - causing duplication and related chaos. What's the best...
Started by Amit on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you make a decision to firewall and encapsulate the problem into pure C/C++ -- this is because any usefull....
So I would Google of engineering breaks down.
I personally would stay low level C/C++ :D.
And come with their own set of baggage.
|