473,803 Members | 3,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I need complier for this dot H

Ygn
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
#include <process.h>
#include <string.h>
#include <winbase.h>
#include <sys/socket.h>

I would like to do compiling this header. When I try with my VC ++ I
got error. So what the name of complier and where can I get it.
Hope anyone for Net can Help me.

Thanks for viewing.

Thanks.

Yours, Ricky
Jul 22 '05 #1
3 1679
Ygn wrote:
#include <stdio.h> #include <winsock2.h>
#include <windows.h>
#include <process.h> non-standard headers
#include <string.h> #include <winbase.h>
#include <sys/socket.h> non-standard header

I would like to do compiling this header. When I try with my VC ++ I
got error. So what the name of complier and where can I get it.

Try GCC. or comment out the sys/socket.h (winsock2.h has the Windows
socket stuff).
Jul 22 '05 #2
Ygn wrote:
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
#include <process.h>
#include <string.h>
#include <winbase.h>
#include <sys/socket.h>

I would like to do compiling this header. When I try with my VC ++ I
got error. So what the name of complier and where can I get it.
Hope anyone for Net can Help me.

Thanks for viewing.

Thanks.

Yours, Ricky


Try gcc with cygwin or mingw. I am pretty sure I have compiled cygwin
apps with all the headers you mentioned. They are defaulted in the
/usr/include/w32api directory, if I remember correctly.

Brian

Jul 22 '05 #3

"Ygn" <yg*@mail4u.com .mm> wrote in message
news:57******** *************** ***@posting.goo gle.com...
#include <stdio.h>
#include <winsock2.h>
#include <windows.h>
#include <process.h>
#include <string.h>
#include <winbase.h>
#include <sys/socket.h>

I would like to do compiling this header. When I try with my VC ++ I
got error. So what the name of complier and where can I get it.


You typically do not compile headers directly. You must #include the header
in a .cpp file and compile the .cpp file.

Jeff F
Jul 22 '05 #4

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

Similar topics

0
1421
by: Francisco J. Reyes | last post by:
I get an Internal complier error when compiling C# windows project that uses a custom Class add as reference to the project. The problem appears to be related to the ENUM type used in the class controland where the windows project attempts to call the custom class property set\get a specific value using enum values from the custom class. Thanks in advance.
2
4172
by: qbin_wang | last post by:
Hi: now i want to download a free c complier which can be used in windows system.and i see many posts in the comp.lang.c,but i don't find the answer.who can tell me the true and correct website that can download the c complier or tell me the c complier's name. thanks a lot.
2
3145
by: Ali Alsaffar | last post by:
Hi there, - I updated my windows XP professional with all critical updates available at windowsupdate.com - I updated Microsoft .NET Framework 1.1.4322 from thier also - I installed Visual Basic 6 Enterprise Edition - Then I also installed Visual Basic .NET 2003 Professional Edition - I created a new project in Visual Basic 6 successfully - Here is the problem: I failed to create a new Visual Basic project in Visual Basic .NET 2002 I got...
11
2285
by: jryden | last post by:
I wrote the following code into a console program in Visual C++6. If you build a release build and select custom optimizations and select 'general optimizations' as the only optimization then you will end up with incorrect results. Every line seems to be important, even the unrelated bits. Any one have the time or inclination to try this out for themselves and try to explain it? #include "stdafx.h" #include <string>
10
5831
by: gshy2014 | last post by:
Hi, all. IN Windows, TCHAR is translated to be wchar or char according to whether UNICODE is defined. Dose the complier handle the UNICODE(define or not define) according to the OS ? Many thanks
4
2761
by: Quas.co.ua | last post by:
Hello all. I need your help. I need C compler to make demo of some technologie. This C compiler I need to write program which after run will be located in one segment of memory and it generates another code an write it into another (second) segment. And after some fragment of code is generated program from first segment runnes just generated code from second segment which may return in first
1
2528
by: tccode97 | last post by:
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link http://msdn2.microsoft.com/en-us/library/system.net.sockets.udpclient...
11
2646
by: neha | last post by:
Hi My question is : Would the expression *p++=c be disallowed by the complier. The answer given in the book is: No.Because here even though the vlue of p is acced twice it is used to modify two different objects p and *p.
16
10111
by: sriever4u | last post by:
I am new to ARM linux, i am working on AT91RM9200 board and using ARM linuc C complier.. i want to know how to produce nanosecond delay using software...
0
9703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9565
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10317
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9125
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5633
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.