Elite Coders Society
Hello Guest!
Join us here in this forum!
Please Log in or Register to access more feature in this site.
Start Learning!

† Copyright © 2011 - EliteCoders.forums.ag †


Start sharing and learning new skills about programming and design by building connections with other professional and students.
 
HomeForumPortalCalendarGallerySearchRegisterLog in
Elite Coders Partner Links

EliteCoders™ News!
Hello Guest!, Welcome in our forum. Be active!

Share | 
 

 C++ Programming

View previous topic View next topic Go down 
AuthorMessage
avatar
jerufonsseca
Admin
Admin

Posts : 4
EC-Points : 2011
Thanked : 2
Join date : 03/12/2011
Location : QC

PostSubject: C++ Programming   Wed Dec 14, 2011 9:00 am

C++ Programming
GOTOXY IN C++
This is a sample program that shows how you can use the traditional gotoxy function in turbo to c++ programming.
Code:

#include "iostream"
#include "windows.h"
using namespace std;
void gotoxy(short x, short y){
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
COORD position = {x,y};
SetConsoleCursorPosition(handle, position);
}
int main(void){
gotoxy(28,1 );
cout<<"THIS IS HOW YOU...";
gotoxy(18,8 );
cout<<"...USE A GOTOXY FUNCTION IN C++...";
gotoxy(7,15 );
cout<<"...BY USING THE HANDLE,COORD and SetConsoleCursorPosition Functions!";
gotoxy(25,18 );
return 0;
}


Last edited by jerufonsseca on Tue Dec 20, 2011 12:20 am; edited 7 times in total (Reason for editing : Wrong Alignment!)
Back to top Go down
View user profile
avatar
Admin[Mr.Anon14]
Admin
Admin

Posts : 50
EC-Points : 1064
Thanked : 4
Join date : 08/11/2011
Age : 20
Location : Somewhere can't be seen

Hacker's Info
Hacking Exp:
0/0  (0/0)
Hacker Type: White Hat
Hacking Title:

PostSubject: Re: C++ Programming   Sun Dec 18, 2011 2:13 pm

POsting ALignment in this Thread Fixed!

Sorry for the inconcevience!


Regards,
GreyPhantom
Dark Ages Devs

______________________________________

Facebook Page : https://www.facebook.com/Grey.Phant0m.Vulcan
Blog : http://thegreyphantom.blogspot.com
My Facebook : https://www.facebook.com/Nikko.Bryan.GreyPhant0m.GPHV.SecOrigEscHunter
Thanks For All Your Support, I Appreciated It All
Want More Helps?
Wait For Some Useful Posts or Request It!

I am Grey Phantom , "The Hidden Phantom Of The Generations."


Back to top Go down
View user profile http://darkages.canadianforum.net

paronia
New Member
New Member

Posts : 3
EC-Points : 5
Thanked : 1
Join date : 18/12/2011
Location : earth

PostSubject: Re: C++ Programming   Mon Dec 19, 2011 3:28 am

i saw the proposal that has posted by the owner of this forum
. anyway i am one of the admins of PHS (philippine hackers society )
Back to top Go down
View user profile
avatar
Admin[dElmARk]
Forum Owner
Forum Owner

Posts : 78
EC-Points : 6304
Thanked : 21
Join date : 15/10/2011
Age : 22
Location : Philippines

Hacker's Info
Hacking Exp:
0/0  (0/0)
Hacker Type: White Hat
Hacking Title:

PostSubject: Re: C++ Programming   Mon Dec 19, 2011 10:26 am

I will contact admin jeru to update this post.

-Thanks

______________________________________

Back to top Go down
View user profile

paronia
New Member
New Member

Posts : 3
EC-Points : 5
Thanked : 1
Join date : 18/12/2011
Location : earth

PostSubject: Re: C++ Programming   Mon Dec 19, 2011 2:33 pm

and the code must enclosed in a code tag . lmao =)
Back to top Go down
View user profile
avatar
jerufonsseca
Admin
Admin

Posts : 4
EC-Points : 2011
Thanked : 2
Join date : 03/12/2011
Location : QC

PostSubject: Re: C++ Programming   Tue Dec 20, 2011 12:13 am

wha! Why does it become it a BIG DEAL!?
Back to top Go down
View user profile

paronia
New Member
New Member

Posts : 3
EC-Points : 5
Thanked : 1
Join date : 18/12/2011
Location : earth

PostSubject: Re: C++ Programming   Tue Dec 20, 2011 4:47 am

it's a big deal mr admin since it will affect the code if the html or the bbcode are not disabled . look at the code .. i sense more ' syntax error ' !
Back to top Go down
View user profile
avatar
jerufonsseca
Admin
Admin

Posts : 4
EC-Points : 2011
Thanked : 2
Join date : 03/12/2011
Location : QC

PostSubject: Re: C++ Programming   Thu Dec 22, 2011 2:33 pm

A good programmer can read even the most distorted codes and will not depend on copy-pasting without understanding how the code works.

This is my final message. I will quit as an admin. This is not the good place to teach.
Back to top Go down
View user profile
avatar
Admin[dElmARk]
Forum Owner
Forum Owner

Posts : 78
EC-Points : 6304
Thanked : 21
Join date : 15/10/2011
Age : 22
Location : Philippines

Hacker's Info
Hacking Exp:
0/0  (0/0)
Hacker Type: White Hat
Hacking Title:

PostSubject: Re: C++ Programming   Thu Dec 22, 2011 2:41 pm

Nevermind him jeru.

______________________________________

Back to top Go down
View user profile

Sponsored content



PostSubject: Re: C++ Programming   

Back to top Go down
 

C++ Programming

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Elite Coders Society :: Software Development :: C++ :: C++-

Protected by Copyscape Duplicate Content Finder
Powered By EliteCoders™

Elite Coders Partner Links
GreyPhantomYour Link HereYour Link HereYour Link Here
Yahoo!GoogleFacebookForumotion