Thread: Why is there a space ?

  1. #1
    Registered User
    Join Date
    Dec 2014
    Posts
    2

    Question Why is there a space ?

    Hello. I have this program :

    https://www.youtube.com/watch?v=8dhK...x5xtoeltdtyt04

    --LINK IN DESCRIPTION--

    In our interest, is the savegameIO.h and savegame.txt file...

    Why is there a space ?-savegameio-jpg

    as you see there is a strange space between the lines of the savegame one, but I didn't find anything strange in the program....


    All the I/O of the file is in the savegameIO.h....
    I will be glad if you take a look. Maybe you can see the problem.

    Sorry for my english, and tanks for the help...
    Last edited by Szoke Lori; 07-05-2015 at 03:05 AM.

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    We'd have to see the code that prints that output in order to answer why it's printing that way.

    FYI videos are not the best media for programming tutorials. Also note the code relies on an outdated header file that only works on some compilers (conio.h).

    I'd also be a bit concerned when the comment section of the video says, "Works for windows pc ( possible to work for other operating systems like linux , I didn't tested it )", and the code says "#include <windows.h>". It sounds like they don't really have the experience necessary to create quality tutorials.

  3. #3
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,106
    Most videos don't, unfortunately. A very thorough book cover to cover, or better still, a classroom with a qualified instructor, as you well know, would give the student a better intro to this any any other language.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Space
    By Filster7 in forum C Programming
    Replies: 10
    Last Post: 07-16-2013, 12:58 PM
  2. NUMA Virtual Adress Space / Physical Adress Space
    By NUMA Orly in forum Windows Programming
    Replies: 0
    Last Post: 03-14-2011, 03:19 AM
  3. Space
    By andrewV in forum Game Programming
    Replies: 6
    Last Post: 01-04-2005, 08:04 PM
  4. Which One Would Take Up the Least space
    By TechWins in forum C++ Programming
    Replies: 9
    Last Post: 09-02-2002, 02:07 PM
  5. space??
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 04-22-2002, 04:19 AM