User Profile

Collapse

Profile Sidebar

Collapse
maher5
maher5
Last Activity: Dec 6 '07, 11:34 PM
Joined: Oct 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • maher5
    started a topic id_font _arial
    in C

    id_font _arial

    hi
    i got an assessment to create a menu and be able to change the colour the font of certain text.

    lots of help was given to change the color of the text.

    i think i know how to change the font as change the color was explaning briefly,

    my question is how to identify the font

    for example identify color is

    case ID_COLOUR_GREEN :
    rgbText = RGB(0, 255, 0);...
    See more | Go to post

  • maher5
    started a topic what does this code do
    in C

    what does this code do

    hi i had some help completing my assignment which i still dont understand fully.

    i dont know what this bit of the code means/do.

    the assignment was the morse code convertion.




    if(cinput[i] == 0x0a || cinput[i] == 0x0a) {
    cinput[i] = '\0';
    break;
    }

    i had the chars and ints defined as follow

    int i=0;
    ...
    See more | Go to post

  • maher5
    replied to char and int input
    in C
    all i want is to be able to print an error msg whenever a char is entered and not crash.. thanks again
    See more | Go to post

    Leave a comment:


  • maher5
    replied to char and int input
    in C
    it is C

    and my problem is when ever a char is entered the porgram would crash
    thats my codings
    note: it is not an assignment so i figured i can insert the codes


    #include "stdafx.h"
    int _tma
    in(int argc, _TCHAR* argv[])
    {
    int input;
    printf("NOTE: To Exit Enter 9999\n");
    do {
    printf ("Enter Int:\n");
    scanf("%d",
    ...
    See more | Go to post

    Leave a comment:


  • maher5
    replied to Graphics in c++
    in C
    sorry didn't notice it was already posted.
    See more | Go to post

    Leave a comment:


  • maher5
    replied to Graphics in c++
    in C
    there is this( The Official Guide to Learning OpenGL, Version 1.1 ) free online.
    u might wonna check it.

    http://www.glprogrammi ng.com/red/

    maher.
    See more | Go to post

    Leave a comment:


  • maher5
    started a topic char and int input
    in C

    char and int input

    hi

    i wrote a program to convert int to binarys, it works just fine until the input is a char. how can i make it know the input is a char and not an int and therfore display and error msg?


    it might be an easy q? but im only new to programming.

    thanks a lot.
    See more | Go to post
No activity results to display
Show More
Working...