Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (lgbasallote):

A few questions regarding C programming 1) Is it possible to change individual colours in C without using the header file or system("color"); If yes, how? 2) Is it possible to insert and display an image using C programming? If yes, how?

OpenStudy (lgbasallote):

if i recall right... @AravindG is a good C programmer... maybe he can help me

OpenStudy (aravindg):

1.well i give coloured text using codes like the foll: #include <conio.h> int main () { textcolor (WHITE); cprintf ("\n-- WHITE COLOR!"); textcolor (YELLOW); cprintf ("\n-- YELLOW COLOR!"); return 0; }

OpenStudy (aravindg):

2.Turbo C is about 15 years old, and doesn't know about Windows - BMP is the native Windows bitmap format. JPEG was standardized in 1992, and I very much doubt that Turbo C has any support for it. There are libraries that support either or both of these formats, but I find it unlikely that any of those libraries have compiler support for Turbo C. Use a more modern compiler, and write the code for Windows, and you'll have a relatively easy task.

OpenStudy (aravindg):

in btw who told u i am a good C programmer lols :P

OpenStudy (aravindg):

@lgbasallote

OpenStudy (lgbasallote):

i forgot to add.... modern codes... the codes you posted were old codes of conio, wasn't it?

OpenStudy (aravindg):

think so try include<iostrea.h> and then use cout ...anyways you gt my point didnt you ?

OpenStudy (lgbasallote):

that's c++

OpenStudy (lgbasallote):

also... iostream doesn;t have ".h" it's just #include <iostream> and what point? i don't see any point...?

OpenStudy (lgbasallote):

@Callisto @hartnn @ParthKohli said you two are good in CS

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!