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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. grexroad

    2005 express full screen console mode issues

    I'm using 2005 express and need to see the code that will allow me to view full screen in console mode. I've looked online and found code but I have windows.h issues that I just can not resolve. With the 2003 edition I was able to have full screen with the following code. It does not work with...
  2. grexroad

    binary files writing not working as expected

    I understand that I am overloading my buffer as I am do it intent because I see it as being a problem that needs solved. I see what a little bit of what you are trying to explain to me but am unfamiliar with how to use the fgets or how to trim out the trailing newline. Would you please give me a...
  3. grexroad

    binary files writing not working as expected

    I am trying to learn about binary files. How to open and write to then close the file. Reopen the file to read then close it again. Things aren't going quite well though. I wrote the following program to write and read a binary file. Run the program and then when prompted: Type in 2 for number...
  4. grexroad

    fread problem in for loop

    I am having a problem with the second for loop that is reading data in to my structure. I have the first for loop reading in data for equipment but each piece of equipment has parts that go with it and that is captured in the second for loop and put into the Parts structure. The code all works...
  5. grexroad

    returning a char array problem

    This is a c++ course. My third in the series. Each coures I'm being taught something different. The first course I was taught ConsoleReadline / ConsoleWriteline. The second I was taught cin / cout. This one is gets / printf. Could someone please make up their minds. Come on 3 different ways to...
  6. grexroad

    returning a char array problem

    Static did the trick. Thank you X. That is the first time that I used static. I understand what is happening now. Thank you very much my friend. g
  7. grexroad

    returning a char array problem

    I am trying to figure out what the problem is with the code I wrote for returning a char array from a function. It prints out ascii characters instead of the word that was typed in. Would someone look at my code and tell me what I need to change to make it work? This is for a class at school and...

Part and Inventory Search

Back
Top