insert jpeg in .cpp
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: insert jpeg in .cpp

  1. #1
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    insert jpeg in .cpp

    hi i'm very good with hmtl now i want develop with C++ i need to insert jpeg into .cpp and insert movie flash in file .h i don't find nothing in the web i hope someone can help me.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,206

    Re: insert jpeg in .cpp

    Your question makes no sense. .cpp and .h are source code files. You don't insert images into them.

  3. #3
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    Re: insert jpeg in .cpp

    what can i write after #define or printf?i can make C++ code like html?

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,206

    Re: insert jpeg in .cpp

    Quote Originally Posted by albertodiprima View Post
    what can i write after #define or printf?i can make C++ code like html?
    C++ and HTML work very differently. HTML is just a series of instructions interpreted by web browsers. C++ is a language that needs to be compiled. Very different concepts.

  5. #5
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    Re: insert jpeg in .cpp

    but between #define and #endif what can i write?

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,206

    Re: insert jpeg in .cpp

    Quote Originally Posted by albertodiprima View Post
    but between #define and #endif what can i write?
    Again, you're not making sense. I don't think you understand what C++ is or how it works.

  7. #7
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,062

    Re: insert jpeg in .cpp

    Quote Originally Posted by albertodiprima View Post
    but between #define and #endif what can i write?
    You can write any C++ programming code that you want, but, you first need to grab a good introductory book on C++ and start learning the C++ language.

  8. #8
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: insert jpeg in .cpp

    I'd expect you to read a bit about a new language you want to start developing with. Then you'd understand the absurdity of your request. I suggest you a good C++ book: http://forums.codeguru.com/showthrea...-books-about-C.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  9. #9
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    Re: insert jpeg in .cpp

    Quote Originally Posted by cilu View Post
    I'd expect you to read a bit about a new language you want to start developing with. Then you'd understand the absurdity of your request. I suggest you a good C++ book: http://forums.codeguru.com/showthrea...-books-about-C.
    it's not absurdity i know that now at the moment i have only error with my project i need to study more

  10. #10
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    Re: insert jpeg in .cpp

    now i work with the word FLOAT and DENIED(censured) it's fantastic work with CLASS view and main.c
    my project is insert a jpeg into a tree header file or better a movie flash file there is to work.......
    Last edited by albertodiprima; December 11th, 2012 at 04:53 AM.

  11. #11
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,051

    Re: insert jpeg in .cpp

    Quote Originally Posted by albertodiprima View Post
    now i work with the word FLOAT and DENIED(censured) it's fantastic work with CLASS view and main.c
    my project is insert a jpeg into a tree header file or better a movie flash file there is to work.......
    I wonder... Is this all about publishing that link in the signature? As your messages are total gibberish.
    Best regards,
    Igor

  12. #12
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,206

    Re: insert jpeg in .cpp

    Quote Originally Posted by Igor Vartanov View Post
    I wonder... Is this all about publishing that link in the signature? As your messages are total gibberish.
    The link goes to some text written in Italian which also appears to be total gibberish. Weird.

  13. #13
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    14

    Re: insert jpeg in .cpp

    i work with c++ the link is with frontpage it's one year i work on my web site

    ....ok i take off my signature i don't write for my web site i want build my first code with C now there are some project i want develop
    Last edited by albertodiprima; December 13th, 2012 at 10:29 AM.

  14. #14
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,051

    Re: insert jpeg in .cpp

    Okay, you want something. So what is your problem? We can't help you with wanting, as we help here with problems.
    Best regards,
    Igor

  15. #15
    Join Date
    Dec 2012
    Posts
    1

    Re: insert jpeg in .cpp

    You are confusing C++ with HTML, C++ has NOTHING to do with HTML, its WAY different.

    .cpp can ONLY store source code, no image, or any other kind of data, you can only use .cpp to write codes.
    .h is the header file, you can write the methods prototypes in .h file, you can never insert flash file into .h file

    What you can do is that you use a resource file, I highly recommend you to find a C++ beginner book and start learning, while learning C++, forget about mixing HTML it won't help you with anything.

    If you have knowledge about a scripting or programming language like Javascript, C#, PHP, etc..., that can help you to learn C++, but HTML won't.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center