Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DocHaydn

  1. DocHaydn

    Compile C program in VC++2008

    Hello you guys, It worked! Thank you so much. DocHaydn.
  2. DocHaydn

    Compile C program in VC++2008

    Hello, I'm trying to compile the following program with Visual C++2008. Pressing F7 compiles without errors. /*Filename process.c : Defines the entry point for the console application.*/ #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <ctype.h> void process_file(FILE...
  3. DocHaydn

    Subject:Visual C++ 2008

    Thanks for your reply macleod 1021. I`m a bit of a noob when it comes to working with the command prompt. I have opened it following Microsoft`s help files, and typed (VACR..) something like that,(I`m not at my home computer), so I can`t remember exactly. Then I`ve entered...
  4. DocHaydn

    Subject:Visual C++ 2008

    Hello, I'm running Windows XP-Pro. This is my first try at C# programming; and using Visual C++ 2008. I'm working from a tutorial, that I've found on the net. I'm given the task of using the command-line compiler, where I have to set a path from the following directory...
  5. DocHaydn

    Win. XP Pro Autodisconnect Box

    Hello, I'm running WinXP-Pro; and I need to disable the autodisconnect box. I've done some research and this is what I've found: "Auto-Disconnect Start/Run/Regedit HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters. In the right pane, find Autodisconnect and change the...
  6. DocHaydn

    toupper() function/ malloc() function:

    Hello, This routine accepts six alphanumeric characters, e.g. A1B 2C3. and is part of a mail program. This is what I want to do? Input in lowercase: a1b 2c3, press <Enter>. Output results expected uppercase: A1B 2C3. This routine does the job. However when I implement it in my mail program...
  7. DocHaydn

    Command line error D8300?

    Hello, I'm coding in the C language; running XP pro SP2. After disabling "Pre-compiled headers" in Visual C++ 2005 express ed., under properties; I was able to compile and run a ("Hello World!\n"), program. However, compiling a larger program(mail manager), some 300 lines, compiled with the...
  8. DocHaydn

    Need help looping my program?

    Hello, I'm a learner; running Win'98SE, compiler:minGW dev. studio. The following is a simple "guess the number" game. It compiles, and runs without erors. However, I don't know how to loop it back to play again, if the user enters (y) yes. How do I do this? I've tried removing the do-while...
  9. DocHaydn

    flag used with `%s' printf format.

    Hello, I'm a learner. Compiler: MinGW Developer Studio, O/S:Win'98SE. The program is a mail manager, taken from my "C" book:"C by Example". On compilation, I'm getting the warning:"`'flag used with `%s' printf format." I've tried changing the function's return type, but no go. How do I...
  10. DocHaydn

    Unused variable

    Hello, I'm a learner. Compiler: MinGW Developer Studio, O/S:Win'98SE. The program is a mail manager, taken from my &quot;C&quot; book:&quot;C by Example&quot;. On compilation, I'm getting the warning:&quot;Unused variable'list'&quot;; on the line:&quot;struct mail_struct list[MAX];&quot;, just...
  11. DocHaydn

    Alphanumeric zipcode

    Thank you all for the education. I'm very impressed. Thank you, Doc Haydn.
  12. DocHaydn

    Alphanumeric zipcode

    Hello, I'm compiling with Dev-c++ 4.01. I'm trying to capture a six digit alphanumeric zipcode with this routine; which comes from a mailing list program. The compiler is reporting one error:"Parse error at end of input." I must be missing a curly brace or two, but i can't find where to put...

Part and Inventory Search

Back
Top