Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

lgbasallote

  • 2 years ago

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

  • This Question is Open
  1. lgbasallote
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  2. AravindG
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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; }

  3. AravindG
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

  4. AravindG
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  5. AravindG
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @lgbasallote

  6. lgbasallote
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  7. AravindG
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  8. lgbasallote
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    that's c++

  9. lgbasallote
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  10. lgbasallote
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  11. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.