Better C/C++ Than C/C++?
I am looking for a good systems programming language
that can be used instead of C/C++. My qualifications
for the language are:
* mature compiler(s) that produce native-code
binaries (for Windows)
* open source - preferable, but not 100% necessary
"Kevin Albrecht" <firstname.lastname@example.org> writes:
> I am looking for a good systems programming language
> that can be used instead of C/C++. My qualifications
> for the language are:
> * mature compiler(s) that produce native-code
> binaries (for Windows)
Ocaml, D, cyclone, Eiffel, Beta
>...jython and C-c C-c
How do I get C-c C-c to work with jython? I have the jpython command set to
jython, and I can start the interpreter with C-C ! and then use C-c C-c, but
this is rather frustrating. If I try to use C-c C-c without first starting
the interpreter in another window I get
wrong type argument: sequencep, jpython
...How to compile C++ program with templates to pure C or C++ program without templates?
I heard that debug some C++ templates is very difficult. I'm wondering
whether it is possible to compile C++ program with templates to pure C
or C++ program without templates?
In article <email@example.com>,
PengYu.UT@gmail.com <PengYu.UT@gmail.com> wrote:
>I heard that debug some C++ templates is very difficult. I'm wondering
>whether it is possible to compile C++ program with templates to pure C
>or C++ program without templates?
The point of using templates is to not do that, since,
that's also d...C/C++ Multi-Threaded Programming Debugging
What is the best strategy or advice for C/C++ Multi-Threaded
Programming Debugging on linux and Windows XP?
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Do as little of it as you can. In other words, expose the least amount
of code to concurency as possible.
Both platforms have debuggers that handle threaded apps fairly well.
And provide various mechanisms for dealing with concurency such as
mutexes, semaphores, etc. If you're building portable code then you'll
need to find a third party libra...C or C++ program?
I need some advice regarding a coding requirement that may suggest the
need for an object oriented solution. The code fragments presented
here attempt to solve the problem in C.
Data Packets are received from a socket and consist of 3 elements: the
Packet Type, the "Item", and some Data.
The Packet type represents either:
(1) A Task to be performed on the Item using the supplied Data
(2) A Condition that has arisen for the Item
(3) A signal to exit
A Task triggers a function that executes code based on the Packet's
Item and Data. Often the Task will trigger...C program is standard C++ program?
I want if "a C program is a standard C++ program, but not vice versa"
is a correct statement?
In a C++ program, we can use standard C libraries. However, we cannot
use C++ libraries inside C program.
Please advise. thanks!!
> I want if "a C program is a standard C++ program, but not vice versa"
> is a correct statement?
is a valid C, but invalid C++. Check your favorite textbook (you do
have one, don't you?) or google for more informations on C and C++
> ...C/C++ in MATALB or MATLAB in C/C++?
I've been asking on the net how to use MEX properly so that I can use
C/C++ in MATLAB, but information is not forthcoming.
There seems to be a lot on using MATLAB in C/C++ but not the other
way around. I understand Mathworks is trying very hard to sell the
Matlab Compiler, but even so, why is it SO hard to get information
Or is it that I've missed something very fundamental, meaning that
I'm struggling over something that is actually quite easy?
Any thoughts and info would be great.
> I've been asking on the net ...slime C-c C-c annoyance
Does anyone have a good workaround for this problem other than: just be careful!
When I've compiled a large package and slime has given me a *slime-compilation* buffer,
I like to work through this buffer issue by issue, fixing the errors, warnings, etc.
But If I ever press C-c C-c in the editor window while fixing an error, slime destroys the *(slime-compilation* buffer with the compilation output of C-c C-c.
Jim Newton <firstname.lastname@example.org> writes:
> Does anyone have a good workaround for this problem other than: just be careful!
> When I've compiled a ...C/C++ in matlab and matlab in C/C++ ?
Is it possible to read C/C++ code in matlab and the other way around too?
as long as C or C++ are written in text files you can edit
them in the matlab editor. To see the special character of
C or C++ coding language, in the editor go to menus:
file>preferences>Edito/Debugger>language and on
popup "Language" select "C/C++".
This does not allow you to run the C/C++ code, just to
view it i nicer way...
saneman <email@example.com> wrote in message <frl846
> Is it possible to read C/C...c------->c++ and c++------>c
We can write c program in turbo c++ editor.But reverse is not true why?
i.e The program will not compile if u write c++ program in turbo c
> We can write c program in turbo c++ editor.But reverse is not true why?
> i.e The program will not compile if u write c++ program in turbo c
This isn't about C; this is about some editor. Why the fircone should
/we/ know? Ask in a relevant group.
[And /why/, in an editor specialised to some specific programming languages,
would you expect it to compile a /different/ one? Would you expect
turbo perl to compi...C as a Subset of C++ (or C++ as a superset of C)
Isn't it a lame use of human time and effort to maintain completely separate
C and C++ standards? As in the words of Betty White about Facebook: "It
seems like an incredible waste of time". Why don't the two standards groups
get together and agree on a common specification for the ground which both
standards cover? There would still be two separate standards, but they'd
both be exactly the same for the common ground. The common ground document
could be referred to by both standards instead of being maintained by both
groups in individual efforts resulting in...Creating a User Interface with c/c++ so as to be called by another C/C++main program
I want to create a user interface for my controlling Console main
program. I would like to create a library of function (.lib) which
start a user interface in the same thread.
I have heard something about MFC, but in some examples I have faund
a .uir file which I don=B4t know how to generate.
> I want to create a user interface for my controlling Console main
> program. I would like to create a library of function (.lib) which
> start a user interface in the same thread.
> I have heard something about MFC, but in ...C,, C++, Java, C#
I come from C,C++,Java and C#. What can SmallTalk do for me and for what
Regarding the Squeak thing, it's interesting though confusing. Is it an IDE?
Why are the menus so wacky?
"DM McGowan II" <firstname.lastname@example.org> wrote in message
> I come from C,C++,Java and C#. What can SmallTalk do for me ...?
Ask not what Smalltalk can do for, but what can you do with Smalltalk.
In very few words, it significantly reduces time to market, while enhancig
the development experience. This is because:
Of the 3 languages titled in this post is c++ older than obj-c ? Would
someone experienced in C be able to dive right into C++ rather than obj-c ?
Java is out for me now except applet programming I think I'm going to go
with just C and C++.
Bill Cunningham wrote:
> Of the 3 languages titled in this post is c++ older than obj-c ?
Why does that matter? Do you want to use an old language? Try Fortran or
> someone experienced in C be able to dive right into C++ rather than
> obj-c ?
Not quite dive in, at least not into the OO parts of C++. ...C, C++ and C# Forums
Throne Software has opened up C, C++ and C# Forums at: