|
you can program c++ in unix and gain it's power.
download and make gcc 3.3 or higher version for unix environment.
|
|
|
|
|
The difference between UNIX® and Linux is that Linux isn't certified to use the UNIX® trademark. Both are based on the Single Unix® Specification standard (ISO/IEC 9945).
|
|
|
|
|
Alex Ngai wrote:
I wonder, if
Unix supports C++?
No!
Unix is an operating system just like Linux, MS Windows, DOS and CPM (ancient system), and others. The operating system is only important if you are writting code specificaly for that operating system. No matter what system you are programming for, most of the code (if not all) should work. If you are running the compler on that system, then you are probubly creating a program that will only run on that system.
Operating systems (as a general rule) do not support programming languages, but complires do.
Example: The Visual C++ compiler is supposed to beable to compile for both Windows and Macantohsh. That is if you are devloping the program on an MS Windows system and compile it for Macantohsh, you can not run the program.
Alex Ngai wrote:
Can I apply technique I learned
from Unix to Linux?
Yes! But there may be differences.
INTP
|
|
|
|
|
Hi John,
Thanks for your reply. I have another question: In your
profile, you said that you are a Software Engineer. I wonder
what is the difference between Software Engineer and Programmer?
In my University, I have an option to focus on Software engineering,
however, my final degree will still be Computer Science. I wonder
what takes to be a Software Engineer? When I graduate with a BS
in Computer Science, will I be called a programmer or software
engineer?
Thanks
-----------------------------
C++ without virtual functions is not OO. Programming with classes but without dynamic binding is called "object based", but not "object oriented".
|
|
|
|
|
'Programmer' is the broad, general term for a person who writes computer programs. There is no implied level of training or expertise. A 13 year-old kid writing script and a $100,000/year employee writing C++ for embedded systems are both programmers.
'Software engineer' is often used as a job title. A software engineer is a programmer who applies engineering practices and principles when they develop software. These engineering skills require either a university education or several years working experience to acquire. The 13 year-old kid writing script is definitely not a software engineer. The $100,000/year employee is a software engineer.
Your degree in computer science will make you a programmer. Generally, graduates with CS degrees apply for software engineering jobs. Those same jobs may be listed with a job title of 'programmer'.
Software Zen: delete this;
|
|
|
|
|
More specifically, if you study Computer Science in a university, and get a degree on that, then you, like said, become a 'programmer'.
In my country, there are schools available which educate on the B.Sc level of degrees. The line I'm on is called "Software engineering". Thus, when I graduate from this school, I get a B.Sc, and can call myself a "Software Engineer". Just like someone graduating from our school on the architectural line would call themselves "Architects" or "Building engineers".
The idea is that "an engineer" is a qualification. M.Sc with CS as primary is called a degree. Mostly a wordly issue, though, as both CS degree dudes and engineers do same jobs
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
My title is Software Engineer! What I am is a programmer++ (without a B.D. or an M.D., hence the ++)! The difference between a programmer and an engineer is fairly simple: A programmer is someone who knows the language well enough to solve the problem(s) given them, An engineer (normaly a B.D. OR an M.D.) is someone who can figures out what the problems are (or well be) before they give the problem to the programmer(s).
That does not mean the engineer is (or was) not a programmer, but it does mean that he may (or may not) know what he/she is talking about.
Enough of that!
What it all amounts to is that an engineer makes more money than a programmer!
As for your question: If you have a B.S. degree, then you are a software egineer.
Just remeber that because you have the degree, that does not mean you know more than the programmer doing the job (listen and learn).
Note: I am titled an egineer, because I have never been given a problem that I could not solve.
INTP
|
|
|
|
|
Hello
I am Aqueel. Please tell me how can i call an event or a function when mouse pointer is rolled over a button.
Aqueel
aqueelmirza@yahoo.com
we believe in excellence
|
|
|
|
|
A button is a control. A control is a window. When the mouse moves over a window's non-client area, a WM_NCMOUSEMOVE is posted. When the mouse moves over a window's client area, a WM_MOUSEMOVE is posted.
To detect when a mouse enters/leaves your button's area, answer to the first WM_MOUSEMOVE message, and call TrackMouseEvent , specifying that you wish to know when the mouse leaves the window's client area (WM_MOUSELEAVE). When the mouse does this, the tracking is automatically cancelled. Between the first WM_MOUSEMOVE and the WM_MOUSELEAVE, the mouse is hovering over the button. To prevent calling TrackMouseEvent multiple times, use a boolean variable that you set in WM_MOUSEMOVE and clear in WM_MOUSELEAVE.
Hope this helps. You should see MSDN for TRACKMOUSEEVENT structure. This documentation will tell you how you must fill the structure in order to track for WM_MOUSELEAVE messages.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Can anyone tell me if it's possible to link a file to a email via a hyperlink control?
I'm writing a utility for some of our customers and would like to include a link for them to click on that sends an email with a data file back to us.
I'm basically looking for the syntax to use if it exists. For example, there is also a link for feature requests, and the syntax I'm using for that is:
mailto:PaulBelikian@SomeCompay.com?subject=feature Request
is there another keyword I can use to attach a file to the email also? something like:
mailto:PaulBelikian@SomeCompay.com?subject=Data file upload?Attachment=C:\CustomerFile.XML
Any help would be appreciated.
|
|
|
|
|
I haven't seen anything in the mailto syntax that supports that - Attachments are usually MIME encoded at part of the body and not the header. RFC-2368[^] does describe a "body" section, but it is plain-text, follows the keyword and most non alpha numeric characters must be encoded (i.e. space is represented by %20)
Steve
|
|
|
|
|
A MFC library
A vc Appwizard
I use this wizard to create a project,It say can't find "ID_VIEW_APPLOOK_2000"
I have installed the BCGControlBarProEvaluation.exe
Anyone has encounter the like me?
How to resolve this problem?
Thanks
|
|
|
|
|
Well I've not used the pro version, only standard which is fine. I'd try posting on BCGSofts support forum[^] and see if you can get help there
John Hudson
Megan Forbes on Life's little accidents: Never, under any circumstances, take a sleeping pill and a laxative on the same night
http://www.rainbow-innov.co.uk[^]
|
|
|
|
|
Thank you very much
|
|
|
|
|
I have always used Win32.hlp in my work, but with the emergence of WinXP I think I am missing a lot of the system functionality. Where can I get (for free, of course) the latest version of Win32.hlp that covers XP?
SMD
|
|
|
|
|
Anonymous wrote:
I have always used Win32.hlp in my work, but with the emergence of WinXP I think I am missing a lot of the system functionality. Where can I get (for free, of course) the latest version of Win32.hlp that covers XP?
If you want to use the newer XP API's, then you are probably best off downloading the latest platform sdk. Download here[^]
This will give you the latest documentation and the libraries and headers needed for the compiler.
Michael
CP Blog [^]
|
|
|
|
|
What is operator new and new operator in C++?How are they different?How are they implemented in C++?
|
|
|
|
|
sscottage wrote:
What is operator new and new operator in C++?How are they different?How are they implemented in c++
hello buddy,
i think there is no diffrence they oare same thing.
and about use,they are used for dynamically memory providing.
for eg look here
char *ch;
now if you want to allocate memory to it
use ch=new char[100];
and for freeing memory
delete []ch;
if you really want more message me bye and take care
-----------------------------
"I Think It will Work"
Formerly Known As "Alok The Programmer" at CP
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
"new operator" is used when refering to allocating new object.
i.e. char *bob = new bob [20];
"operator new" is part of the syntax used to specialize the "new operator".
They are both talking about the same thing for the most part.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
LIBCD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
Debug/sim.exe : fatal error LNK1120: 1 unresolved externals
Can someone tell me what this linking error could mean? I have no clue what it means so any help would be appreciated. Thanks in advance.
|
|
|
|
|
|
Hi friends,
I have a question about the custom controls in design mode.
I using VC 6 and when I create a custom control in a dialog, this appears with 0x50010000 default style. How I can know about each style that number represents?
Also for this number 0x50810000.
Thanks in advance!
Ivan Cachicatari
www.latindevelopers.com
|
|
|
|
|
in winuser.h we can find info about it:
/*
* Window Styles
*/
#define WS_OVERLAPPED 0x00000000L
#define WS_POPUP 0x80000000L
#define WS_CHILD 0x40000000L
#define WS_MINIMIZE 0x20000000L
#define WS_VISIBLE 0x10000000L
#define WS_DISABLED 0x08000000L
#define WS_CLIPSIBLINGS 0x04000000L
#define WS_CLIPCHILDREN 0x02000000L
#define WS_MAXIMIZE 0x01000000L
#define WS_CAPTION 0x00C00000L /* WS_BORDER | WS_DLGFRAME */
#define WS_BORDER 0x00800000L
#define WS_DLGFRAME 0x00400000L
#define WS_VSCROLL 0x00200000L
#define WS_HSCROLL 0x00100000L
#define WS_SYSMENU 0x00080000L
#define WS_THICKFRAME 0x00040000L
#define WS_GROUP 0x00020000L
#define WS_TABSTOP 0x00010000L
#define WS_MINIMIZEBOX 0x00020000L
#define WS_MAXIMIZEBOX 0x00010000L
#define WS_TILED WS_OVERLAPPED
#define WS_ICONIC WS_MINIMIZE
#define WS_SIZEBOX WS_THICKFRAME
#define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW
and 0x50010000 mean the bitmask that represent current style set:
for example:
0x50010000
0101 0000 0000 0001 0...
0100 0000 0000 0000 0... = 0x40000000L //WS_CHILD
0001 0000 0000 0000 0... = 0x10000000L //WS_VISIBLE
0000 0000 0000 0001 0... = 0x00010000L //0x00010000L
if u want u can create an parse function to enumarate styles from a bitmask...
i think from now u can read those style values by yourself.
|
|
|
|
|
|
I want to ask you here how can I get the windows DDK to write windows drivers or if there is someone here who can help me with this. I'd rather not go to microsoft and get it becasue I do not have the time I want it very fast.
I need the libs and .h files so I can write drivers.
can someone help me with these please and can you also tell me please where can I find a tutorial in writting a simple driver because I am a beginner.
Please help me fast.
Thanks in advance.
gabby
|
|
|
|