Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Sweet Flame

@Sweet Flame
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Writing Data to Files
    S Sweet Flame

    yes, i can

    C / C++ / MFC

  • Writing Data to Files
    S Sweet Flame

    yes, my "day" is an int

    C / C++ / MFC

  • Writing Data to Files
    S Sweet Flame

    yes, hours is an ofstream.

    C / C++ / MFC

  • Writing Data to Files
    S Sweet Flame

    I changed it so that it reads: hours<

    C / C++ / MFC

  • Writing Data to Files
    S Sweet Flame

    I am trying to write data to a file so that I can open it later. I am trying to save the values of variable to the file. After the file has been opened, I input: "hours << day << endl;" "hours" is the outfile and "day" is a variable that I am trying to write into it. If I remove the "<

    C / C++ / MFC

  • Header File
    S Sweet Flame

    I am attempting to get my program to run another program. I looked on the FAQ and it said that one of the best ways to do this was using the WinExec command. I am trying to use this like so: WinExec ("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE", SW_SHOWNORMAL); I believe this is the correct format, but my compiler says that WinExec is an undeclared indentifier. I'm assuming this means that I need the correct header file. If this is the case, where can I get this header file from?

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups