Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #111406
| Subject | Re: High quality resources for learning modern C? |
|---|---|
| Newsgroups | comp.lang.c |
| References | <7b9d7ea8-2525-4f97-a0fe-dcf9830d4848@googlegroups.com> <oguren$rfj$1@gioia.aioe.org> <VNCYA.153566$5t1.18148@fx43.am4> <ogv18g$si3$1@dont-email.me> |
| From | bartc <bc@freeuk.com> |
| Message-ID | <cHEYA.233627$MA.87193@fx05.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2017-06-03 21:08 +0100 |
On 03/06/2017 20:08, jacobnavia wrote: > Le 03/06/2017 à 19:59, bartc a écrit : >> Visual Studio talks a lot about C++, and very little about C, to the >> extent that it's hard to be sure it supports the latter at all. >> >> I downloaded it a few weeks ago (as it was stipulated for building a >> particular app, which it failed to do as there were other dependencies >> that didn't work.). >> >> While I had it, I tried to get it to compile and run Hello World. >> Which I failed to do as well (within ten minutes messing about with it >> anyway). > > If I do > > cl hello.c > > it will compile to hello.exe > > Visual studio supports C, at least the C++ common subset, and some C99 > features. > > It needs to be run after starting the different .bat that setup the > environment variables. Yes, the only version of MSVC I have (-2008 now on another machine) can only be run as CL via its special command window which sets up everything that is needed to be set up. The compiler is located 9 or 11 levels deep in some directory structure so would be very awkward to find your way around (since at the level, you are typing at the right edge of the window). But Visual Studio was mentioned. Otherwise I would have said the easiest access to a C compiler is from a terminal window on a Linux system where typing 'gcc hello.c' will usually work without any setup. (These days there also online compilers, eg: http://rextester.com/l/c_online_compiler_gcc which will compile and run whatever you type in. OK for very small programs.) > This is the standard procedure since so many > years that I am amazed that you do not remember it. I've used CL in the distance past (I may have actually paid for VC at some time) but don't remember any special setup. > You can start it from the IDE in the Tools sections, that with a few > clicks puts you in a command line window where the path and other > variables are already set up. > > Starting the IDE (1 click), going into the Tools menu bar (another > click) then the Visual studio command prompt (yet another click) and > there you are, in a nice command line window with black background and > white letters. > > Are 3 clicks too much? > > Apparently for you, yes. > OK, ranting around is your favorite hobby but... It's not ranting. It's pointing out things that a newcomer can also have trouble with. It you start a new source file, and type the hello, world code into it, then you find there is no button to compile it, and the run or build option on the pulldown menu is greyed out. (I don't have VS any more so can't remember the exact problems.) This is why being able to build and run a Hello, World program first is important. -- bart
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 04:44 -0700
Re: High quality resources for learning modern C? gazelle@shell.xmission.com (Kenny McCormack) - 2017-06-03 11:49 +0000
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 05:17 -0700
Re: High quality resources for learning modern C? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-06-03 05:45 -0700
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 14:43 +0200
Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-03 17:21 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 18:15 +0200
Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:16 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 22:56 +0200
Re: High quality resources for learning modern C? Philipp Klaus Krause <pkk@spth.de> - 2017-06-03 23:32 +0200
Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-03 22:20 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 23:00 +0200
Re: High quality resources for learning modern C? Noob <root@127.0.0.1> - 2017-06-04 00:03 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 00:08 +0200
Re: High quality resources for learning modern C? Philipp Klaus Krause <pkk@spth.de> - 2017-06-03 18:32 +0200
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:05 -0700
Re: High quality resources for learning modern C? Real Troll <real.troll@trolls.com> - 2017-06-03 13:30 -0400
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-03 18:59 +0100
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 20:49 +0200
Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:12 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 23:13 +0200
Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 23:37 +0200
Re: High quality resources for learning modern C? Thiago Adams <thiago.adams@gmail.com> - 2017-06-03 15:12 -0700
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 00:16 +0200
Re: High quality resources for learning modern C? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-03 21:08 +0200
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-03 21:08 +0100
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 19:29 +0100
Re: High quality resources for learning modern C? Real Troll <Real.Troll@Trolls.com> - 2017-06-03 17:15 -0400
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-05 22:58 +0100
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 15:51 -0700
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 00:22 +0100
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-05 17:05 -0700
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 17:57 -0700
Re: High quality resources for learning modern C? raltbos@xs4all.nl (Richard Bos) - 2017-06-03 18:13 +0000
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:07 -0700
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-03 18:20 -0700
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 19:59 -0700
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-03 20:39 +0200
Re: High quality resources for learning modern C? Barry Schwarz <schwarzb@dqel.com> - 2017-06-03 14:01 -0700
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-03 17:08 -0700
Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-04 16:53 +0200
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-04 17:04 +0200
Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-04 22:03 +0100
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-04 16:11 -0700
Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-05 00:43 +0100
Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 11:56 +0200
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-05 03:28 -0700
Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 12:39 +0200
Re: High quality resources for learning modern C? Leon Taylor <leontaylor476@gmail.com> - 2017-06-04 16:06 -0700
Re: High quality resources for learning modern C? Ian Collins <ian-news@hotmail.com> - 2017-06-05 14:09 +1200
Re: High quality resources for learning modern C? raltbos@xs4all.nl (Richard Bos) - 2017-06-05 08:43 +0000
Re: High quality resources for learning modern C? David Brown <david.brown@hesbynett.no> - 2017-06-05 12:08 +0200
Re: High quality resources for learning modern C? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2017-06-05 03:49 -0700
Re: High quality resources for learning modern C? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-05 14:53 +0200
Re: High quality resources for learning modern C? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-05 11:48 +0100
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-05 07:28 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 11:52 -0700
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-05 12:23 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 12:46 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 17:46 -0700
Re: High quality resources for learning modern C? bartc <bc@freeuk.com> - 2017-06-06 01:58 +0100
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 20:09 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-05 20:16 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-05 21:57 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 07:36 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 09:29 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 10:13 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 13:37 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 15:23 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-06 16:32 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-06 19:02 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 20:20 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-07 18:36 -0700
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-07 19:25 -0700
Re: High quality resources for learning modern C? David Kleinecke <dkleinecke@gmail.com> - 2017-06-07 20:09 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 20:56 -0700
Re: High quality resources for learning modern C? Keith Thompson <kst-u@mib.org> - 2017-06-08 09:03 -0700
Re: High quality resources for learning modern C? James Kuyper <jameskuyper@verizon.net> - 2017-06-07 23:14 -0400
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 20:42 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-06 20:08 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-07 07:46 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 09:02 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-07 15:14 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-07 16:36 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-08 08:10 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-08 10:43 -0700
Re: High quality resources for learning modern C? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-06-08 12:37 -0400
Re: High quality resources for learning modern C? Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-09 10:36 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 11:09 -0700
Re: High quality resources for learning modern C? supercat@casperkitty.com - 2017-06-09 12:00 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 12:45 -0700
Re: High quality resources for learning modern C? jameskuyper@verizon.net - 2017-06-09 14:11 -0700
Re: High quality resources for learning modern C? Tim Rentsch <txr@alumni.caltech.edu> - 2017-06-11 15:54 -0700
csiph-web