182 Posted Topics
Re: Here's some examples [url]http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles4.html[/url] | |
Re: Richard Dawkins talks about the flatfish [url]http://www.youtube.com/watch?v=bldN-lbyqsE[/url] | |
Re: If you make the parallel port pins high, they stay high until you make them low. [QUOTE]Not that simple,the motor will not understand computer signals,[/QUOTE] This is just nonsense. | |
Re: y = a * sin (angle in radians) where a is the amplitude of the wave. y is the instantaneous amplitude at any point. A complete cycle is traced out after 2Pi radians or 360 degrees. | |
Re: Install the glut devpak [url]http://www.nigels.com/glt/devpak/[/url] | |
Re: [url]http://www.allaboutcircuits.com/vol_4/index.html[/url] Chapters 7,8 | |
Re: Maybe SDL. [url]http://lazyfoo.net/SDL_tutorials/index.php[/url] See lesson 2. | |
Re: The Windows operating system makes it more difficult than it should be. If I needed to use the parallel port, I'd look into Matlab, or maybe Python. | |
Re: Complex numbers are supported. [url]http://books.google.com/books?id=Nfh5-L3NBTQC&pg=PA67&lpg=PA67&dq=c+from+novice+to+professional+complex&source=web&ots=Ny0_1k8kse&sig=_afZdiOLhi6B3iLfyisPDdCwNUw[/url] | |
Re: Division by subtraction is how many times a number can be subtracted from a number until you're left with nothing. eg 6/3 = 2. Three can be subtracted from six twice. Therefore you should be incrementing a value from zero, after each subtraction. [CODE]while( num != 0) { num = … | |
Re: Some if else statements would be better [url]http://gd.tuwien.ac.at/languages/c/programming-bbrown/c_025.htm[/url] [QUOTE] also say i wanted to list several numbers in one if statement how would i do that?[/QUOTE] Logical operators [url]http://www.cs.utah.edu/~zachary/computing/lessons/uces-11/uces-11/node9.html[/url] | |
Re: If you have to use graphics.h for this assigment look here [url]http://www.electrosofts.com/cgraphics/index.html[/url] | |
Re: graphics.h is a header for the old Borland compilers. It won't work in your environment. You'll need TurboC++, but it's for DOS. It should run under XP, but not recommended. | |
Re: [QUOTE=Aia;513788][I][B]"Don't let school get in the way of your education." [/B][/I]~[B][URL="http://en.wikipedia.org/wiki/Mark_Twain"]Samuel Langhorne Clemens[/URL][/B]~ What would prevent you from installing a modern compiler and trying to learn by your own, if that is what's required for you to learn correctly? Giving to Cesar what's Cesar's and to you what you need … | |
Re: XP comes with the program Hyperterminal which does this. | |
Re: [QUOTE]but i thing that because the first 7-seg. will be always "0" [B]i would have the same result if i plug it into the power supplier[/B].[/QUOTE] Look at the pdf attached. Connect up your two 7-segs similar to that. The only difference here is, there are 4 in parallel here, … | |
Re: Use sprintf() to convert an integer to string. | |
Re: Here's a good place to start [url]http://www.sthurlow.com/python[/url] | |
Re: Can't you use a variable to keep a running count of the frames, then render certain things after so many frames. You're not going to notice times smaller than the time for a frame anyway. [code]while(1) { frameCounter++; if (frameCounter == 10) render1(); // draw something after 10 frames render2(); … | |
Re: Just to note. It isn't necessary to use binary to work out this example. ASCII goes from 0 to 127. 'a' is 97. If you add 31, you're back to 0. You could add 95 to get the same result. 223 is another 128 on from that. | |
Re: Take a look here at cin.ignore() and cin.get() [url]http://www.cprogramming.com/tutorial/lesson1.html[/url] | |
Re: Looks like there are four 7-segments being mutiplexed together. PORTB sends the data out to the 7-segment selected in turn by PORTA with a slight delay between each. I have no experience with C programming on PICs so I can't say if the program is right. Does it compile?. A … | |
Re: I think you'd have a higher chance of getting help with this one at an electronics forum rather than a software forum. Here's a good one in case. [url]http://www.electro-tech-online.com/[/url] | |
Re: How to Compile C programs in Visual C++ 2005 [URL]http://cplus.about.com/od/learningc/qt/compilingc.htm[/URL] ![]() | |
Re: The code maybe the same as the code used in the program that works on the other system, but if the bgi files are in a different location on both systems, it won't run on both. Did you physically check that the graphics drivers are in the location specified in … | |
Re: [quote]But notepad is not good for writing code, the worst is that it doesn't show the line number, and doesn't enable you to go to a certain line number, either.[/quote] Notepad shows the line numbers and allows you go to certain line numbers. View > Status bar | |
Re: [QUOTE]Perhaps it is my machine (its RAM is not very strong I admit, but still) I just wonder if it is Borland 2005, my machine, or both. What IDE would you recommend for a Java beginner to start off with?[/QUOTE] I recommend BlueJ, it's nice and simple. [url]http://www.bluej.org/download/download.html[/url] | |
Re: You can't have whitespace in a variable's name like this: int numerator a; You'd have to declare that variable something like this instead: [code] int numerator_a; [/code] Then if you wanted to store an integer in this variable using scanf, it would be this: [code]scanf("%d", &numerator_a); [/code] Notice how the … | |
Just wondering. Is using Glut with OpenGL still popular and recommended? | |
I'm having a bit of trouble understanding what [B]glLoadIdentity[/B](); does in OpenGL . This is a quote from the Redbook. "Recall that the viewing transformation is analogous to positioning and aiming a camera. In this code example, before the viewing transformation can be specified, the current matrix is set to … | |
Re: F7 to compile and F5 to run. | |
Re: You could just simply put the files in a folder along with your exe too. | |
Re: If it did just ask for 63 hex as an answer, "representing the ASCII characters for the value" should have been left out, which makes no sense as the decimal value 99 represents only one ASCII character. You sure the question was worded like that? | |
![]() | Re: [quote=amrbekhit;354821]Hi all, I've been trying to understand how an assembler assembles the JMP command. Consider the following code: [code]AGAIN: OUT 0,AL JMP AGAIN[/code] The assembler turns this into the following hex: [code]E6 00 EB FC[/code] The FC at the end corresponds to a displacement of -4. I would have thought … |
I used what's below to delete a directory. It only deletes the directory if it's empty. How could I delete a directory and it's contents? [code] #include <unistd.h> int main() { rmdir("C:\\haha"); return 0; } [/code] | |
Re: Your question doesn't make sense. C++ is a programming launguage. You can't download C++. ![]() | |
Re: Might be a useful link [url]http://today.java.net/pub/a/today/2006/04/25/writing-cool-games-for-mobile-devices.html[/url] | |
Re: Anyone know if the 2006 version of Turbo C++ comes with that graphics library? | |
Re: [quote=Bamaman37;319187]Hi, I'm working on a project, but I am lost in this class. I'm taking this distant ed Java class, I work 50 hours a week, and I live 2 hours from the school. Needless to say, I can never get in touch with the teacher. Anyways, I'm trying to … | |
Re: [quote=abhijit11;319332]hi, Now am trying to display something the user enters onto the graphics screen. like if am accepting his initial into 'a' and want to display it. How should i do it used :- I think it would be. outtextxy(13,13,a) - but its givin the below error[/quote] I think it … | |
Re: They're called opcodes it and depends on the processor. example [URL]http://courses.ece.uiuc.edu/ece390/resources/opcodes.html#HA[/URL] | |
Re: Download [url]http://www.ccleaner.com/[/url] Start CCleaner. Click on the "Options" icon at the left side of the window, then click on "Advanced." Deselect "Only delete files in Windows Temp folders older than 48 hours". Click on the "Cleaner" icon on the left side of the window, then click Run Cleaner to run … | |
Re: Electronic Engineers use Assembly to program microcontrollers, used in just about everything like cars, microwaves, washing machines etc. | |
Re: scanf() needs an ampersand before the variable name when inputting numbers. scanf("%f", &num); | |
Re: Download [url]http://siri.urz.free.fr/Fix/SmitfraudFix.zip[/url] Extract the content (a folder named SmitfraudFix) to your Desktop. Open the SmitfraudFix folder and double-click smitfraudfix.cmd Select option #1 - Search by typing 1 and press "Enter"; a text file will appear, which lists infected files (if present). Please copy/paste the content of that report into your … | |
Re: You've described a smitfraud infection, and a special tool is needed. You'll need to post a Hijackthis log Install Hijackthis and click do a system scan and save a logfile. [url]http://downloads.malwareremoval.com/HJTsetup.exe[/url] Copy and paste the log here. | |
Re: For a 2 input AND gate, you have 4 possible combination of inputs(0 to 3 in binary) . The output will only be a 1 if the two inputs are a 1, otherwise the output is a 0. For a 2-4 bit decoder, you have an output for each combination … | |
Re: Please download Vundofix.exe to your desktop [url]http://www.atribune.org/ccount/click.php?id=4[/url] Double-click VundoFix.exe to run it. Click the Scan for Vundo button. Once it's done scanning, click the Remove Vundo button. You will receive a prompt asking if you want to remove the files, click YES Once you click yes, your desktop will go … |
The End.