From: Robert.L.Mackey, "Jr." Newsgroups: comp.os.msdos.djgpp Subject: VERY basic question Date: 30 Apr 1997 01:45:55 GMT Organization: Gulf Telephone Company Lines: 26 Message-ID: <5k688j$2vp$1@newserve.gulftel.com> NNTP-Posting-Host: 186.fol5.gulftel.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I am using DJGPP V2.01and RHIDE. I have been using them for 3 days. I have tried to teach myself c and c++. I wrote a standard "Hello, World" program, and it chrashed. I was running under a DOS box in W3.1 so I wouldn't have to fool with DPMI. The program is as follows. #include "include/stdio.h" void main() { printf("Hello World", %s); } First it complained about a file, include/sys/djtypes.h, which it said was missing. (It wasn't.) I played around with <>s and "" and finally got that fixed. Then it said somthing about a parse error before the %. Finally, it compiled. I ran the program and got shot back to windows, where it said HELLO.EXE had violated system integrity. HOW DOES "HELLO, WORLD" VIOLATE SYSTEM INTEGRITY. Any thoughts? Also, I downloaded the C++ compiler and library files. The library files say I have to run a makefile or something like that. How do I do that? Also, I learned the syntax and rules and all that.. Now what do I do with this? I can't think of any programs to write. I don't know any graphics or anything like that Any tips for a beginner? PLEASE REPLY TO maf01028 AT acan DOT net. DON'T HIT REPLY! Thanks a lot for the help. David Mackey.