社区
C语言
帖子详情
dos->windows
laifu
2000-01-19 10:53:00
我要将一个dos下的库编译成windows 3.2的库
该程序为dos下的socket通讯和串口通讯
dos的编译环境为vc1.5
windows下的环境为bc4.5
dos下的通讯头文件socket.h换为winsock.h
dos下的串口怎办 速率28800 在windows下怎改???
...全文
159
1
打赏
收藏
dos->windows
我要将一个dos下的库编译成windows 3.2的库 该程序为dos下的socket通讯和串口通讯 dos的编译环境为vc1.5 windows下的环境为bc4.5 dos下的通讯头文件socket.h换为winsock.h dos下的串口怎办 速率28800 在windows下怎改???
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
kxy
2000-01-19
打赏
举报
回复
在本站找一个socket通讯的window源码得了.
g++ for
windows
Installing c++/g++ on
Windows
Disclaimer: This page is being maintained mainly for my students. Use these instructions at your own risk. There is no warranty in any form or shape whatsoever!. There is no guarantee that these instructions are up-to-date. With that understood you may continue with the rest of this page if you choose to accept these terms. This page was last updated on September 13, 2005, but still good as of April 30, 2009. Follow these steps to install g++ (the GNU C++ compiler) for
Windows
. There is no room for creativity here; you must follow the directions exactly. Pick the drive and a folder in which you want to install g++. I'll assume that it is C:, but you can choose a different one. If you choose a different drive or a different folder, you'll need to adapt the directions below accordingly. Download full.exe, an about 14 megabyte executable, to C:\full.exe by right-clicking on the link. Use Save Link As... or Save Target As... Be sure the browser saves the file as C:\full.exe. Run the downloaded executable. This will install g++ (and a lot of other things that you don't really need) on your hard drive. Go to the C: drive using
Windows
Explorer and double-click on full.exe. Or, open a
DOS
window (Start > Programs > Command Prompt), connect to the C: drive using the cd command, and type full. Locate where the bin folder was created for the g++ installation. On my
Windows
XP machine, it was created in the following path: C:\cygnus\cygwin-b20\H-i586-cygwin32\bin You now should add it to the PATH environment variable. You do that by following: Start -> Control Panel -> System -> Advanced -> Environment Variables At this point you can see the PATH variable either in the User Variables or in the System Variables. Add the g++ path into the PATH variable. You add it to the end of the existing value separated by a semicolon (';'). Make sure that you do not lose the original value. You are just appending more to the end separated by a semicolon. Restart your computer. A Cygnus Solutions entry will appear in your Programs menu, and an icon may appear on your desktop. Don't use them! You will use it using the g++ command on a
DOS
prompt as explained below. You should now be able to run g++ from a
DOS
(Command Prompt) window. For example, to compile a file called C:\mine\hello.cpp, connect to the C:\mine folder and enter g++ -g hello.cpp -o hello -lm You'll then be able to run the compiled program by entering hello in the
DOS
window. If you've installed Emacs as described here, you will also be able to run g++ from Emacs. If, when you do this, Emacs tries to compile with the command make -k, you made a mistake during the Emacs installation. If you want to learn how to run g++ on emacs, see here. If you'd like to learn more about where this free compiler came from, we downloaded it from an older site of http://sourceware.org/cygwin/. If you wish to clean up a little, you may delete the file: full.exe at this point. Your g++ compiler is installed under C:\cygnus.
DOS
命令大全(完整版).pdf
DOS
命令大全(完整版).pdf,内容完整,清晰,与大家共享!
自动化运维脚本编程:CMD/
DOS
批处理实战案例学习
1、批处理文件是什么批处理文件(batch file)包含一系列
DOS
命令,通常用于自动执行重复性任务。用户只需双击批处理文件便可执行任务,而无需重复输入相同指令。编写批处理文件非常简单,但难点在于确保一切按顺序执行。编写严谨的批处理文件可以极大程度地节省时间,在应对重复性工作时尤其有效,在
Windows
中善用批处理可以简化很多重复工作。 2、目前比较常见的批处理分类
DOS
批处理和PS批处理。PS批处理是基于强大的图片编辑软件Photoshop的,用来批量处理图片的脚本;而
DOS
批处理则是基于
DOS
命令的,用来自动地批量地执行
DOS
命令以实现特定操作的脚本。这里要讲的就是
DOS
批处理批处理是一种简化的脚本语言,它应用于
DOS
和
Windows
系统中,它是由
DOS
或者
Windows
系统内嵌的命令解释器(通常是COMMAND.COM或者CMD.EXE)解释运行。批处理类似于Unix中的Shell脚本。批处理文件具有.bat或者.cmd的扩展名,其最简单的例子,是逐行书写在命令行中会用到的各种命令。更复杂的情况,需要使用if,for,goto等命令控制程序的运行过程,如同C,Basic等中高级语言一样。如果需要实现更复杂的应用,利用外部程序是必要的,这包括系统本身提供的外部命令和第三方提供的工具或者软件。
sh:
Dos
->unix
分析:这是不同系统编码格式引起的:在
windows
系统中编辑的.sh文件可能有不可见字符,所以在Linux系统下执行会报以上异常信息。 解决:1)在
windows
下转换: 利用一些编辑器如UltraEdit或EditPlus等工具先将脚本编码转换,再放到Linux中执行。转换方式如下(UltraEdit):File-->Conversions-->
DOS
->UNIX即可。 如果是
dos
命令查看手机内置sqlite数据库--->如何刷rom包--->chmod -R 777命令查看--->adb pull 数据库
1、
dos
命令查看手机内置数据库 2、如何刷rom包 1、ftp://10.0.4.252/Security-module/godinsec_rom/ 这里去下载最新的rom包(目前是王斌或者王茂旭发出) 2、找到自己的sdk路径 拿我的举例 E:\adt-bundle-
windows
-x86_64-20140702\sdk\platform-tools
C语言
69,382
社区成员
243,073
社区内容
发帖
与我相关
我的任务
C语言
C语言相关问题讨论
复制链接
扫一扫
分享
社区描述
C语言相关问题讨论
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章