mr_mohamed's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
9 (0.02 per day)
Joined:
08-February 12
Profile Views:
307
Last Active:
User is offline 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
Icon   mr_mohamed life is a challenge

Posts I've Made

  1. In Topic: clreol();

    Posted 24 Feb 2012

    View Postjimblumberg, 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
  2. In Topic: clreol();

    Posted 24 Feb 2012

    View Postjimblumberg, 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?
  3. In Topic: clreol();

    Posted 24 Feb 2012

    View Postjimblumberg, 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);
    }
    
  4. In Topic: error by using gotoxy (); in c language

    Posted 20 Feb 2012

    View Postno2pencil, 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();.
  5. 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

Comments

Page 1 of 1
  1. Photo

    ahmed12345 Icon

    19 Feb 2012 - 12:07
    i am having problem in under standing with this assignment, can any one out there help me to better under stand
    Goals:

    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...
Page 1 of 1