- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 10
- Posts with Upvotes
- 9
- Upvoting Members
- 9
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 2
Re: [QUOTE]And yes I would like to learn machine code, but I am so hesitant, I just don't know if that's gonna pay off and I don't want to spend about 5 years of my life on something that doesn't pay off, while for that time I could do something more … | |
Re: void main() is fine. There isn't an OS. The code runs in an infinite loop until the power is removed. | |
Re: Go to c:\tc and make sure there is a folder named "BGI" and that the drivers are in it. | |
Re: With Final Scratch 2, you hook your decks to your laptop and mix your mp3s on vinyl. There's two special records supplied and you select the tracks using software. | |
Re: USB communication is easily 20 times more complex than RS232. No one I know bothers with it. There's a module for the Python language called pyUSB which is said to simplify things. There's also Easy HID. [url]http://www.protongeeks.com/index.php?option=com_content&task=view&id=136&Itemid=30[/url] | |
Re: There are valid reasons why someone would want to write a program in machine code, though I can't myself see why anyone would need to deal in binary. Anyhow, you can hand assemble code by swapping mneumonics with their opcodes, which are mainly giving in hex. | |
Re: Do you know about C File I/O? This is the .bmp format. [url]http://www.fortunecity.com/skyscraper/windows/364/bmpffrmt.html[/url] Open a bitmap in a hex editor as you follow it along. Then extract the data you want. That's the easy part done. | |
Re: [QUOTE=mail2shrid;663145]I'm using DOS and the compiler is turboc..[/QUOTE] This program only works in Turbo C. [code=C] #include <stdio.h> #include <conio.h> int main(void) { unsigned char key, key2; while( (key=getch()) != '\r' ) { if (key == 0) { key2 = getch(); switch(key2) { case 72: printf("up "); break; case 75: … | |
Hi, I'm a beginner and just started Turbo C I wrote this program in the editor main() { float years, days; printf ("Please type your age in years:"); scanf ( "%f", &years); days = years * 365; printf ("You are%.1f days old.\n", days); } I then run the program and … | |
Re: [QUOTE=lonely_girl;740511]well she didnt specify it, we are to make any kind of animation using C eg: mickey mouse or any other cartoon character....if u can plz make me 1 so that i understand it and try makin another myself...[/QUOTE] [url]http://lazyfoo.net/SDL_tutorials/lesson20/index.php[/url] | |
Re: [url]http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles4.html[/url] | |
Re: Have you watched MTV cribs and seen the houses the music artists are living in. In fact, they make most of their money performing at concerts because they're been robbed by the record companies. It's a complexed issue though. Some forms of piracy are obviously more damaging than others. Not … | |
Re: The default position for a person's fingers are ASDF with the left hand and JKL; with the right hand. All other keys are reached from there, so you can start by making the user learn off those keys first. Display variations of ASDF first, then variations of JKL; Then mix … | |
Re: You're calling your functions wrongly. They should look more like this. [code]rad = radius(x1, y1, x2, y2);[/code] rad, is the value you'd print out as well as pass to your other functions like [code]area = areaOfCir( rad );[/code] Don't call area() inside in your radius function. Call it from main … | |
Re: No one on a forum can teach you how to make a game. You need to learn how to program first before you start thinking about making games. | |
Re: You [B]MUST[/B] have only one active antivirus installed (anti-virus now, you can have as many anti-spyware programs as you like) so choose one and uninstall the rest. More than one active AV can cause serious conflicts and cause system crashes, as well as false positives. I recommend keeping Anitvir. Your … | |
Re: I'd be more inclined to recommend a simulator like Isis from Labcenter myself, since it supports numerous microcontrollers and components which you can wire whatever way you choose. | |
Re: Your mobile may have a certain AT command set which would define all the information you can retrieve, via a serial connection, which might be RS-232 although Nokia usually use the FBUS protocol. [url]http://www.embedtronics.com/nokia/fbus.html[/url]. A better idea might be to use a GSM module. Haven't looked into Bluetooth. An easy … | |
I have this C program with multiple files and I want to introduce a new file called enemy.c. and I'm wondering if I'm going about this right. game.h [code] #ifndef GAME_ #define GAME_ extern void game (void); extern void enemyFunc (void); extern int enemyPosX; #endif [/code] main.c [code]int main (void) … | |
Re: What compiler and graphics library are you talking about? | |
Re: [URL]http://www.free-av.com/[/URL] Avira's antivir is the best free anitvirus, proven. | |
Re: You need a receiver IC and modulate the IR signal at what the receiver is set to detect, usually between 32 and 40 kHz for remote control. You'd then need a way of decoding two data signals. [url]http://www.winpicprog.co.uk/pic_tutorial5.htm[/url] | |
Re: The baud rate in bits/sec is the timer overflow frequency divided by 32. It has to be divided by some number because the timer works faster than the standard serial port baud rates. It;s divided by 16 if SMOD is set which doubles the baud rate. | |
Re: You've explained what you need to do, but you haven't asked a question. An LDR in a voltage divider would replace the switch, if your code works for a switch, it will work with a LDR. But it's not going to be very practical, having to line the laser with … | |
Re: And your question? | |
Re: If you were interested in those topics, you'd come up with a project yourself. Actually you'd think up of a number of projects. You'd be spoiled for choice of projects if you were interested. You wouldn't need anyone's ideas to get started. | |
Re: An IR LED and IR phototransistor will do for the car detection. [url]http://home.cogeco.ca/~rpaisley4/ATDetLong.GIF[/url] You can look on [url]http://www.ftdichip.com/[/url] for creating a parallel or serial to USB interface. | |
Re: There isn't anything special about programmers that work for TV broadcasting companies. Yes, they write the programs in the same languages. If you turn on the news and see a bar chart, it may have been written in Python for example. So without knowing your question, I would say, if … | |
Re: An old book but this is the electronics bible. [url]http://www.amazon.com/Art-Electronics-Paul-Horowitz/dp/0521370957[/url] Less advanced, but useful and easy to learn are all of Floyd's books. [url]http://www.prenhall.com/floyd/html/right.html[/url] |