Last visit was: It is currently Sat Sep 23, 2023 1:37 pm


All times are UTC-05:00




Post new topic Reply to topic  [82 posts ] 
Author Message
 Post subject:Re: "cpuhacker" returns?
PostPosted:Wed May 05, 2010 3:00 am 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
Better to learn C before learning C++ than not.

(Believe me, I would know - nearly failed CS170 this semester. Somehow I pulled out a C-...)

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Wed May 05, 2010 10:56 am 
User avatar
 

Joined:Tue Mar 02, 2010 4:55 pm
Posts:265
AOL:superactor001
Location:Everywhere and nowhere... But also right behind you and watching you in your sleep >.>
k. thx. hey, is there a difference in the c core structure from c++? becuz i was wondering if a c++ compiler wud work to compile c. and i'm running a windows system with linux on a partition. i'm still getting used to linux.

_________________
access procedure in progress...
...
/root access granted
attempting to input customized user information
upload failure, connection loss
system console session terminated


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Wed May 05, 2010 8:07 pm 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
Anything you can do in C, a C++ compiler should be able to handle, if it's a proper C++ compiler. C++ is backwards-compatible with C.

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Wed May 05, 2010 8:29 pm 
Connoisseur of the Godawful
User avatar
 

Joined:Tue Mar 01, 2005 9:00 am
Posts:456
ICQ:286315965
Website:http://rabidtinker.mine.nu/
Yahoo Messenger:alistair_lynn
AOL:Agent_Vast@mac.com
Location:127.0.0.1
Quote:
Anything you can do in C, a C++ compiler should be able to handle, if it's a proper C++ compiler. C++ is backwards-compatible with C.

-- Griffinhart
Wrong.

EDIT: I should probably give an example.

void* foo = …;
int* bar = foo;

is perfectly valid in C, and it's certainly not in C++.

_________________
Alastair Lynn / Alumnus / Onlink Team


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Wed May 05, 2010 8:39 pm 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
No, I meant that if you write C code, the C++ compiler should be able to recognize and handle it as such - not that you can code in C++ the same way as you can in C.

Unless I have been lied to for these past two semesters.

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Thu May 06, 2010 1:47 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
For the most part, C code can be compiled with a C++ compiler, but there are some differences like the one prophile brings up. It would be very odd to have a C++ compiler _without_ a C compiler packaged with it, though.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Thu May 06, 2010 10:47 am 
User avatar
 

Joined:Tue Mar 02, 2010 4:55 pm
Posts:265
AOL:superactor001
Location:Everywhere and nowhere... But also right behind you and watching you in your sleep >.>
thanks. anyone know how to set up the borland 5.5.1 c++ compiler? i dont know how to write a config file

_________________
access procedure in progress...
...
/root access granted
attempting to input customized user information
upload failure, connection loss
system console session terminated


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Thu May 06, 2010 5:59 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Don't use the Borland compiler. It's broken in many ways. If you are serious about development in Windows, install either Microsoft Visual C++ Express or MinGW. Or, if you're more brave, you could install Linux and use GCC in that.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Thu May 06, 2010 6:13 pm 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
The only upside to Borland's IDE is CodeGuard, as one of my professors showed us.

(Personally I prefer GCC, but I think I've established that already.)

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Fri May 07, 2010 10:04 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Quote:
The only upside to Borland's IDE is CodeGuard, as one of my professors showed us.
From what I saw when I googled it, it's basically Valgrind, right?

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Sun May 09, 2010 2:42 am 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
Sure...? I dunno what Valgrind is.

(My professor was talking about other programs similar to CodeGuard, but the ones he mentioned weren't free.)

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Sun May 09, 2010 7:57 am 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Quote:
Sure...? I dunno what Valgrind is.

(My professor was talking about other programs similar to CodeGuard, but the ones he mentioned weren't free.)

-- Griffinhart
http://en.wikipedia.org/wiki/Valgrind

It's a debugging tool, helps you find memory leaks and such.

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Sun May 09, 2010 6:07 pm 
User avatar
 

Joined:Sat Jun 03, 2006 3:51 am
Posts:1186
Website:http://griffinhart.livejournal.com/
Yahoo Messenger:Squall591
AOL:FinalWarrior591
Location:Look at my horse, my horse is amazing!
Yep, sounds like CodeGuard, then.

-- Griffinhart

_________________
"My word is my honor. My honor is my life."
-- Demonchild, Angelkin, the Blackest Seraph, the Final Warrior

Image


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Tue May 11, 2010 9:27 am 
User avatar
 

Joined:Tue Mar 02, 2010 4:55 pm
Posts:265
AOL:superactor001
Location:Everywhere and nowhere... But also right behind you and watching you in your sleep >.>
how do u guys feel about dev cpp? i got that out of recommendation of my friends college professor (computer engineering). i still dont know how to program becuz i cant get ahold of the tools u guys keep recommending. i still dont have a system at home, otherwise i wud have installed fedora already. btw, can u install os's off a dvdr containing them? becuz fedora is a 2 gig disk image. it wont fit on a cd.

_________________
access procedure in progress...
...
/root access granted
attempting to input customized user information
upload failure, connection loss
system console session terminated


Top
Offline  
 Post subject:Re: "cpuhacker" returns?
PostPosted:Tue May 11, 2010 11:09 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Quote:
how do u guys feel about dev cpp? i got that out of recommendation of my friends college professor (computer engineering). i still dont know how to program becuz i cant get ahold of the tools u guys keep recommending. i still dont have a system at home, otherwise i wud have installed fedora already. btw, can u install os's off a dvdr containing them? becuz fedora is a 2 gig disk image. it wont fit on a cd.
The Dev-C++ IDE is quite dated now. It's not maintained (last update was February 2005), and the GCC version distributed with it is quite old and fairly worthless. The tools I recommended are all free to download and use, so I think instead of scrambling for a half-assed IDE that you can throw on a flash drive, you instead should focus on getting a working computer system. You can configure some very nicely spec'd machines here, and typically find a very very powerful machine for under $1600 (even more powerful than a big name company would provide).

If you intend to install Linux on the machine though, I'd recommend getting a machine with an ATI graphics card. nVIDIA provides nice proprietary drivers with good 3D support, but they are proprietary. No source code provided. The open source nVIDIA driver being developed, known as Nouveau only currently provides buggy 2D graphics acceleration and only software 3D support. In other words, terrible. On the other hand, the open source ATI drivers actually exceed the performance of the proprietary ATI drivers now, and they are getting better with every release. And such drivers mean that you also get nifty features like kernel modesetting.

_________________
- Tycho

Image


Top
Offline  
Display posts from previous: Sort by 
Post new topic Reply to topic

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova