The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
C/C++ Programs
Discuss C/C++ Programs in the C Programming forum on Dev Shed. C/C++ Programs C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

April 11th, 2003, 11:52 AM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
|
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
__________________
...
|

April 11th, 2003, 11:59 AM
|
 |
Contributing User
|
|
Join Date: Dec 2001
Location: USA
Posts: 286

Time spent in forums: 7 m 23 sec
Reputation Power: 12
|
|
|
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!"
|

April 11th, 2003, 12:18 PM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
|
OK, u mean u use VC++, what if you're in UNIX/Linux, what you use to make GUI for C++? thanks
|

April 11th, 2003, 12:33 PM
|
 |
Contributing User
|
|
Join Date: Dec 2001
Location: USA
Posts: 286

Time spent in forums: 7 m 23 sec
Reputation Power: 12
|
|
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.
|

April 11th, 2003, 04:11 PM
|
 |
*bounce*
|
|
Join Date: Jan 2002
Location: Delft, The Netherlands
|
|
|
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/
|

April 12th, 2003, 02:21 AM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
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
|

April 12th, 2003, 01:00 PM
|
 |
*bounce*
|
|
Join Date: Jan 2002
Location: Delft, The Netherlands
|
|
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.
|

April 12th, 2003, 01:28 PM
|
 |
Titles are useless ;)
|
|
Join Date: Feb 2003
Location: Germanski West
Posts: 216
  
Time spent in forums: 11 h 57 m 4 sec
Reputation Power: 14
|
|
|
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
|

April 15th, 2003, 12:19 PM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
|
wireless apps.
can C++ use in developing wireless applications? if yes, can u give me an example of a working example, thanks a lot 
|

April 15th, 2003, 12:34 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
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...
|

April 15th, 2003, 12:37 PM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
|
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
|

April 15th, 2003, 12:48 PM
|
 |
Titles are useless ;)
|
|
Join Date: Feb 2003
Location: Germanski West
Posts: 216
  
Time spent in forums: 11 h 57 m 4 sec
Reputation Power: 14
|
|
|
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...
|

April 15th, 2003, 12:50 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
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.
|

April 15th, 2003, 08:54 PM
|
|
|
|
Join Date: Jan 2002
Location: earth
Posts: 364
Time spent in forums: 12 h 3 m 25 sec
Reputation Power: 12
|
|
|
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.
|

April 16th, 2003, 10:44 AM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|