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);...
User Profile
Collapse
-
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;
... -
all i want is to be able to print an error msg whenever a char is entered and not crash.. thanks again -
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",...Leave a comment:
-
-
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.Leave a comment:
-
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.
No activity results to display
Show More
Leave a comment: