Dear All,
I am new to C programming..i am working for one Software Firm..my problem can be devided as follows
[code]
1. I have one folder in any drive it contains both Source files(.C) and Header
files(.H) i should get copy of this folder into my current working directory
2. I should separate both .C and .H files
3. In .C files there are preprocessor directives like #include "CAN.h" i have to convert this into lower case like #include "can.h"
[\code]
Can any body help to solve this?? Thanks in advance
How to create Link to Directory
Started by shidlingayya, Apr 20 2008 09:31 PM
6 replies to this topic
#1
Posted 20 April 2008 - 09:31 PM
|
|
|
#2
Posted 21 April 2008 - 07:35 AM
1&2) Using the system command, you can copy your files using standard OS commands.
3) You will have to open each .C file and parse each line. Do you know how to open/write files?
3) You will have to open each .C file and parse each line. Do you know how to open/write files?
#4
Posted 23 April 2008 - 03:57 AM
WingedPanther said:
1&2) Using the system command, you can copy your files using standard OS commands.
3) You will have to open each .C file and parse each line. Do you know how to open/write files?
3) You will have to open each .C file and parse each line. Do you know how to open/write files?
Hello Panther,
I got it only for single file..but my task is:-
1. I have one folder already it contains .C and .H files..i have to identify only
.C files
2. There are uppercase preprocessor directives are there like
#include "CAN.C" ---convert--->#include "can.c"
#5
Posted 23 April 2008 - 07:28 AM
At this point, it will depend on what your operating system is.
#6
Posted 24 April 2008 - 12:21 AM
WingedPanther said:
At this point, it will depend on what your operating system is.
i am using window 2000
#7
Posted 24 April 2008 - 07:36 AM
You can search on MSDN for the Windows API


Sign In
Create Account

Back to top









