Go Back  Bike Forums > The Lounge > Foo
Reload this Page >

[GEEK] I hate Visual Studio (for C).

Foo Off-Topic chit chat with no general subject.

[GEEK] I hate Visual Studio (for C).

Old 12-06-09, 05:47 PM
  #1  
MrCrassic 
Senior Member
Thread Starter
 
MrCrassic's Avatar
 
Join Date: Jun 2007
Location: Brooklyn, NY
Posts: 3,650

Bikes: 2008 Giant OCR1 (with panda bear on the back!)

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
[GEEK] I hate Visual Studio (for C).

Why?

Code:
error C2275: 'u_int' : illegal use of this type as an expression
100+ errors on code that compiles PERFECTLY FINE in UNIX...

Why?

Microsoft do not support C99 and haven't announced any plans to. I believe they intend to track C++ standards but consider C as effectively obsolete except as a subset of C++.
New projects in Visual Studio 2003 and later have the "Compile as C++ Code (/TP)" option set by default, so any .c files will be compiled as C++.
__________________
Ride more.

Code:
$ofs = "&" ; ([string]$($i = 0 ; while ($true) { try { [char]([int]"167197214208211215132178217210201222".substring($i,3) - 100) ; $i =
 $i+3 > catch { break >>)).replace('&','') ; $ofs=" " # Replace right angles with right curly braces
MrCrassic is offline  
Old 12-06-09, 06:03 PM
  #2  
no1mad 
Thunder Whisperer
 
no1mad's Avatar
 
Join Date: Apr 2008
Location: NE OK
Posts: 8,864

Bikes: '06 Kona Smoke

Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
Quoted: 270 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Think of as an opportunity to build character.
__________________
Community guidelines
no1mad is offline  
Old 12-07-09, 07:49 PM
  #3  
challaday
Senior Member
 
Join Date: Sep 2008
Location: Just this side of insanity.
Posts: 575

Bikes: Too many

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
There you go again... assuming M$FT cares about standards. Well they care, but only if they're setting them. Why don't you just compile with GNU (gcc) on the windows box? You can't beat the price.
challaday is offline  
Old 12-07-09, 09:22 PM
  #4  
Tom Stormcrowe
Out fishing with Annie on his lap, a cigar in one hand and a ginger ale in the other, watching the sunset.
 
Tom Stormcrowe's Avatar
 
Join Date: Mar 2006
Location: South Florida
Posts: 16,126

Bikes: Techna Wheelchair and a Sun EZ 3 Recumbent Trike

Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Likes: 0
Liked 1 Time in 1 Post
Because it's not Unix?

Originally Posted by MrCrassic View Post
Why?

Code:
error C2275: 'u_int' : illegal use of this type as an expression
100+ errors on code that compiles PERFECTLY FINE in UNIX...

Why?
__________________
. “He who fights with monsters might take care lest he thereby become a monster. And if you gaze for long into an abyss, the abyss gazes also into you.”- Fredrick Nietzsche

"We can judge the heart of a man by his treatment of animals." - Immanuel Kant
Tom Stormcrowe is offline  
Old 12-08-09, 02:25 AM
  #5  
DannoXYZ 
Senior Member
 
DannoXYZ's Avatar
 
Join Date: Jul 2005
Location: Saratoga, CA
Posts: 11,739
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 101 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Get Metrowerks Codewarrior. After using it, you'll never ever touch that M$FT crap again! Heck, even freeware CYGWIN will compile it better than Visual Studio.
DannoXYZ is offline  
Old 12-08-09, 09:52 AM
  #6  
KingTermite 
On my TARDIScycle!
 
KingTermite's Avatar
 
Join Date: Jun 2005
Location: Eastside Seattlite Termite Mound
Posts: 3,925

Bikes: Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 5 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Yeah, but you have to admit, the debugger is a LOT better than Gdb!

edit: Meant Gdb, not Gcc.
__________________
Originally Posted by coffeecake View Post
- it's pretty well established that Hitler was an *******.

Last edited by KingTermite; 12-08-09 at 09:59 AM.
KingTermite is offline  
Old 12-08-09, 09:58 AM
  #7  
StupidlyBrave 
Chepooka
 
StupidlyBrave's Avatar
 
Join Date: Sep 2006
Location: South Central PA
Posts: 1,169

Bikes: 1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed

Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 188 Post(s)
Liked 3 Times in 3 Posts
Originally Posted by KingTermite View Post
Yeah, but you have to admit, the debugger is a LOT better than Gcc!
At doing what? gcc is a compiler.
StupidlyBrave is offline  
Old 12-08-09, 09:59 AM
  #8  
KingTermite 
On my TARDIScycle!
 
KingTermite's Avatar
 
Join Date: Jun 2005
Location: Eastside Seattlite Termite Mound
Posts: 3,925

Bikes: Trek 520, Trek Navigator 300, Peugeot Versailles PE10DE

Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 5 Post(s)
Likes: 0
Liked 0 Times in 0 Posts
Ooops...I meant Gdb ( and you knew it )!
Originally Posted by StupidlyBrave View Post
At doing what? gcc is a compiler.
__________________
Originally Posted by coffeecake View Post
- it's pretty well established that Hitler was an *******.
KingTermite is offline  
Old 12-09-09, 07:15 PM
  #9  
StupidlyBrave 
Chepooka
 
StupidlyBrave's Avatar
 
Join Date: Sep 2006
Location: South Central PA
Posts: 1,169

Bikes: 1990 Trek 1400 7spd; 2001 Litespeed Arenberg 10 speed

Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 188 Post(s)
Liked 3 Times in 3 Posts
Originally Posted by KingTermite View Post
Ooops...I meant Gdb ( and you knew it )!
I wasn't sure what the wink emoticon was for.

My experience is the opposite. When I was doing primarily C, the optimal environment for me was Xemacs, gcc, gdb, make and rcs toolset. At the time, it was coding on either SunOS or Solaris and porting to Ultrix, IRIX and/or HP/UX. Win32 porting came later and it was very painful at first. I never did 16 bit windows programming.
StupidlyBrave is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.