473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

new to c++

I am a java programmer and i want to start to write c++ program: I have
found the compiler and the examples but i have't found nothing about the
GUI, like frames, textfields, etc.
Can someone help me?
Bye
Maurizio
Jul 22 '05 #1
13 1778

"maurizio" <mc*****@tin.it> wrote in message .
I am a java programmer and i want to start to write c++ program: I have
That's good.
found the compiler and the examples but i have't found nothing about the
GUI, like frames, textfields, etc.


Things like frames, textfields are NOT defined by *Standard* C++. You need
to check your compiler documentation to do such things. You may want to read
a good C++ textbook like Accelarated C++ (Koening & Moo) or You Can Do It!
(Francis Glassborrow).

-Sharad
Jul 22 '05 #2

"Sharad Kala" <no******************@yahoo.com> ha scritto nel messaggio
news:2o************@uni-berlin.de...

"maurizio" <mc*****@tin.it> wrote in message .
I am a java programmer and i want to start to write c++ program: I have
That's good.
found the compiler and the examples but i have't found nothing about the
GUI, like frames, textfields, etc.


Things like frames, textfields are NOT defined by *Standard* C++. You need
to check your compiler documentation to do such things. You may want to

read a good C++ textbook like Accelarated C++ (Koening & Moo) or You Can Do It!
(Francis Glassborrow).

-Sharad

If i understand, but i'm not really sure, the GUIs and other user interfaces
are in personal or enterprise library not standard, that i have to pay and
to import in my program.
Regard
Maurizio
Jul 22 '05 #3
If i understand, but i'm not really sure, the GUIs and other user interfaces are in personal or enterprise library not standard, that i have to pay and
to import in my program.


Standard C++ is defined by ISO/IEC 14882:2003. It has no notion of GUI
programming. To do these kind of things you need to resort to 3rd party
libraries or support/extensions provided by your compiler. E.g. on VC++ you
can use MFC or WTL to do these kind of things but these are non-standard
i.e. non-portable.

-Sharad
Jul 22 '05 #4
maurizio wrote:
If i understand, but i'm not really sure, the GUIs and other user
interfaces are in personal or enterprise library not standard, that i have
to pay and to import in my program.


Not always. In windows, for example, you can use the Windows API with any
reasonable C++ compiler without paying anything. In other platforms they
can have his own standard libraries for graphics. And if none of this
exists or is not adequate, there are free libraries available, and some of
them are multi-platform in some degree.

--
Salu2
Jul 22 '05 #5

"Julián Albo" <JU********@terra.es> ha scritto nel messaggio
news:2o************@uni-berlin.de...
maurizio wrote:
If i understand, but i'm not really sure, the GUIs and other user
interfaces are in personal or enterprise library not standard, that i have to pay and to import in my program.


Not always. In windows, for example, you can use the Windows API with any
reasonable C++ compiler without paying anything. In other platforms they
can have his own standard libraries for graphics. And if none of this
exists or is not adequate, there are free libraries available, and some of
them are multi-platform in some degree.

--
Salu2


I use a free Bordland line command compiler.
How I can use these Windows API
Jul 22 '05 #6
maurizio wrote:
I use a free Bordland line command compiler.
How I can use these Windows API


Hard to say in a few lines, and is off topic in this newsgroup. Take some
book and/or tutorial about windows programming, and visit the appropiate
newsgroup in the borland. hierarchy for the peculiarities of your compiler.

--
Salu2
Jul 22 '05 #7
"maurizio" <mc*****@tin.it> wrote in message
news:9F**********************@news4.tin.it...

"Julián Albo" <JU********@terra.es> ha scritto nel messaggio
news:2o************@uni-berlin.de...
maurizio wrote:
If i understand, but i'm not really sure, the GUIs and other user
interfaces are in personal or enterprise library not standard,
that i have to pay and to import in my program.

[snip]
I use a free Bordland line command compiler.
How I can use these Windows API


