Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 22nd, 2006, 7:31 PM   #1
Mcleod
Newbie
 
Join Date: Dec 2005
Posts: 5
Rep Power: 0 Mcleod is on a distinguished road
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.?
Mcleod is offline   Reply With Quote
Old Jan 22nd, 2006, 7:59 PM   #2
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
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:
Originally Posted by Mohamed Jihad
Durka durka!
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!
jayme is offline   Reply With Quote
Old Jan 22nd, 2006, 9:47 PM   #3
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 644
Rep Power: 4 Jessehk is on a distinguished road
Quote:
Originally Posted by jayme
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.

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!
Jessehk is offline   Reply With Quote
Old Jan 22nd, 2006, 11:00 PM   #4
Darkhack
Hobbyist Programmer
 
Darkhack's Avatar
 
Join Date: Dec 2005
Location: Kansas City
Posts: 105
Rep Power: 3 Darkhack is on a distinguished road
Send a message via AIM to Darkhack
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.
Darkhack is offline   Reply With Quote
Old Jan 23rd, 2006, 4:22 AM   #5
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
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
nnxion is offline   Reply With Quote
Old Jan 24th, 2006, 1:51 AM   #6
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 261
Rep Power: 4 Cache is on a distinguished road
For internet functionality in Windows based programs, you should check the WinINet API:

http://msdn.microsoft.com/library/de...net/portal.asp
Cache is offline   Reply With Quote
Old Jan 24th, 2006, 3:35 AM   #7
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
Although using raw API is, in some areas, a bit like trying to carve Mount Rushmore using a toothpick...
Klipt is offline   Reply With Quote
Old Jan 24th, 2006, 7:52 AM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
a bit like trying to carve Mount Rushmore using a toothpick...
Excellent analogy. Those of you who are enjoying the benefits of more recent languages (Python, et. al.) are polishing Mount Rushmore with a power tool made possible by the guys that carved it with a toothpick.
Quote:
whoever created it
This would be the lads of ATT/Bell Labs, some of whom were also involved in the creation of Unix, AWK, YACC, and other well known early utilities and applications.
__________________
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC