Posted Friday, May 29, 2009 by admin
How can I start? Is there any free e-book or tutorial?
Does it work on a interpreter or compiler, if so which is recomended?
Posted in Programming Design
Posted Friday, May 22, 2009 by admin
Hello, I am running Linux on my PC. I want to learn how to program, and I have a book on writing code in the C++ language. I wrote my first program, very short safe and simple, following instructions from the book. I used the KWrite text editor in Linux Mandriva 2009. Unlike Windows, where you canm just put the file extension as “.exe” and click on it, you have to do something called “compiling” in Linux (I think

). Now, I saved it as .cpp, I think that was what I was supposed to do. But I can’t figure out how to run it. Any tutorials I have found claim to be for a complete beginner, but then I can’t understand them at all. I just want to run it to see if it will work. All the tutorials have me going into the command prompt ( well I think Linuxes is called Konsole) and typing stuff like “gcc” but I don’t know what any of that is. Apparently I need a compiler, but I don’t really know what that is, or how to use it, or how to install it; especially since the Linux way of installing is so much diferent from Windows’! I finally managed to install LimeWire…:P But anyway, does anyone know if I need a compiler for Linux, and where to download one for Linux, and how the heck to install it on Linux? And then how would I re-write my program in it, or would I just have to do something in Command Pr–uhhh…Konsole?

Also, the book said to put my “include directive” (#include) as “iostream.h” But when I run this in Konsole, it says the directive does not exist on my system. Ughhh. So, I would REALLY like some help. My book gives a simple program to take the peas in a pod, the number of pea pods, and uses the program to find out the total number oif peas. Also, if anyone could find me any tutorials on how to download and install a “compiler” if I need one, and anything else that is needed, for LINUX, and how to write programs using that compiler and then how to actually run them on Linux, and what the name of my include directive should be, then I would be eternally greatful. Thanks everyone, if you need to write a more complicated answer, feel free to contact me via AIM:
ryanleonhart94
Yahoo Messenger:
squall_94
or my e-mail address:
squall_94@yahoo.com
Thanks again, everyone, in advance. I’m really looking forward to doing this and finding out if my program works (even if I did copy most of it from a book!) And as you can tell, I’m a Linux newb.

I look forward to answers!
Posted in Programming Design
Posted Thursday, May 21, 2009 by admin
hi i want to learn graphics programming in java. can anyone tell me which compiler should i use and where can i get an ebook for that
Posted in Programming Design
Posted Wednesday, May 20, 2009 by admin
How would you promote with them.
What would you include in the brandable ebook?
Posted in Programming Design
Posted Thursday, April 30, 2009 by admin
Hello people.
I’m actually looking for some good e-books for LISP and ProLog beginners.
I’d be very gratefull if someone provides me with them.
And also I’d be more gatefull if someone helps me find the compilers(or interpreters) for them..
Thanks alot..
Posted in Programming Design
Posted Thursday, April 16, 2009 by admin
ok friends……my instructor asked me to prepare an assignment on what all are the activities and operations happening when a compiler compiles a program (say a C or C++ program)…….i have to prepare it to a minimum of 10 to 15 pages with all the details………can u suggest me any idea or any sites that i can refer to for this assignment…even an ebook will do……
Posted in Programming Design
Posted Saturday, April 11, 2009 by admin
Ok so I have a bit of experience in C++ (Just a High School programming class last year) and I recently decided to get back into it. So I found an E-book online and it was talking about how to compile to an executable and what it said was that once you have your source file you then compile it to an object file (.obj) then link separate object files to get your executable
So the build process is like this:
.cpp - .obj - .exe
However I was always taught that you compile your source directly to an executable removing the step where you link these object files.
Making the steps to build to an executable like this:
.cpp - .exe
Can anyone elaborate on this step of linking object files to make an executable for me? I was using Dev-Cpp to compile my source code last year so maybe Dev-Cpp automatically does this for you and the E-Book I am reading is just speaking of different compilers?
Posted in Programming Design
Posted Tuesday, March 24, 2009 by admin
I’m VERY new to C++, and am using a tutorial e-book. It’s up to the point where I learn about classes. It separates the class into two files, with the interface in the .h file, and the implementation in a .cpp file.
However, when I try to compile the test program it doesn’t work! The interface is ITEM1.h, the implementation is ITEM1.cpp, and I’ve got the #include ITEM1.h in the test program. The error is something to do with StockItem::StockItem() (which is the class, with the default constructor) not being defined correctly. If I copy and paste the stuff from the implementation file into the test program, above main(), it works.
Why isn’t it realizing where the implementation .cpp file is? Is it my fault? A compiler error? Something I haven’t specified? ANY help would be appreciated.
Thanks in advance!
No, it finds the .h file fine, I know this because it gave me a specific error because the name wasn’t capitalised. It’s not understanding the information in the implementation file, the .cpp file. The implementation file is separate from the other cpp file, the test program.
The implementation file contains all the info for stuff such as the member function StockItem.Display(), which displays some variables. In the .h file, it is just listed as void Display(), but in the implementation it’s got all the code needed. The test program references StockItem.Display(), but it doesn’t work.
When I include the contents of the implementation file into the test program, it works!!!!
Posted in Programming Design
Posted Saturday, March 7, 2009 by admin
i am a beginner. i want to learn oracle9i database track. tell me the website where i can download books for it. you may send me the ebooks or point out the specific path of oracle documentation webpage. thax.
Posted in Programming Design
Posted Saturday, March 7, 2009 by admin
I’m using the book writing compilers and interpreters with the source code on ch 10. What I need help in is making it so that the compiler/interpreter work with c++ instead of pascal (e.g ‘{’ as a block and not a comment).
Any help would be greatly appreciated
Posted in Programming Design