mr_mohamed's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 9 (0.02 per day)
- Joined:
- 08-February 12
- Profile Views:
- 307
- Last Active:
Oct 11 2012 04:43 AM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Linux
- Favorite Browser:
- FireFox
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: clreol();
Posted 24 Feb 2012
jimblumberg, on 24 February 2012 - 12:18 PM, said:You may want to look at the topic in the C++ discussion forum for a list of Book recommendations. There are quite a few good recommendations such as this Book list provided by Salem_c in post #4.
Jim
Thank you Jim
have a nice day -
In Topic: clreol();
Posted 24 Feb 2012
jimblumberg, on 24 February 2012 - 11:25 AM, said:Actually I was talking about the function, not the header file. The conio.h header file is still supplied by most of the current Windows compilers. This function, however is not supplied by most of these modern Windows compilers (I'll even include the outdated Devc++ as modern).
I do agree that the use of the conio.h header file should be discouraged for most usages. I also agree that this header is non-portable, it only works for a Windows console program.
Jim
Yes Jim you are right. And I was trying to create my own program, and I had to clear the end line of the printf(); statement so I searched for it and got the option called clreol(); and it normally included in the conio.h library. Since I am using DevC++ not all of the functions those are available in conio.h are accessible(But I earlier used turbo C and it worked well). Only few functions are accessible, such as getch(); . Since I am an Beginner - Intermediate programmer I have to go through some more books and sources again.
so, can you please suggest some books and sources for my studies Jim? -
In Topic: clreol();
Posted 24 Feb 2012
jimblumberg, on 24 February 2012 - 09:45 AM, said:What header file are you talking about? Normally, if this non-standard function exists, you would just include the proper header file. However this function is not available with most modern compilers, it was only available with an old outdated, obsolete compiler, which I will not name.
Jim
in conio.h library there are no clreol.c functions. So I'm trying to create a header file for the clreol(); function. I've got some other header source codes but it seems like not working.
Here is the codings I got through the net
#include <conio.h> void clreol (void) { if (!ConioInitialized) textmode(LASTMODE); wclrtoeol(CurrentWindow); wrefresh(CurrentWindow); } -
In Topic: error by using gotoxy (); in c language
Posted 20 Feb 2012
no2pencil, on 20 February 2012 - 11:30 PM, said:This doesn't really address the main questions, but you could remove the comments by using pre-processor defines to detect the operating system at runtime.
My problem is not with the comments. I have commented gotoxy(); because I didn't want to get errors. Since it's a simple program we can run this even without that gotoxy(); in Devc++ compiler.
But for some other programs this gotoxy(); is very important. That is why I really want to know an alternative way of using gotoxy();. -
In Topic: problem while loop function
Posted 8 Feb 2012
thanks you so much @r.stiltskin . The problem is solved.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Programming Languages:
- C, C++, Java, Python, Perl, Ruby, PHP
Contact Information
- E-mail:
- Click here to e-mail me
- Facebook:
- http://www.facebook.com/ineversleeep
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
ahmed12345
19 Feb 2012 - 12:07Goals:
1. Demonstrate knowledge of abstract classes and interfaces,
2. Show how to handle exceptions.
Design:
This is an assignment about Assignments and Grades. Some Assignments in this class are Gradab...