InterviewSolution
| 1. |
Solve : C + HAS GOT ME BETWEEN A + AND A COMPILER PLEASE = THE -? |
|
Answer» i have downloaded I BELIEVE GNU C and the GNU++ i believe debugger download it into the compiler First things first- "downloading" is the act of retrieving data from a remote computer, not installing a program or loading a file into a program. This causes a lot of confusion on these forums (for me, anyway). Quote from: RUBY02 on June 24, 2008, 08:37:10 PM after downloading it i read the README and it was built for C "but will compile C++ language ...no. HTML is a markup language, not a programming language, and doesn't need to be compiled, and Java, like HTML, isn't C OR C++, so I'm assuming that a C/C++ compiler wouldn't be able to compile it. Quote from: RUBY02 on June 24, 2008, 08:37:10 PM is HTML a compiler?HTML is a markup language. the web browser Interprets the HTML tags to determine how to "markup" the text. And no, there is no compiler for HTML files (ignoring the mess that becomes Microsoft's CHM format). Quote from: RUBY02 on June 24, 2008, 08:37:10 PM is jdk a compiler?it includes one, jvc.exe. A java bytecode compiler. transforming .java files into java bytecode .class files for the virtual machine, these class files you can subsequently run using the "java.exe" program, or applet viewer. Quote from: RUBY02 on June 24, 2008, 08:37:10 PM i know a java jdk is for java is it a compilererr- why did you ask this twice Quote from: RUBY02 on June 24, 2008, 08:37:10 PM my intended question is after i downloaded the GNU The main hurdle your experiencing here is command prompt itself. mkdir and md would have worked fine had you omitted to square brackets, and added a slash, as in MD C:\path In addition, why and how are you using command prompt to create these files? "copy con"? A more flexible and reliable method would be to use a text editor of some description, such as notepad, and save it with the appropriate filename. which ways have you tried to set the DGJPP variable, and what are you setting it to? chances are it wants to be set to the directory of the DGJPP include files... I'd include step by step instructions but an easier method to to learn exactly what your doing in command prompt. "the files it shows you" on C:\ are PRESENT ON C:\, not files you can deposit (whatever that means). I'd be able to provide more detailed help, but instead of asking more questions you should flesh out the more important ones. Such as how you've gone about "trying to set" the variable, how exactly your entering the files into the command prompt, ETC. This way we can provide more thorough explanations as to why it works the way we describe, as opposed to simply droning off a list of steps to perform your task a single, non-repeatable time. Also, let's stick with the C/C++ or java problems until we resolve them, then we'll go about fixing the other, okay? okay thanks so much for getting back with me. i am as lost as virus in steril file. i worked all day or most reading info on this sight. i believe what this gnu wants me to do is make a batchfile so that i can either enter rhide into the run prompt or open the windows prompt cmd. and enter rhide and the rhide editor pop up. what is happend is i can't set the variable because i am going by the books direction and not my knowledge. the location of the file is different. so i will tinker and when i can ask a knowledgeable question in a fashion you can answer i will do a retake hangten ruby thanks no bytes could compare to your PATIENCE thank you much appreciation by the way if figured out i was using [] and \ and word"path" and on and on this is what baffles me computer instructor are excellent teachers plain and spoken and easy to understand but i am confused why they would write a syntax you can't even use. a new programmer i assume copies exactly the directions. Quote from: RUBY02 on June 25, 2008, 10:09:44 PM by the way if figured out i was using [] and \ and word"path" and on and on this is what baffles me computer instructor are excellent teachers plain and spoken and easy to understand but i am confused why they would write a syntax you can't even use. a new programmer i assume copies exactly the directions. Sounds like you are trying to run before you can walk. Very often, in code examples, square brackets mean "This is an example, change what is in the square brackets to suit your own case". "Path" in those examples probably means "the path to the folder", not the literal word "path". THANK YOU FOR TRYING TO ANWER MY QUESTIONS. you have cleared some hexes and binds berfore i forget i wanted to answer you about the DGJPP FILE I HAVE TRIED TO GET TO HEED TO MY TYPING' I ENTERED THIS IN THE AUTOEXECT.NT FILE OF MY XP SYSTEM32 FILE @echo off---------------------------------THE ECHO OFF WAS THERE ALREADY set PATH=C:\DJGPP\BIN;%PATH% set DJGPP=C:\DJGPP\DJGPP.ENV i also made a file in the same place system32 file an autoexect.exe because i could not find one already in place(i made it with notepad) i also put them in the environmental variables user and system windows i placed them everywhere but my forehead!(i know what your thinking) ===================================================== okay i have scratched the DGJPP C/C++ PROGRAMMING FOR RIGHT NOW! i have scratched the JAVA PROGRAMMING FOR RIGHT NOW. AND I HAVE PUT THE HTML ON HOLD. the reason being i was advised that i should learn LINUX-UNIX. HERE IS MY GOAL AND WHAT I WANT TO DO OR TRYING TO DO i want to learn how to build programs i realize that is in the future. so i bought a few books that claimed in 21 days i would be on my way stacking the world with my brilliant files of excentric programs. i have spent 31 days on the first 10 pages trying to set up the programs to work on by computer. when i couldn't get the first to work such as c++. i drifted into java because i was more familiar (windows used the program to run some of their programs) i downloaded java jdk from their site as directed by their book. i got it all downloaded and such but i don't know where to open the jdk window. (both of these programs i have ended up using notepad and saved the files). i realized that i couldn't do much or anything with them unitl i understood how to make directories and folders that could find each other in their programs(hello world, conversion.cpp, ect...) i was programming in. so i politely thought i would learn how to get the dos prompt to work for me. i soon realized that i needed my head examined. i spent an entire week reading on this site about MS-DOS AND THE COMMANDS. i finally got the command. and cmd prompts to open up and stop flashing me. (i was informed xp does not have MSDOS)(THAT INFO WAS A SCREAM) i tried a few execises on this site (simple one) and i could not get these to work. i have got bytes and pieces from people and i found out like you said [] i did not need. since finding out i didn't have to type exactly like the sites directions with the \, [], and that i use my enter after a command not a line of commands , i may be able to use the prompt more effiently(I haven't tried yet). now, my last point then i have a favor to ask, for the last week i have tried to download LINUX ONTO MY COMPUTER. i found out everyone and their mother loves or uses LINUX AND HAS IT FOR FREE. i found out on stumble it is the number one essental language to use and know. i have tried to download it several times in several different ways such as in ISO FORMAT live through a bit torrent semi live to file from maybe (ftp) from bosnia, cancun, egypt, and georgia university. it downloads and leaves an icon i have tried to download it to a 4 gig slap stick to my c drive to my d drive to my mail box to may car i have tried to to burn it with a cd burner with a cd, with a dvd, with matches, with a lighter, you name it have tried it all. i finally did everything at the same time i started downloading live from the ares sight on my c drive i started the cd burn the program from the d drive something happend and the program that was on my desktop i believe (who knows it could have downloaded from botwania but it burned. after it finished it politely started downloading to my computer it divided my d drive (partitioned) and downloaded what it felt like when i boot i have a choice for xp the kernal the 3 legged boot if i choose xp i get xp if i choose the kernal i get asked a few questions and the a prompt i have not chosen the 3rd so this is where i am......... confused a virus in steril file i have tried to explore the cd, i can open a few files, i don't know what's next this is what i would like to ask ........give me some specific minor commands that an alzhiemers patient in ICU COULD PREFORM. with my (cmd) command prompt whether it is making a batchfile or just changing file.THESE BOOKS get my hopes up then boom it stops there because the next step the command does not work, no such file, ect...... I NEED TO BE ABLE TO COMMUNICATE, IF I GET STUCK, I CAN GET SOME FEEDBACK AND GETTING BACK WITH ME HAS BEEN WONDERFUL I BELIEVE IT IS JUST GOING TO TAKE SOME MINOR PUSHES, BECAUSE I AM PRETTY EFFECIENT ON COMPUTER AND UNDERSTAND MORE THAT I CAN DO. SO IT'S SOMETHING SIMPLE I AM MISSING. with many bytes of graditude i would LOVE tHE computer to say "hello world" kiss my usb, eat my monitor, shut the cd up, eat my dvd. something besides claiming to be gutless(no internal, external) ruby thats my story! i was told i needed to learn how to maniputlate files by changing settings and familarizing myself about how to give commands. to get linux: 1.download the ISO 2.burn to a CD which step is causing the problems?Quote from: BC_ProgrammerBC which step is causing the problems? In the space of 31 days, he got defeated by C, bored with MS-DOS, confused by Java, thinks Linux is a "language"... Quote from: Dias de verano on June 30, 2008, 12:20:55 AM Quote from: BC_ProgrammerBCwhich step is causing the problems? On that topic, where did he get this information: Quote i drifted into java because i was more familiar (windows used the program to run some of their programs) Last time I checked most of windows was written in C, And I don't even think any java programs come preinstalled. Quote semi live to file from maybe (ftp) from bosnia, cancun, egypt, and georgia university. it downloads and leaves an icon which in all likelihood is the image file that needs to be burned. Quote THESE BOOKS get my hopes up then boom it stops there because the next step the command does not work, no such file... this wouldn't be a problem unless one was flying completely blind through the console. Perhaps learning a bit about the command interpreter would be ideal?I AM A SHE! i know it seems like i got board or defeated but exactly what you said at the end is what i realized i needed to do is get familiar with using the commands and such i thought that when i started using or learning c/c++/java that it was like setting up windows. i can take my computer with no program install windows and start using it. these computer programs you have to set them up and make small programs such as "hello world, conversion.cpp, mkdir folders and such. i found out very quickly even the windows cmd. since WRITING and asking for advice i can now make a few commands work so i am getting farther and farthe. like i said before if i could get specific feedback i know i could get the programs set up and start learning. as far as the linux it is burned now some of it did not download into the d directory and i don't know how to unistall i know something is there because my computer gives me options. so i was going to try to reinstall the program. where do i look to see where it's at like i go to windows if i want to see windows program did it just download the kernal and stay on the disk if so USE THE PROGRAM FROM THE DISK. IF SO COULD YOU GET ME STARTED I HAVE NO IDEA. i know windows does not come with preinstalled java i installed it. i should have said that i don't know but i thought i don't know that either i believe i was just trying to explain the programming cycle of learning and realization i needed to back up so i can set these programs up...... now i have tried LINUX..... THIS IS NOT EVEN FUNNY .........YOU GUYS HAVE TO READY TO BAN ME FROM ANY MORE QUESTIONS. YOU WOULD THINK I COULD ASK PEOPLE AROUND ME . IT'S UBELIEVEABLE HOW COMPUTER ILLITERATE PEOPLE ARE CONCERNING COMPUTERS. theses programs just don't miraculously get you going. anyway i can't get my burner to burn the cd for reasons it seems does not recognize it's there because it it not telling it has a files or whatever waiting i can rt click and it gives me the option i thought maybe i couldn't because of my disk space it kept telling me it was getting low so i went about erasing all the bit torrents, iso recorder and a different verisons of linux and started over. i think now i just need something NOT A BIT FUNNY THIS IS SAD I HAVE ALL THESE PROGRAMS AND CAN'T THEM STARTED IT'S SOMETHING SIMPLE I HAVE WENT AHEAD AND WROTE SOME OF THE PROGRAMS IN THE BOOKS I UNDERSTAND HOW AND WHAT THE COMMANDS DO. RUBY so i downloaded an ISO RECORDER that did no good either Quote from: RUBY02 on June 30, 2008, 05:28:12 PM I AM A SHE! Sorry, we didn't know you're gender, and using "they" would be gramatically incorrect , Besides, visitors to this site are predominantly male. Oh well. If the Linux CD is an ISO, use IMGburn, great cd burning software Quote from: RUBY02 on June 30, 2008, 05:28:12 PM i thought that when i started using or learning c/c++/java that it was like setting up windows. i can take my computer with no program install windows and start using it.Here is the misunderstanding. Compilers/Linkers, etc, they are not necessarily designed to be easy to use, since they aren't used by mainstream users, and (the assumption goes) anybody interested in a Compiler/Linker will also know exactly what they are doing. Windows, on the other hand, is designed from the get-go to make a computer more accessible to people who otherwise wouldn't want (or need, but that's a different story altogether) a computer. The thing is, this ease of use my be the root cause of the problem, since your so used to the GUI and the "windows" way of doing things, that you are blindsided into believing the Windows method is the only way of doing it (or more precisely, since GUI tools are all your familiar with, you are (understandably) completely lost on the topic of command lines and so forth. This is what I gather from the information I was able to get from your posts. Personally I HAD to learn the command-line, simply through necessity. I believe I was thirteen, (a mere- 8-9 years ago) and I had a 286 sitting in the closet. Couldn't even run Windows 3.1, so I just tossed DOS 3.1 from my step-dads XT computer on it, and wrote batch files. I got into it over time, and acquired newer hardware (thanks to my computer science teacher in high school). The best solution is reading. And NOT information on the internet. Why? Well, first a lot of information on the web is inaccurate. Since you're learning some of this stuff for the first time, you want correct information. In addition, people comprehend books a lot better then On-line material (At least I do). Personally I got into programming (with VISUAL Basic 2) with the DOS 6/Windows 3.1 Manual, The Visual Basic Programmers Guide, Language Reference, and "professional Features" manual. Now, let's see if I can answer some *more* of your questions As I said before, there are only two steps required in getting Linux. First download, then burn the ISO. you will need a program that can burn the image, the windows built-in burning facilities are limited and frankly blow. I recommend a program called IMGburn, it can burn ISO files and the like. Quote from: RUBY02 on June 30, 2008, 05:28:12 PM where do i look to see where it's at like i go to windows if i want to see windows program Don't take this the wrong way, but I'm having a lot of trouble understanding a lot of what your asking/posting- here is a prime example. Your asking about getting Linux, and yet there is something about a Windows program here sorry! Also: Quote i can rt click and it gives me the option i thought maybe i couldn't because of my disk space it kept telling me it was getting low so i went about erasing all the bit torrents, iso recorder and a different verisons of linux and started overwhat option, what are you right clicking, what ISO recorder? The linux CD is an Image because it is bootable. you will need to boot the computer with the Linux CD. And, in order to install you will need a partition separate from your Windows Drive. If you don't have one, I'm not sure wether it will work, since I have never installed linux. Also, you are definitely trying to learn too many things at once, Java, C++, etc. do one at a time. preferably in order of difficulty. For example, HTML is a very simple start, it isn't a programming language, but it can get you put into the right mindset, where the computer can only do what you ask it to. Then you can try moving onto a programming language. Also, if you want answers, you could ask one question at a time- you are asking many questions, and I really don't know which ones you would prefer were answered, and also other questions are based on hypothetical answers to your other questions. Do keep asking questions though, and I will do my best to answer them what happend was when i made room on my disk the burner burned the linux then it downloaded now what on the boot it gives options that take me to nowhere. does it stay on the disk i burned. rubyQuote from: RUBY02 on June 30, 2008, 06:29:08 PM now what on the boot it gives options that take me to nowhere.can you elaborate?i am reading the readme files for the dgjpp compiler it i checked the longfile it accepts them next i was told that xp is not based on MS-DOS SYSTEM BUT NT but that it has a dos emulator so that it can emulate the old systems that it does take some commands. (not really called dos commands)okay i screamed.....accepted....moved on now i am trying to figure out why i can't get this DGJPP TO LET ME USE THE RHIDE INTERFACE they inform me how to fix certian settings if fix the longfile name or looked it already accepted THE DPMI SERVER BUILT INTO NT LOSE DOS MEMORY ....DOS MEMORY? NOW I AM LOOKING AT THE NEXT SETTING IS THE DJGPP IDE RHIDE the readme says it needs a -m switch to work how do you do this? above before these directions because dos and nt so interwined i got confused but does the RHIDE program work on NT i could have sworn it said it did not that you had to use the MS-DOS WINDOW RUBY |
|