BleepingComputer.com: Visual Studio Command Prompt access denied

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Visual Studio Command Prompt access denied C++

#1 User is offline   killerx525 

  • Bleepin' Aussie
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 5,425
  • Joined: 27-September 09
  • Gender:Male
  • Location:Melbourne, Australia

Posted 21 December 2010 - 08:55 AM

I just started C++ programming and i am following this guide. When i start Visual Studio Command Prompt and i type in C:\...?cl -GX Sample.cpp it says "Access Denied". The file "Sample.cpp" is already created, so how do solve this so i can move on? I'm using this guide, the instructions is on chapter 1, page 11, compiling the program.
>Michael
System: CPU- AMD Phenom II X6 1090T Black Edition Oc'ed to 3.8GHz, CPU Cooler- Noctua NH-D14, RAM- G.Skill Ripjaws X F3-12800CL9D-8GBXL 8G Kit(4Gx2) DDR3 1600, HDD- Western Digital Caviar Black 1TB 7200 RPM 64MB Cache SATAIII, GPU- Asus EAH6950 1GB Crossfire Oc'ed 900/1310mhz, MB- Gigabyte 990FXA-D3, Case- Coolermaster HAF 932, PSU- Corsair TX-750 V2, Soundcard- Realtek High Definition Audio Sound, OS- Windows 7 Ultimate SP1 64-Bit

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 21 December 2010 - 10:40 AM

Considering that the book is 7 years old, are you sure that you are using the same version of Visual Studio that the author used? Other than that, find sample.cpp and delete it.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   killerx525 

  • Bleepin' Aussie
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 5,425
  • Joined: 27-September 09
  • Gender:Male
  • Location:Melbourne, Australia

Posted 21 December 2010 - 08:09 PM

Really the book is 7 years old damn, i wasted 41 page printing 1 chapter, luckily i haven't purchased the book yet. The author is using the 2008 version whereas i'm using the 2010. Can give me a guide then?
>Michael
System: CPU- AMD Phenom II X6 1090T Black Edition Oc'ed to 3.8GHz, CPU Cooler- Noctua NH-D14, RAM- G.Skill Ripjaws X F3-12800CL9D-8GBXL 8G Kit(4Gx2) DDR3 1600, HDD- Western Digital Caviar Black 1TB 7200 RPM 64MB Cache SATAIII, GPU- Asus EAH6950 1GB Crossfire Oc'ed 900/1310mhz, MB- Gigabyte 990FXA-D3, Case- Coolermaster HAF 932, PSU- Corsair TX-750 V2, Soundcard- Realtek High Definition Audio Sound, OS- Windows 7 Ultimate SP1 64-Bit

#4 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 22 December 2010 - 07:17 AM

A guide for what?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#5 User is offline   killerx525 

  • Bleepin' Aussie
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 5,425
  • Joined: 27-September 09
  • Gender:Male
  • Location:Melbourne, Australia

Posted 22 December 2010 - 07:21 PM

C++ programming.
>Michael
System: CPU- AMD Phenom II X6 1090T Black Edition Oc'ed to 3.8GHz, CPU Cooler- Noctua NH-D14, RAM- G.Skill Ripjaws X F3-12800CL9D-8GBXL 8G Kit(4Gx2) DDR3 1600, HDD- Western Digital Caviar Black 1TB 7200 RPM 64MB Cache SATAIII, GPU- Asus EAH6950 1GB Crossfire Oc'ed 900/1310mhz, MB- Gigabyte 990FXA-D3, Case- Coolermaster HAF 932, PSU- Corsair TX-750 V2, Soundcard- Realtek High Definition Audio Sound, OS- Windows 7 Ultimate SP1 64-Bit

#6 User is offline   Romeo29 

  • Learning To Bleep
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,834
  • Joined: 06-July 08
  • Gender:Not Telling
  • Location:127.0.0.1

Posted 22 December 2010 - 11:06 PM


#7 User is offline   killerx525 

  • Bleepin' Aussie
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 5,425
  • Joined: 27-September 09
  • Gender:Male
  • Location:Melbourne, Australia

Posted 23 December 2010 - 02:51 AM

I've found this website.
>Michael
System: CPU- AMD Phenom II X6 1090T Black Edition Oc'ed to 3.8GHz, CPU Cooler- Noctua NH-D14, RAM- G.Skill Ripjaws X F3-12800CL9D-8GBXL 8G Kit(4Gx2) DDR3 1600, HDD- Western Digital Caviar Black 1TB 7200 RPM 64MB Cache SATAIII, GPU- Asus EAH6950 1GB Crossfire Oc'ed 900/1310mhz, MB- Gigabyte 990FXA-D3, Case- Coolermaster HAF 932, PSU- Corsair TX-750 V2, Soundcard- Realtek High Definition Audio Sound, OS- Windows 7 Ultimate SP1 64-Bit

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users