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 †
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.
 
HomeForumC++ Programming 2a512xyPortalLatest imagesGalleryC++ Programming Dw6hztSearchC++ Programming 2ns506pC++ Programming 2dt2b75RegisterLog 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
jerufonsseca
jerufonsseca
Admin
Admin

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

C++ Programming Empty
PostSubject: C++ Programming   C++ Programming EmptyWed 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
Admin[Mr.Anon14]
Admin[Mr.Anon14]
Admin
Admin

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

Hacker's Info
Hacking Exp:
C++ Programming Left_bar_bleue0/0C++ Programming Empty_bar_bleue  (0/0)
Hacker Type: White Hat
Hacking Title:

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

POsting ALignment in this Thread Fixed!

Sorry for the inconcevience!


Regards,
GreyPhantom
Dark Ages Devs
Back to top Go down
http://darkages.canadianforum.net

paronia
New Member
New Member

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

C++ Programming Empty
PostSubject: Re: C++ Programming   C++ Programming EmptyMon 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
Admin[dElmARk]
Admin[dElmARk]
Forum Owner
Forum Owner

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

Hacker's Info
Hacking Exp:
C++ Programming Left_bar_bleue0/0C++ Programming Empty_bar_bleue  (0/0)
Hacker Type: White Hat
Hacking Title:

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

I will contact admin jeru to update this post.

-Thanks
Back to top Go down

paronia
New Member
New Member

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

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

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

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

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

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

paronia
New Member
New Member

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

C++ Programming Empty
PostSubject: Re: C++ Programming   C++ Programming EmptyTue 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
jerufonsseca
jerufonsseca
Admin
Admin

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

C++ Programming Empty
PostSubject: Re: C++ Programming   C++ Programming EmptyThu 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
Admin[dElmARk]
Admin[dElmARk]
Forum Owner
Forum Owner

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

Hacker's Info
Hacking Exp:
C++ Programming Left_bar_bleue0/0C++ Programming Empty_bar_bleue  (0/0)
Hacker Type: White Hat
Hacking Title:

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

Nevermind him jeru.
Back to top Go down

Sponsored content



C++ Programming Empty
PostSubject: Re: C++ Programming   C++ Programming Empty

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