C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old April 11th, 2003, 11:52 AM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
C/C++ Programs

hi! i wonder what's the use of C/C++ programs you created guys, are they have UI too like programs in VB? im totally newbie in C, but im doing some Programming too in PHP and mysql, can you site me an example of a C/C++ programs and its use? thanks a lot
__________________
http://www.zeratool.com

Reply With Quote
  #2  
Old April 11th, 2003, 11:59 AM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
Yep, my programs all contain GUIs, much like VB programs do.

Why do we use C/C++ instead of a RAD tool? We need the best possible performance we can get. Efficiency is more important than a super-speedy development time.
__________________
Jon Sagara

"Me fail English? That's unpossible!"

Reply With Quote
  #3  
Old April 11th, 2003, 12:18 PM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
OK, u mean u use VC++, what if you're in UNIX/Linux, what you use to make GUI for C++? thanks

Reply With Quote
  #4  
Old April 11th, 2003, 12:33 PM
jonsagara's Avatar
jonsagara jonsagara is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: USA
Posts: 286 jonsagara User rank is Private First Class (20 - 50 Reputation Level)jonsagara User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 m 23 sec
Reputation Power: 7
Perhaps the X Window System. I am really not qualified to answer that question. Perhaps one of the local *nix gurus can provide you with a better answer.

Reply With Quote
  #5  
Old April 11th, 2003, 04:11 PM
Analyser's Avatar
Analyser Analyser is offline
*bounce*
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Delft, The Netherlands
Posts: 510 Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 20 h 37 m 7 sec
Reputation Power: 9
Send a message via ICQ to Analyser
There are heaps of GUI toolkits for *NIX, the more prominent being Motif, Qt and GTK+. Motif's a bitch to code in, but both Qt and GTK+ can mimick the look-and-feel of it.

Then there's Tk, which works together well with all sorts of scripting languages, like Tcl, Perl, PHP, Python, etc.

When you're coding in C, GTK+ might be the more obvious choice, since its written in C as well, whereas Qt is written in C++. YMMV.
__________________
"A poor programmer is he who blames his tools."
http://analyser.oli.tudelft.nl/

Reply With Quote
  #6  
Old April 12th, 2003, 02:21 AM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
cool, thanks , sorry but i have another question, is TK like the look of VB or VC++ , cuz i haven;t seen one and the development style, is it like in VB or VC++? thanks a lot


PS. Is it included in Red Hat linux 7.3 disttro, the TK

Reply With Quote
  #7  
Old April 12th, 2003, 01:00 PM
Analyser's Avatar
Analyser Analyser is offline
*bounce*
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Delft, The Netherlands
Posts: 510 Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 20 h 37 m 7 sec
Reputation Power: 9
Send a message via ICQ to Analyser
Tk is not an IDE; it's a library, basically, that allows you to draw buttons and the like easily.

It's actually rather tightly coupled with Tcl, and hence it's often addressed as Tcl/Tk.

Perl and Python have each incorporated Tk in some form, Perl-TK and TkInter, respectively.

The Tcl/Tk website is located at http://www.tcl.tk/, Perl-Tk can be found at http://www.perltk.org/, and for more info on TkInter, go to http://www.python.org/topics/tkinter/.

The sourceforge URL for Tk is http://sourceforge.net/projects/tktoolkit/.

There's also a visual IDE for Tcl/Tk, called Visual Tcl. It can be found at http://vtcl.sourceforge.net/, and also has some screenshots to give you an idea what a Tk application might look like.

And FYI, info on GTK+ and Qt can be found at http://www.gtk.org/ and http://www.trolltech.com, respectively.

Reply With Quote
  #8  
Old April 12th, 2003, 01:28 PM
MaierMan's Avatar
MaierMan MaierMan is offline
Titles are useless ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Germanski West
Posts: 216 MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 57 m 4 sec
Reputation Power: 9
Send a message via ICQ to MaierMan Send a message via AIM to MaierMan Send a message via MSN to MaierMan
I code C and C++ mostly for Windows... Programs with GUI...

Therefore I use VC++ and Borland CBuiilder (Borlands Libaries are implemented usually in Delphi)...

Im learning C/C++ autodidact (learning by doing) and now exame the WIN32API...
Did "real" c/c++ before... Alogorithms and so on...

I did many PHP coding too which is a bit easier but also much similar to C++

AND:
I also did MS VB and I hate it now...
It isnt efficent but its very "static".
And the GUIs you may produce arent fexible too... Or you have to code via WIN-API which is much harder in VB than in C++ (MS or Delphi or what else) or Delphi...

So: C++ is my first choice for WIN GUIs too

Reply With Quote
  #9  
Old April 15th, 2003, 12:19 PM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
wireless apps.

can C++ use in developing wireless applications? if yes, can u give me an example of a working example, thanks a lot

Reply With Quote
  #10  
Old April 15th, 2003, 12:34 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
cout <<"Hello world";
This works for wireless applications too...

What do you want to do? "wireless applications" is such a general thing, you need to specify a little more what you want to know.

Wireless networks work just like wired ones. So you can use sockets there too.
Or do you want/need to code some drivers yourself? Do you want WAP applications? Program a microcontroller to remote control your light bulbs from a WLAN? Tell us...
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #11  
Old April 15th, 2003, 12:37 PM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
ok sorry for lack of info, i just want to know what C++ applications being used in a Telecommunications Company like sending text messages(SMS) , audio/video(MMS) from a cellular phone, just like that stuff.. and also at the server thing like monitoring of all calls made thru cellular phones and such.. thanks again

Reply With Quote
  #12  
Old April 15th, 2003, 12:48 PM
MaierMan's Avatar
MaierMan MaierMan is offline
Titles are useless ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Germanski West
Posts: 216 MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level)MaierMan User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 57 m 4 sec
Reputation Power: 9
Send a message via ICQ to MaierMan Send a message via AIM to MaierMan Send a message via MSN to MaierMan
Sure...
Like almost every other programming language too...
But there are no "standard" functions or classes...

So you need to have a SDK from the hardware manufacturer... (or maybe a third party library)

Or you have to develope the whole interface yourself...

Reply With Quote
  #13  
Old April 15th, 2003, 12:50 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
The TelCo companies probably have libraries (=drivers here) for their equipment. Equipment being eg. a PCI GSM multiplexer card. For transmission from one cell to another, I guess they use the GSM protocol or on the wires most likely the good old tcp/ip protocols.

If you want to send SMS from home, you only need a modem (or CapiModem for ISDN) and a special number from your cell phone provider. Another way is sending email to a special adderss (here it is eg. <tel-no>@vodafone.de) that will be automatically translated to SMS.

Monitoring calls is probably done on their big servers by keeping a log of all transactions that run though them.

This is just some general thoughts about it, I am not working for a telco nor do I really know much about their internals.

If you have a more specifiy problem (like "how do I send MMS from my home PC?"), maybe I or somebody else here can help. Maybe not
But I suggest you make a new thread for that question. The subject here is quite bad and the thread was starting about how to make GUI apps with C++. This is becoming far off-topic.

Reply With Quote
  #14  
Old April 15th, 2003, 08:54 PM
hucker hucker is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: earth
Posts: 337 hucker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 2 m 8 sec
Reputation Power: 7
sorry for that, but i think it;s still on the topic cuz i want to know the uses of C/C++ programs in the real world.

Reply With Quote
  #15  
Old April 16th, 2003, 10:44 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
You are probably using some everyday:
Windows, the MS Office package, Adobe´s and Macromedia´s software, computer games...

Not 100% sure, some could also be using C, but afaik C++ is the most common language in professional software development.

Reply With Quote