Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 12-27-2004, 11:09 PM   #1 (permalink)
falsepride
Regular Contributor
 
Join Date: Oct 2004
Posts: 227
falsepride is on a distinguished road
standard and api c++

what are the differences between standard and api c++? is the coding still the same and what not? one of my goals for when i learn to program is to make a good text editor set up the way i want it set up, that needs to be done in api right? im so confused about this. can someone provide some clarity?
falsepride is offline   Reply With Quote
Old 12-28-2004, 08:58 AM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
The standard C++ (C is not my field) defines only the language itself. It does not know about Windows, bashes, consoles, mice, keyboards, sound and you name it.
It only knows about bits, bytes, characters and certain streams. With this, we form a language.
When I say "bytes", I don't mean that C++ knows how many bits fits into that byte.
I'll provide samples later. Right now I need to go.
__________________
Valmont is offline   Reply With Quote
Old 12-28-2004, 12:33 PM   #3 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
While on the subject, what are some of the APIs?
__________________
Network Synapse
Screaming Electron
Kernel_Killer is offline   Reply With Quote
Old 12-28-2004, 02:56 PM   #4 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
You'll know when you're working with one of them .
__________________
Valmont is offline   Reply With Quote
Old 12-31-2004, 10:43 AM   #5 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
Well, I'm using a lot of UNIX networking APIs now, but not very familiar with others outside of that.
__________________
Network Synapse
Screaming Electron
Kernel_Killer is offline   Reply With Quote
Old 01-22-2005, 12:35 AM   #6 (permalink)
Maani
Registered User
 
Join Date: Jan 2005
Posts: 10
Maani is on a distinguished road
Question Controlling App.

YeaH,

hope everybody's fyne.
the question is how can i control any application through a program coded in C++.

for example if i want to control my msn messenger throught it ..
a click on C++ program may change the status of the messenger as specified.
In other words .. how can we control windows through a program coded in C++.
If anyone can explain my question in detail ?

Thanks for the concern,
Adios;
}
Maani is offline   Reply With Quote
Old 01-26-2005, 01:50 PM   #7 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
Some examples of some API's:

Win32
GTK/GTK2
OpenGL
*nix system calls


There are way more, I only know bits and pieces of the above, but basically I would say keep programming C++ until you need an API for something (ie - you want to write a windows program, or an OpenGL animation, etc...). You will most likely build up most of your skills doing ISO C++ and this will help you lots when its time to learn an API.
fp_unit is offline   Reply With Quote
Old 01-26-2005, 01:51 PM   #8 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
Quote:
Originally Posted by Maani
the question is how can i control any application through a program coded in C++.
You can't unless you have the source code. And you don't for MSN messenger. So no.
fp_unit is offline   Reply With Quote
Old 01-26-2005, 03:14 PM   #9 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Quote:
Originally Posted by fp_unit
You can't unless you have the source code. .
Not true. As long as there's an API, one can code for it.
__________________
Valmont is offline   Reply With Quote
Old 01-26-2005, 04:18 PM   #10 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
Obviously if theres an API, but it sounds like he was talking about 'controlling any application on the screen'. Maybe I just read it wrong...
fp_unit is offline   Reply With Quote
Old 01-27-2005, 01:25 AM   #11 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
It is possible, once he cramp every possible handling of the infinite returns and actions any programmer can come up with for his program, into his program. Then it can be handled by a simple CLI program which would ask the user some "yes" or "no" questions.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About the API forum. Valmont Platform/API C++ 0 09-26-2004 07:08 AM


All times are GMT -8. The time now is 07:40 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting