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
C

Camron

@Camron
About
Posts
14
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • parsing a string
    C Camron

    I'm brand new to C# and I'm trying to figure out how to parse a string. Is there a function available much like the explode() function in PHP which breaks up the string on a certain character and places the different parts into an array?

    C# csharp php data-structures json tutorial

  • Running a batch file
    C Camron

    So what you're saying is write a batch file that will take in the date and then call the original batch file to run? That makes sense but why can the original batch file be called from the prog? Also this is something I am wanting to be automated and run every day. So I can't just have a static date.

    C / C++ / MFC question

  • Running a batch file
    C Camron

    I'm trying to write a program that will initiate a batch file. For some reason the program keeps crashing. I'm not too familiar with the createprocess function so I figure I'm doing something wrong with that. To run the program in a DOS prompt I must be in the path U://telmage/ To run the process I type telmage 09 19 05 or the previous days date. Does anyone have any idea what I might be doing wrong? [CODE] void main() { char path_buffer[_MAX_PATH]; char GTime[80]; time_t now; UINT value; now = time(NULL); time_t yesterday = now - 86400; strftime(GTime,sizeof GTime,"telmage %m %d %y",localtime(&yesterday)); _makepath( path_buffer, "U", "\\telmage", GTime, "" ); cout<

    C / C++ / MFC question

  • converting ebcdic to ascii
    C Camron

    I need a program to convert my text from ebcdic to ascii. Is there any tutorial or code out there that will help me do this?

    C / C++ / MFC help tutorial question

  • iSeries AS400 APIs
    C Camron

    An API on the PC that can communicate with the AS/400.

    C / C++ / MFC question

  • iSeries AS400 APIs
    C Camron

    Does anyone know of any iSeries AS400 APIs?

    C / C++ / MFC question

  • getting yesterday's date
    C Camron

    Ok i'm using this code to return a date, but the problem is I need the date of the day before this. How could I subtract a day from the date? And what if it's the first of the month, the day before that would be the previous month? Any suggestions? char GTime[80]; time_t now; now = time(NULL); strftime(GTime,sizeof GTime,"%m %d %y\n",localtime(&now)); cout<

    C / C++ / MFC help question

  • making a path to a file
    C Camron

    I'm trying to make a path to a batch file and then processing the batch file. Does anyone know how I should do this?

    C / C++ / MFC question

  • Returning a date
    C Camron

    I'm very rusty, but I can't find any function on MSDN about returning a date. Can anyone help me?

    C / C++ / MFC help question

  • Using readfile()
    C Camron

    Does anyone have any examples on how to use the readfile() function. This is my first time to use it and I'm taking the instructions straight from MSDN and it's not working. Here is what I have. HANDLE fptr; bool bResult; LPVOID inBuffer; DWORD nBytesToRead = 20; LPDWORD nBytesRead = 0; bResult = ReadFile(fptr, &inBuffer, nBytesToRead, nBytesRead, NULL); I don't think I fully understand how the function works.

    C / C++ / MFC tutorial

  • Trouble opening large file
    C Camron

    Thanks so much for your help...CreateFile worked..

    C / C++ / MFC question

  • Trouble opening large file
    C Camron

    Oops..nevermind I was in the WindowsCE part of MSDN..

    C / C++ / MFC question

  • Trouble opening large file
    C Camron

    To use CreateFile() I must have the Coredll.lib. Where do I find this lib?

    C / C++ / MFC question

  • Trouble opening large file
    C Camron

    I'm having trouble opening a 3 GB file. I've never had to open a file so large before and I'm nost sure what to do. I've tried fopen and open functions but the program fails to open the file. Any suggestions?

    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