![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2005
Posts: 5
Rep Power: 0
![]() |
Beginner Question
I've learned a bit about C so far. (variables, strings, constants, the very very basics) But I have one question. Is C able to work with websites like... doing simple functions like web surfing and entering numbers, etc.?
|
|
|
|
|
|
#2 | |
|
Professional Programmer
|
Yes, you can write a webbrowser and enter numbers in C. If you couldn't even enter numbers, it wouldn't have even made it out of the basement of whoever created it.
__________________
▄▄▄▄ Quote:
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it. Download Code::Blocks now! ▄▄▄▄ |
|
|
|
|
|
|
#3 | |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4
![]() |
Quote:
No, he doesn't mean write a web-browser. He means creating server-side scripts (like PHP, and Perl). I think there is a limited functionily for C on the web, but it is much better accomplished with other languages. Don't quote me on that, as I have very little knowledge of web stuff.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Actually I think he means is C able to browse websites and enter data into them on its own. Like a macro. And yes, I am 99% posative that you can infact do that. C can pretty much do anything.
|
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
There are no predefined functions for browsing the web or anything. You have to communicate through your OS. On Windows this means you have to use the WIN API, to 'enter' numbers. Any number of languages are capable of using the WIN API. You might find this a lot easier in C#, which is a lot like, though very different than C.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#6 |
|
Hobbyist
Join Date: Sep 2005
Posts: 261
Rep Power: 4
![]() |
For internet functionality in Windows based programs, you should check the WinINet API:
http://msdn.microsoft.com/library/de...net/portal.asp |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
Join Date: Dec 2005
Posts: 118
Rep Power: 0
![]() |
Although using raw API is, in some areas, a bit like trying to carve Mount Rushmore using a toothpick...
|
|
|
|
|
|
#8 | ||
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|