- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 8
- Posts with Downvotes
- 5
- Downvoting Members
- 8
18 Posted Topics
Re: [QUOTE=WaltP;297871]Don't know. Have you tested the [I]hidemouse()[/I] function outside of this program?[/QUOTE] I can help u out. I have a simple function restrictmouseptr() wanna it ? | |
| |
Re: [QUOTE=lotsofsloths;295708]Ok, im not that much of a geeky smart guy in C++, but i've got some skillz.. so im trying to make a [B]very[/B] [B]simple game[/B] that will randomize 1 number for the computer and 1 number for the person using the program and whomever(person or computer) gets the highest … | |
Re: You can create a game in C 1) A CAR RACE game. OR 2) A game like BATTLE FIELD/TANK. | |
Re: U can make a game in C Graphics. For this if u need any help, feel free to ask me... | |
Re: [QUOTE=Elfshadow;313317]I started learning C++ as my first language. But some of the OOP stuff gives me trouble. I know C is a widely used language like C++ and has about the same syntax but isn't OOP.I have tried some basic C so i have not got parts that are different … | |
[B]Wat according 2 u ppl is the strongest cryptography for c ?:!: [/B] [B]I mean that can be acctualised using a C program.[/B] | |
Re: [QUOTE=flageolet;306633]Why won't the 'luck' function get executed? Pasting the code of my tutorial in my compiler creates the exact same error as the little test code below: 'luck' undeclared. First use this function. I use dev c++ Thx ;) [code] int main() { printf("hellow (printed in main)\n"); luck(); return 0; … | |
Re: key press can be detected, very easily in C ! just write a function, whuch gets the ascii & scan codes of the key pressed ! wanna its code ... ? | |
Re: wats ur problem, exactly ? check the 'INSERT' key. | |
Re: [I] [COLOR=#000000]22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1[/COLOR][/I] [I][COLOR=#000000][/COLOR][/I] [COLOR=#000000]wats this[/COLOR] [COLOR=#000000]how u expect this ?[/COLOR] | |
[B][COLOR=blue]I have been working with C, in TURBO compiler.[/COLOR][/B] [B][COLOR=blue]Now I have started C++, in VC++ compiler.[/COLOR][/B] [B][COLOR=blue]But, now, I m unable to clear screen (clrscr() don't work), can't write at any desired location (gotoxy() don't work)[/COLOR][/B] [B][COLOR=blue]Can anybody plz tell me their equivalents ?[/COLOR][/B] | |
Re: i work in tubo c compiler. if u want 2 enode using that, i can help. | |
Re: Install Turbo C++ then type graphics.h then with ur blinking cursor on that word press ctr+F1 then explore various available functions under it ! | |
Re: I know one way, in which u can achieve this In graphics mode: draw a horizontal line (about 5 pixels). This will be ur cursor. Now to blink it, save this image (using getimage()) then after some time ( use a counter ) , remove that image from its current … | |
[COLOR=blue]Write a program that, when run, will print out its source code. This source code, inWrite a program that, when run, will print out its source code. This source code, in turn, should compile and print out itself. turn, should compile and print out itself.[/COLOR] :p | |
Re: [QUOTE=dwks;295162][url]http://www.daniweb.com/code/snippet83.html[/url] [url]http://www.daniweb.com/code/snippet72.html[/url][/QUOTE] every chatacter occupies 2 Bytes in VDU memeory. First is for its ascii value, while next for its color. To change the color of the text, u need to change this Byte. |
The End.