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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.