473,405 Members | 2,349 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,405 software developers and data experts.

C++ for windows specific code

Hello all

Is there a good online resource that discusses C++ equivalents for windows
code? Not a simple subject of course... but perhaps a good place to start
with the simpler parts.

Thx :o)

--
Could you do the egg bacon spam and sausage without the spam then?
Urgghh!
What do you mean 'Urgghh'? I don't like spam!
Jul 23 '05 #1
4 1458
Youcould start here, as ' windows' are no conceptsa covered by
standard C++:
http://www.parashift.com/c++-faq-lit...al-issues.html ?

Jul 23 '05 #2
On Sat, 11 Jun 2005 21:27:52 UTC, Sammy <ID***********@LovelySpam.bah>
wrote:
Hello all

Is there a good online resource that discusses C++ equivalents for windows
code? Not a simple subject of course... but perhaps a good place to start
with the simpler parts.

Thx :o)


Hi Sammy,

I'm not sure what you are looking for, other than C++ code. Microsoft
Windows has evolved through several interfaces over the years. While
they may have strived to become more useful and evolve/create standards
the rest of the platforms out there had most of the ideas too.

These days the STL has lots of ideas that may be similar to a few of
the set/array and string operations you may have used. I'm older than
the STL by quite a few years, so I've written most of the concepts
long before Windows or the STL had them. The Boost libraries also
have much to offer.

All of the communications code you may be used to can be found
hiding as Unix (*ix) sources. They are a bit older and more reliable
than the Windows CSocket and related classes. If you programmed at the
WinINet level, the higher level code can easily be ported to any other OS
and left the same.

The graphics libraries, if you want them, come in many flavors and
are supported on many operating systems.

All the concepts of Windows can be found/used elsewhere. Unix
code is generally more like NT Service or console code. Some tools
use concepts like Windows, but don't rely on the central theme of
the Windows Event Loop. They rely more on inter-process communication
(IPC) techniques and allowing the developer roll their own ideas.

The concepts of files and processes are generally the same across
all C++ systems.

You can find C++ code for any given topic fairly easily with a
search engine. To find specifics for your target operating system,
which may still be Windows, just refer to the lower level
documentation. For instance, the wealth of generic C++ code for
communications can be changed from the generic socket model to
WinINet fairly easily. The problem comes if you want the Window
Event Loop concept as the basis for all of your work. Most generic
C++ code is stand-alone for a given concept. Then you combine
all the concepts you need into your desired application/system/OS.

If you have specific concepts you are looking for we might be able
to help you find or derive them.

David
Jul 23 '05 #3
The msdn library is very large and complete, maybe fit you?
http://msdn.microsoft.com/visualc/
"Sammy" <ID***********@LovelySpam.bah> ????
news:11*************@corp.supernews.com...
Hello all

Is there a good online resource that discusses C++ equivalents for windows
code? Not a simple subject of course... but perhaps a good place to start
with the simpler parts.

Thx :o)

--
Could you do the egg bacon spam and sausage without the spam then?
Urgghh!
What do you mean 'Urgghh'? I don't like spam!

Jul 23 '05 #4
"David" <Fl************@United.Com> wrote in news:rOdGr40LMPU3-pn2-
4eOdih93pgRX@localhost:
These days the STL has lots of ideas that may be similar to a few of
the set/array and string operations you may have used. I'm older than
the STL by quite a few years, so I've written most of the concepts
long before Windows or the STL had them. The Boost libraries also
have much to offer.


Didnt add this to the earlier post but this is for a personal project
that has seemed to keep growing in size and complexity to account for
added functions... and also as a learning project ;o)

I looked at STL many months ago but I never really sat down to learn how
to use it. Sounds like this is the right opportunity to do so. It seems
SDL works quite well... but I also just found OpenAL, which was quite a
surprise. I do use here and there windows functions that are not
graphics/sound related that I probably didnt need to (including those
mentioned). And so those are the ones Im going after first... maybe start
with the message loop.

Thanks everyone :o)
Jul 23 '05 #5

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

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
6
by: Ali Akbar | last post by:
Hi everyone, I just wanted to know how my program can trap a particular API call by windows. (The idea is that I want to hook all the open text boxes and keep hooking new ones as and when they...
6
by: Chris T | last post by:
Hi folks ! Does anybody know what programming languages were used to make the Windows kernel originally ? Are these still the same nowadays ? Thanks for any information or link you can...
3
by: Amjad | last post by:
Hi, I just wrote a test Windows Service that creates a text file on startup (please see my code below). The file is never created. Protected Overrides Sub OnStart(ByVal args() As String) Dim...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
29
by: mastermagrath | last post by:
Hi, Sorry for the possibly silly question. Am i right in saying that the C library i use on a windows machine really utilises the windows API for all its operations e.g. opening files, printing...
7
by: VijaKhara | last post by:
Hi, I am given source codes written using C. The writer told me that he wrote on Linux. Now I am trying to compile and run it on Windows. There are many errors shown up. Are there any...
4
by: =?Utf-8?B?QXZhRGV2?= | last post by:
ASP.Net 2. We are migrating to Windows 2008 64 bit Server with IIS 7 from Windows 2003 32 Bit with IIS 6. A few library classes we wrote uses impersonation in code like explained in this...
23
by: asit | last post by:
what is the difference between portable C, posix C and windows C ???
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: 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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.