Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 17th, 2006, 9:18 PM   #11
heapwalker
Newbie
 
Join Date: Apr 2006
Posts: 11
Rep Power: 0 heapwalker is on a distinguished road
more primitive you say. c/c++ can be used for machine level programming i was told. bit manipulation and assembly language level operations. is c/c++ in appropriate for this use?
heapwalker is offline   Reply With Quote
Old Apr 17th, 2006, 9:32 PM   #12
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I didn't say a primitive language. I said a primitive machine or working at a primitive level. Perhaps you don't understand yet that the machine is a thing and the language is a tool. The machine is actually a piece of hardware. It has memory. Any part of that memory, presuming it's wired properly, is accessible. Then along comes some guy with an MMU and some sofware, he applies certain voltages to certain pins in order to restrict allowable instructions to a particular subset. The bustard also intercepts user operations and takes over the management of the memory, mapping it at will and parcelling it out at ghost addresses to suit purposes not considered by the average user. You need to go get a book and take a couple days to read it.

C/C++ is not, of course, assembly language level, that's nonsense, but that's not your problem.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Apr 17th, 2006, 9:38 PM   #13
heapwalker
Newbie
 
Join Date: Apr 2006
Posts: 11
Rep Power: 0 heapwalker is on a distinguished road
wow so many words you type. soo many words that i could see you answer confirming peeking into pc memory is inappropriate use that c wasn't design for. could you confirm that c wasn't designed for this use?
heapwalker is offline   Reply With Quote
Old Apr 17th, 2006, 9:40 PM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Nope. Go spend a buck on some comprehension and re-read the thread.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Apr 17th, 2006, 9:52 PM   #15
heapwalker
Newbie
 
Join Date: Apr 2006
Posts: 11
Rep Power: 0 heapwalker is on a distinguished road
your a bit harsh is your reply. clarification is all i wished for.
thank you all for your advice.
heapwalker is offline   Reply With Quote
Old Apr 18th, 2006, 8:00 AM   #16
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Yes, I'm a bit harsh. You, on the other hand, received some bad information and seem to think that entitles you to ask questions while ignoring the answers you receive. Those giving the answers that are ignored tend to feel, quite rightly, that they're pounding sand down a rathole. I said the language had nothing to do with your inability to subvert the machine. That's what I meant. Clarifying it twice over shouldn't be necessary.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Apr 21st, 2006, 9:45 PM   #17
PPoA
Programmer
 
PPoA's Avatar
 
Join Date: Mar 2006
Location: Tennessee
Posts: 41
Rep Power: 0 PPoA is on a distinguished road
He could, of course, make his own OS and then he could do whatever he desires. Right, guys?
PPoA is offline   Reply With Quote
Old Apr 21st, 2006, 10:45 PM   #18
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,260
Rep Power: 5 grumpy will become famous soon enough
:eek: If we want to change the lock on someone's dunny door, we don't usually demolish the city. But, yeah, we could do that.
grumpy is offline   Reply With Quote
Old Apr 24th, 2006, 2:48 AM   #19
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
you don't need c/c++ to access your memory, just get a pair of pliers and rip fucking chunks out your computer and store them in little glass bottles filled with preservative.

jesus...
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Apr 24th, 2006, 7:31 AM   #20
hoffmandirt
Hobbyist Programmer
 
hoffmandirt's Avatar
 
Join Date: Jul 2005
Location: PA
Posts: 125
Rep Power: 4 hoffmandirt is on a distinguished road
Send a message via AIM to hoffmandirt
hahaha oh man that just made my morning.
hoffmandirt is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:49 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC