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
  1. #1
    Join Date
    Jun 2010
    Location
    palermo
    Posts
    17

    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,635

    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
    17

    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,635

    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
    17

    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,635

    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,150

    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.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  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
    17

    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
    17

    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,620

    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,635

    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
    17

    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,620

    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
  •  





Click Here to Expand Forum to Full Width

Featured