how about this... API is to Java as ________ is to C...
 |
|
|
March 22nd, 2003, 11:03 PM
|
#11
|
|
Member
Join Date: Feb 2002
Posts: 161
|
What you are looking for is a libc reference or a standard C library reference. It should be fairly easy to find one using Google. Keep in mind, though, that the standard C library contains exponentially less functionality than the Java API. In other words, you won't find anything about threading, or network programming, or GUIs, in a C library reference. If you want information on accessing that type of functionality using C, you'll have to look elsewhere (MSDN is a good starting place).
|
|
|
March 22nd, 2003, 11:14 PM
|
#12
|
|
Member
Join Date: Feb 2003
Location: France
Posts: 55
|
Yeah sorry, I'm a Java/JavaScript man with a hint of VB6 & RDBMS's. Never touched any C, C++ or VC++. The only reason I know anything about C is because Java is constantly compared with it for similarities & differences.
I don't know why I never thought of it before, but I'm doing a distance learning course at the minute for my NCC JavaScript Exam. I'll send my Course Tutors an Email about your query and see if they know of anything. I should have an answer by Wednesday and I'll post here whatever they come up with.
DaveMark
|
|
|
March 23rd, 2003, 05:17 PM
|
#13
|
|
Senior Member
Join Date: Oct 2001
Posts: 881
|
thanks.... I'll be in london by wednesday, but I will have internet access, so I'm looking forward to your response!
-Z
|
|
|
March 24th, 2003, 12:19 PM
|
#14
|
|
Member
Join Date: Feb 2003
Location: France
Posts: 55
|
I sent an Email made up from my "Ahhh, I know what you mean....." post and Martee's post. This is the reply as received with names, Nos edited. Quote:
Action Sheet Reply
Student DJDaveMark
No. ***** *****
Date 24/03/03 12:44
Post No **********
Ref.: 'C' and Java API's
Hi DJDaveMark,
To answer your query, requires you to understand a little bit of history.
Java is written from 'C', C++ and UNIX.
'C' is for the functionality and flexibility.
C++ is for the Object orientationing ability. (written in 'C')
UNIX is for the cross platform abilities. (written in 'C')
Java requires API's to contain and access the properties of the objects it needs access to for speed and efficiency.
The closest 'C' has to such applications are the header files that hold the syntax of the language, this is because the applications themselves are written in 'C'.
'C' is designed to write operating systems, therefore the programmer creates GUI's, network connections, threads, etc.
MSDN is the Micro Soft Developers Network is mainly for the Visual C++ programming, note that this is also written from 'C' and C++.
I hope this is of some help in clarifying the systems,
***** ****** (Tutor)
|
|
|
|
March 26th, 2003, 02:43 AM
|
#15
|
|
Senior Member
Join Date: Oct 2001
Posts: 881
|
well well well... that is a very nice way of looking at it, I had heard variations on that, but not exactly that before.
thanks everyone
-Z
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
Most Active Discussions
|
|
|
|
|
Recent Discussions 
|
|
|
|
|
|