C\C++: why ANSI C don't have GotoXY and others?

  • (2 Pages)
  • +
  • 1
  • 2

19 Replies - 1830 Views - Last Post: 19 April 2019 - 11:00 AM Rate Topic: ***** 1 Votes

#16 Cambalinho   User is offline

  • D.I.C Addict

Reputation: 2
  • View blog
  • Posts: 807
  • Joined: 04-March 12

Re: C\C++: why ANSI C don't have GotoXY and others?

Posted 19 April 2019 - 08:20 AM

yes.. i'm doing 1st for windows, because is what i use ;)
i can do the same way for call header files, instead functions?
Was This Post Helpful? 0
  • +
  • -

#17 jimblumberg   User is online

  • member icon

Reputation: 5916
  • View blog
  • Posts: 17,932
  • Joined: 25-December 09

Re: C\C++: why ANSI C don't have GotoXY and others?

Posted 19 April 2019 - 09:49 AM

Quote

i can do the same way for call header files, instead functions?

What? Please elaborate.

Jim
Was This Post Helpful? 1
  • +
  • -

#18 Cambalinho   User is offline

  • D.I.C Addict

Reputation: 2
  • View blog
  • Posts: 807
  • Joined: 04-March 12

Re: C\C++: why ANSI C don't have GotoXY and others?

Posted 19 April 2019 - 09:52 AM

i mean instead functions, can i use header files:
#if defined(_WIN16)
          #include windows.h
#else
      #include linux.h
#endif


??
Was This Post Helpful? 0
  • +
  • -

#19 jimblumberg   User is online

  • member icon

Reputation: 5916
  • View blog
  • Posts: 17,932
  • Joined: 25-December 09

Re: C\C++: why ANSI C don't have GotoXY and others?

Posted 19 April 2019 - 10:49 AM

What good will headers be without functions? Basically you will probably need both headers and source files.



Jim
Was This Post Helpful? 1
  • +
  • -

#20 Cambalinho   User is offline

  • D.I.C Addict

Reputation: 2
  • View blog
  • Posts: 807
  • Joined: 04-March 12

Re: C\C++: why ANSI C don't have GotoXY and others?

Posted 19 April 2019 - 11:00 AM

thank you so much for all to all
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2