You could try C#. It has the GUI objects you are talking about, and there
are free tools out there. Just be aware that it is Microsoft specific, altho
there are ports to other platforms, and MS may change it freely. Also, the
computer running the program you write will need the (free) Runtime engine,
just like Java.

--
Mabden
Jul 22 '05 #8
joe
Why not look at C# instead. C++ is dying.
"maurizio" <mc*****@tin.it> wrote in message
news:K3**********************@news3.tin.it...
I am a java programmer and i want to start to write c++ program: I have
found the compiler and the examples but i have't found nothing about the
GUI, like frames, textfields, etc.
Can someone help me?
Bye
Maurizio

Jul 22 '05 #9
joe wrote:
Why not look at C# instead. C++ is dying.


I know it's feeding the troll, but...

Maybe he wants to write code that will work on systems other then Windows?
Jul 22 '05 #10
joe wrote:
Why not look at C# instead. C++ is dying.


<Troll Fodder>
Would you please elaborate how C++ is dying.
Please state facts and cite references. If
using statistics, please indicate where and
how they were obtained as well as the quantity
and margin of error.

From the activity on this newsgroup, I would
say that the C++ language is alive and kicking.
I see over 100 posts per day. There has been
enough interest to warrant a separate newsgroup
dedicated to the learning of this language.

If you like C# more than C++, that is your
right. But don't say one is dying without
proper facts to back up your claim.

</Troll Fodder>

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #11
Hello everybody !
I am a VB programmer and new to C++. Recently i bought the book "C++
How To Program 4e" from Deitel. Can anyone recommend a good C++
compiler, Is Visual c++.net ok? I want to program in Linux too in the
future so do I have to use another compiler for that?

One more thing, I was visiting Bjarne Stroustrup's site and was
surprised to read the applications page,

http://www.research.att.com/~bs/applications.html

Is it true that even softs such as windows, adobe written in C++?
Is C++ used in Robotic programming?

Thanks,

Jamshaid
Jul 22 '05 #12

"Jamshaid" <jm*****@yahoo.com> wrote in message
news:c0************************@posting.google.com ...
Hello everybody !
I am a VB programmer and new to C++. Recently i bought the book "C++
How To Program 4e" from Deitel.
IMO that's a pretty good book (not the 'best', but fair).
Can anyone recommend a good C++
compiler, Is Visual c++.net ok?
For a Windows platform, sure.
I want to program in Linux too in the
future so do I have to use another compiler for that?
Yes, or a 'cross compiler' (i.e. it runs on platform 'A'
but builds an executable for platform 'B').

One more thing, I was visiting Bjarne Stroustrup's site and was
surprised to read the applications page,

http://www.research.att.com/~bs/applications.html

Is it true that even softs such as windows, adobe written in C++?
I don't know, but I would not be at all surprised if some or
all of those are in C++. (I'm pretty sure Windows was originally
mostly in C (and assembly), but perhaps they've been migrating
code to C++.
Is C++ used in Robotic programming?


I don't see why it couldn't be.

-Mike
Jul 22 '05 #13
On Thu, 26 Aug 2004 13:29:19 -0700, Jamshaid wrote:
Hello everybody !
I am a VB programmer and new to C++. Recently i bought the book "C++
How To Program 4e" from Deitel. Can anyone recommend a good C++
compiler, Is Visual c++.net ok? I want to program in Linux too in the
future so do I have to use another compiler for that?
For windows, take a look at MinGW - this is a native port of gcc to
windows. It is free, good compliance with the standard and if (when) you
migrate to Linux, most probably you will be using gcc on there as well.
One more thing, I was visiting Bjarne Stroustrup's site and was
surprised to read the applications page,

http://www.research.att.com/~bs/applications.html

Is it true that even softs such as windows, adobe written in C++?
Is C++ used in Robotic programming?

As I recall, Windows was originally written in C with small parts
(notably those parts that directly touched hardware) in assembly.
Microsoft may be moving its code-base to C++. However, I do believe that
most of Microsoft office software is still predominately C based - not
that it matters.
Thanks,

Jamshaid

George
Jul 22 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.