Posts
 
Reputation
Joined
Last Seen
Ranked #469
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
53% Quality Score
Upvotes Received
50
Posts with Upvotes
42
Upvoting Members
39
Downvotes Received
55
Posts with Downvotes
34
Downvoting Members
33
39 Commented Posts
~240.13K People Reached
PC Specs
Ubuntu 12.04, and Windows 7 (almost never use it). Currently trying to setup FreeBSD.
Favorite Tags
Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for monkey_boy_401

Working program [CODE]#include <windows.h> void getcoords(int &x, int &y) { POINT cursorPos; GetCursorPos(&cursorPos); x = cursorPos.x; y = cursorPos.y; } int main() { int x,y; int x2,y2; int dx,dy; while(true) { getcoords(x,y); Sleep(30); getcoords(x2,y2); dx = x2 - x; dy = y2 - y; SetCursorPos(x-dx,y-dy); } return 0; } [/CODE] …

Member Avatar for D_5
0
3K
Member Avatar for Arbus

I don't know about Turbo C++. I thought graphics.h was only for DOS?? But I know you can change colors and fonts with some Windows functions in <windows.h>

Member Avatar for afv
0
4K
Member Avatar for Batch Devil

In batch??? Why would you want to do that??? Batch is really old. It does not have graphics either, nor multiplayer capability. You can make a super simple word-based game but not much more. I advise you try C++ with DirectX or OpenGL or XNA Studio. PS.Is there any difference …

Member Avatar for Jaxonpoop123
0
2K
Member Avatar for christos312

A lot of the servers are Linux nowadays, and it seems it will stay that way for a while. So I would say PHP. But PHP has a lot of shortcomings that it still needs to overcome. The engine itself and the language.

Member Avatar for DaveAmour
0
777
Member Avatar for abelLazm

Granted. You know all the pain now which scars you for life. I wish I was the best programmer in the world

Member Avatar for James_40
8
9K
Member Avatar for Gimper

yew, why conio? It is not standard and not even c++. It is c! And wtf is [CODE]#include <sstream>[/CODE] Never heard of it. sounds like it was developed by nazis lol

Member Avatar for rela
-2
3K
Member Avatar for jeffcogswell
Member Avatar for pittdaniweb

[QUOTE]Anything you can do with a while loop, you can do with a for loop.[/QUOTE] Anything you can do with a for loop, you can do with a while loop. To the OP: If you get ANY programming book about C or C++, you WILL find both kinds of loops …

Member Avatar for rajii93
0
796
Member Avatar for nyt1972

Not sure if it works but this is what I found [CODE]#include "bloader.h" int main(); /*Global Variables BAD BAD:) */ unsigned int oldEBP; struct boot_dir *viewableDirectory; int totalMem; char * passedParams; /*end global vars */ void _start(int memSize, char *parms, struct boot_dir *loadedfiles) { asm("mov %%ebp, %0":"=m"(oldEBP)); viewableDirectory = loadedfiles; …

Member Avatar for imawesome511
0
4K
Member Avatar for SgtMe
Member Avatar for tayspen
Member Avatar for srinath reddy

Good job, but I don't see the reason to post it here unless you have a question, or just want to share something cool/smart idea from your program. At first you didn't even post the link to the program :D

Member Avatar for Jeff_11
0
1K
Member Avatar for drgr33n

Normal cin sucks so I midified it and this is are 2 functions I use instead of cin: [CODE]int kcin(int i) { int variable; while(1) { if (cin >> variable) { break; } if(cin.fail()) { cout << "Input Again: "; cin.clear(); cin.ignore( 1024, '\n' ); //spend a lot of time …

Member Avatar for Juan_8
0
376
Member Avatar for blackcathacker

I like my life, and I don't have any "wishes", unless you consider the goals in life as a wish. This is what happens if your wishes come true: [QUOTE]1) Earn big bucks 2) Have the opportunity to unravel the screts of the Ancients or mystery Example : Bermuda Triangle, …

Member Avatar for james.lu.75491856
0
375
Member Avatar for abelLazm
Member Avatar for Serunson
Member Avatar for Yzk
Member Avatar for abelLazm

Yes, he cannot not be Chuck Norris. Why are you not asking funny questions and the replies are not that funny either?

Member Avatar for <M/>
2
1K
Member Avatar for predator78
Member Avatar for GrimJack
Member Avatar for GrimJack
3
530
Member Avatar for pinkygirl

Linux is kernel. It does all that stuff. Maybe you mean different distributions of Linux? I advise you read the book The Linux Porgrammer's Toolbox by John Fusco. It has a big section about Linux kernel and how it operates. It is impossible to cover all the aspects of it …

Member Avatar for capton
0
307
Member Avatar for GrimJack
Member Avatar for Portgas D. Ace

An Englishman, Frenchman, Mexican, and Texan were flying across country on a small plane when the pilot comes on the loud speaker and says " We're having mechanical problems and the only way we can make it to the next airport is for 3 of you to open the door …

Member Avatar for vinnitro
2
251
Member Avatar for Nikhar
Member Avatar for WolfShield

The Ten Commandments [CODE] char * commandment[10]; commandment[0] = "Thou shalt not dereference a null pointer.\n"; commandment[1] = "Thou shalt not dereference a null pointer, in any case whatsoever.\n"; commandment[2] = "dmr cannot stress this enough: thou shalt not dereference a null pointer.\n"; commandment[3] = "Thou shalt not dereference a …

Member Avatar for itzarun
0
1K
Member Avatar for abelLazm
Member Avatar for DeanMSands3
0
260
Member Avatar for NetJunkie

I started programming almost 3 years ago, when I was 11. First I did some HTML (which is not programming language indeed), but then I really quickly jumped into C++, which is still my language of choice. Currently, I know C++, Python, some Lisp, and trying to learn Assembly. Sadly, …

Member Avatar for Reverend Jim
0
963
Member Avatar for Scuppery
Member Avatar for azareth
0
1K